Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.987/0.987, allocations: 177.1 MB / 203.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8007/0.8007, allocations: 154.6 MB / 414.9 MB, free: 0.6562 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.932e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002089/0.002109, allocations: 1.592 MB / 0.5218 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.002909, allocations: 0.6213 MB / 0.5225 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.00298, allocations: 4.969 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.003085, allocations: 11.86 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.003128, allocations: 12.78 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.003517, allocations: 108.2 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.003655, allocations: 104.6 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.003748, allocations: 12.22 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.003903, allocations: 69.55 kB / 0.5228 GB, free: 28 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.003977, allocations: 35.98 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.003996, allocations: 8 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.004101, allocations: 95.75 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.004148, allocations: 27.84 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.00419, allocations: 28.41 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.004377, allocations: 144.6 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004379, allocations: 0 / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.00438, allocations: 0 / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.004384, allocations: 1.219 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005509/0.004935, allocations: 477.8 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.004968, allocations: 8.656 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.005148, allocations: 38.33 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.005313, allocations: 145.6 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.005327, allocations: 4.375 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.00534, allocations: 5.188 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.005503, allocations: 87.98 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005511, allocations: 4.125 kB / 0.5238 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.005522, allocations: 4.375 kB / 0.5238 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.005546, allocations: 8.969 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.005599, allocations: 19.91 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.006001, allocations: 328.6 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.006096, allocations: 47.05 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.006131, allocations: 20.22 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.006145, allocations: 4.656 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.006261, allocations: 77.08 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.006262, allocations: 0.75 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.00022/0.006482, allocations: 97.5 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.006517, allocations: 56.3 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.006614, allocations: 195.4 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.006628, allocations: 28.55 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.006692, allocations: 154.8 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.006715, allocations: 35.8 kB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.006755, allocations: 27.38 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006864, allocations: 0.4922 MB / 0.5254 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.006916, allocations: 45.69 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.006953, allocations: 44.97 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.007028, allocations: 69.31 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00703, allocations: 1.156 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001412/0.007171, allocations: 149.1 kB / 0.5257 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.007199, allocations: 33.7 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.007205, allocations: 1.438 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.007218, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.007298, allocations: 19.92 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.007304, allocations: 4.594 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.007358, allocations: 21.09 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.007368, allocations: 0 / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.007442, allocations: 160.5 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.007459, allocations: 22.69 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.007483, allocations: 8.781 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.007493, allocations: 4 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007497, allocations: 0 / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.0075, allocations: 0 / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.007606, allocations: 152.5 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007608, allocations: 4 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.007642, allocations: 14.48 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007645, allocations: 0 / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.007654, allocations: 4 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007655, allocations: 0 / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007656, allocations: 0 / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007781, allocations: 124.2 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.007792, allocations: 7.891 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.007811, allocations: 4.594 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.007851, allocations: 13.05 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.007906, allocations: 11.97 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.007916, allocations: 4 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.007984, allocations: 149.1 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007984, allocations: 4.688 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001632/0.008147, allocations: 36 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.00829, allocations: 123.2 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.008465, allocations: 136.8 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008467, allocations: 0 / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.008517, allocations: 35.61 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.008679, allocations: 19.92 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.009216, allocations: 213.7 kB / 0.5269 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.009253, allocations: 63.34 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.744e-05/0.009301, allocations: 16.55 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.009341, allocations: 16.5 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.009341, allocations: 2.469 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.003345/0.01269, allocations: 1.492 MB / 0.5285 GB, free: 9.871 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9677550229243934]