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.002348/0.002348, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003011/0.003011, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.71/1.71, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.6 MB / 414.1 MB, free: 0.5469 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 178] 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.873e-06/1.873e-06, allocations: 0.6562 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.725e-05, allocations: 4.844 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003536/0.003573, allocations: 1.568 MB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004936, allocations: 0.6122 MB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.005014, allocations: 5.062 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.005144, allocations: 7.875 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.005216, allocations: 28.34 kB / 0.5217 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.005714, allocations: 104.2 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.005911, allocations: 104.5 kB / 0.5219 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.006023, allocations: 16.2 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.006246, allocations: 64.78 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.006354, allocations: 39.89 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.006385, allocations: 5.75 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.006594, allocations: 91.91 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.006659, allocations: 23.91 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.006719, allocations: 23.92 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.007042, allocations: 175.4 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.007049, allocations: 8.484 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00705, allocations: 1.031 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.007056, allocations: 0 / 0.5224 GB, free: 15.71 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.0009127/0.007969, allocations: 474.4 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.008012, allocations: 12.03 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.008304, allocations: 34.64 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.008555, allocations: 149.3 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.008568, allocations: 4.312 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.008586, allocations: 5.094 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.008861, allocations: 83.8 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.008872, allocations: 192 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.008884, allocations: 384 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.008916, allocations: 7.938 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.00915, allocations: 57.52 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.00984, allocations: 335.6 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.0101, allocations: 71.77 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01024, allocations: 44.83 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01026, allocations: 0 / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.01053, allocations: 102.1 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.01053, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005768/0.01111, allocations: 155.9 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.01116, allocations: 51.41 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.01138, allocations: 215.2 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.0114, allocations: 25.7 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01153, allocations: 158.6 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.01157, allocations: 33.41 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.01165, allocations: 35.36 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003115/0.01196, allocations: 0.5 MB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.01213, allocations: 65.67 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.01228, allocations: 62.56 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.01255, allocations: 109.1 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01255, allocations: 0 / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004382/0.01299, allocations: 204.3 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.01303, allocations: 37.69 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01304, allocations: 4 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01306, allocations: 0 / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.0132, allocations: 15.98 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.0132, allocations: 0 / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01331, allocations: 15.94 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01333, allocations: 7.031 kB / 0.5253 GB, free: 12.46 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 0.0001456/0.01348, allocations: 168.5 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01351, allocations: 11.95 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.01356, allocations: 16.77 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.01357, allocations: 4 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.01358, allocations: 0 / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01359, allocations: 0 / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.01378, allocations: 154 kB / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01378, allocations: 0 / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.01387, allocations: 15.98 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01387, allocations: 0 / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01389, allocations: 4.484 kB / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01389, allocations: 0.8125 kB / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01389, allocations: 0 / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.01429, allocations: 171.4 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01431, allocations: 11.89 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.01434, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01444, allocations: 15.98 kB / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.0145, allocations: 7.984 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.01453, allocations: 7.984 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001223/0.01465, allocations: 153.6 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01465, allocations: 2.438 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002462/0.01489, allocations: 32 kB / 0.5261 GB, free: 11.63 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.0002368/0.01513, allocations: 123.2 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.01559, allocations: 185.9 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01559, allocations: 0 / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.01576, allocations: 55.59 kB / 0.5264 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01598, allocations: 21.73 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.0166, allocations: 210.7 kB / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.0167, allocations: 87.88 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.973e-05/0.01677, allocations: 7.984 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.01683, allocations: 26.39 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.01683, allocations: 0 / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.005638/0.02247, allocations: 1.489 MB / 0.5282 GB, free: 9.438 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: 6.6140636099735275]