Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 113.6 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 193.5 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6754/0.6754, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.06 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.164, allocations: 76.18 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002471/0.1665, allocations: 1.536 MB / 0.6342 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.1675, allocations: 0.5688 MB / 0.6348 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.1675, allocations: 11.94 kB / 0.6348 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1677, allocations: 7.922 kB / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.1677, allocations: 15.75 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1681, allocations: 91.77 kB / 0.6349 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1682, allocations: 95.69 kB / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1683, allocations: 20.22 kB / 0.635 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1685, allocations: 51.78 kB / 0.635 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.1686, allocations: 43.83 kB / 0.6351 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1686, allocations: 11.94 kB / 0.6351 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1687, allocations: 87.89 kB / 0.6352 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1688, allocations: 19.92 kB / 0.6352 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.1689, allocations: 47.73 kB / 0.6352 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1691, allocations: 147.5 kB / 0.6354 GB, free: 1.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1691, allocations: 0 / 0.6354 GB, free: 1.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1691, allocations: 0 / 0.6354 GB, free: 1.688 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1691, allocations: 0 / 0.6354 GB, free: 1.688 MB / 478.1 MB 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.0007855/0.1699, allocations: 452.7 kB / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1699, allocations: 8.031 kB / 0.6358 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.17, allocations: 12.84 kB / 0.6358 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1702, allocations: 194.3 kB / 0.636 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1702, allocations: 4.312 kB / 0.636 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1702, allocations: 4.375 kB / 0.636 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.1705, allocations: 113.9 kB / 0.6361 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1705, allocations: 0 / 0.6361 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1705, allocations: 0 / 0.6361 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1706, allocations: 4 kB / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1709, allocations: 87.92 kB / 0.6362 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.1715, allocations: 352.6 kB / 0.6366 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.1718, allocations: 94.5 kB / 0.6367 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.172, allocations: 56.89 kB / 0.6367 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.172, allocations: 0 / 0.6367 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.1723, allocations: 119.4 kB / 0.6368 GB, free: 48 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1723, allocations: 3.938 kB / 0.6368 GB, free: 44 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006281/0.173, allocations: 201.5 kB / 0.637 GB, free: 15.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.173, allocations: 59.34 kB / 0.6371 GB, free: 15.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1731, allocations: 134.1 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1732, allocations: 25.7 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.1732, allocations: 112 kB / 0.6373 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1733, allocations: 35.61 kB / 0.6374 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1733, allocations: 25.7 kB / 0.6374 GB, free: 15.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1734, allocations: 322.8 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1736, allocations: 59.94 kB / 0.6378 GB, free: 15.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1738, allocations: 55.95 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1741, allocations: 142.5 kB / 0.6379 GB, free: 14.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1742, allocations: 3.984 kB / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000426/0.1746, allocations: 191.2 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.1746, allocations: 37.69 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1746, allocations: 4 kB / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1747, allocations: 7.938 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1748, allocations: 15.98 kB / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1748, allocations: 0 / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.175, allocations: 19.91 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.175, allocations: 4 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB 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 9.478e-05/0.1751, allocations: 125.8 kB / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1751, allocations: 11.81 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.1752, allocations: 16.7 kB / 0.6384 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1752, allocations: 3.938 kB / 0.6384 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1752, allocations: 4 kB / 0.6384 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.1752, allocations: 85.02 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1753, allocations: 7.938 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1754, allocations: 15.97 kB / 0.6385 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.1755, allocations: 11.98 kB / 0.6385 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005035/0.176, allocations: 240.8 kB / 0.6387 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004461/0.1764, allocations: 326.8 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001755/0.1766, allocations: 63.95 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.641e-05/0.1767, allocations: 122.2 kB / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of Backend: time 2.6e-07/0.1767, allocations: 0 / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.1773, allocations: 233.3 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006108/0.178, allocations: 0.6373 MB / 0.6401 GB, free: 12.54 MB / 494.1 MB Notification: Performance of Templates: time 0.004307/0.1823, allocations: 1.713 MB / 0.6417 GB, free: 10.84 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)