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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 171.9 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4704/0.4704, allocations: 86.26 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 348.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 94.42 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005201, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3678, allocations: 71.01 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4936, allocations: 101.7 MB / 0.6588 GB, free: 7.766 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4939, allocations: 79.94 kB / 0.6589 GB, free: 7.688 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00988/0.5038, allocations: 3.547 MB / 0.6623 GB, free: 4.129 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5039, allocations: 4 kB / 0.6623 GB, free: 4.125 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.5039, allocations: 0 / 0.6623 GB, free: 4.125 MB / 474.7 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.0006419/0.5046, allocations: 456.7 kB / 0.6628 GB, free: 3.621 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5046, allocations: 8.031 kB / 0.6628 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.5047, allocations: 12.84 kB / 0.6628 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.5049, allocations: 200 kB / 0.663 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5049, allocations: 4.375 kB / 0.663 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5049, allocations: 12.36 kB / 0.663 GB, free: 3.352 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.5052, allocations: 110.2 kB / 0.6631 GB, free: 3.238 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5052, allocations: 192 / 0.6631 GB, free: 3.238 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.5053, allocations: 7.938 kB / 0.6631 GB, free: 3.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5053, allocations: 4 kB / 0.6631 GB, free: 3.227 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.5056, allocations: 111.8 kB / 0.6632 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.5062, allocations: 360.7 kB / 0.6636 GB, free: 2.715 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.5065, allocations: 102.5 kB / 0.6637 GB, free: 2.605 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.5067, allocations: 68.88 kB / 0.6637 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.5067, allocations: 4.062 kB / 0.6637 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.507, allocations: 131.2 kB / 0.6639 GB, free: 2.391 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 2.926e-06/0.507, allocations: 112 / 0.6639 GB, free: 2.391 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006327/0.5076, allocations: 233.3 kB / 0.6641 GB, free: 2.156 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.5077, allocations: 59.41 kB / 0.6641 GB, free: 2.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.5078, allocations: 139.8 kB / 0.6643 GB, free: 1.941 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.5078, allocations: 29.7 kB / 0.6643 GB, free: 1.906 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.5079, allocations: 100 kB / 0.6644 GB, free: 1.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.5079, allocations: 27.64 kB / 0.6644 GB, free: 1.777 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.508, allocations: 4.281 kB / 0.6644 GB, free: 1.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5081, allocations: 322.8 kB / 0.6647 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.5083, allocations: 71.94 kB / 0.6648 GB, free: 1.379 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.5085, allocations: 63.89 kB / 0.6649 GB, free: 1.316 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.5088, allocations: 162.4 kB / 0.665 GB, free: 1.148 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5088, allocations: 0 / 0.665 GB, free: 1.148 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004521/0.5093, allocations: 211.2 kB / 0.6652 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.5093, allocations: 37.69 kB / 0.6653 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5094, allocations: 3.938 kB / 0.6653 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5094, allocations: 0 / 0.6653 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.5095, allocations: 27.98 kB / 0.6653 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5095, allocations: 4 kB / 0.6653 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.5097, allocations: 27.88 kB / 0.6653 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5097, allocations: 4 kB / 0.6653 GB, free: 0.8203 MB / 474.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.469e-05/0.5098, allocations: 125.7 kB / 0.6654 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.5098, allocations: 11.91 kB / 0.6655 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5103, allocations: 194.2 kB / 0.6656 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5103, allocations: 0 / 0.6656 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5103, allocations: 0 / 0.6656 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5103, allocations: 0 / 0.6656 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.5105, allocations: 213.5 kB / 0.6658 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5105, allocations: 0 / 0.6658 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5106, allocations: 19.98 kB / 0.6659 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5107, allocations: 0 / 0.6659 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5107, allocations: 0 / 0.6659 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5107, allocations: 7.984 kB / 0.6659 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5107, allocations: 4 kB / 0.6659 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.5111, allocations: 196.8 kB / 0.6661 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.5112, allocations: 93.09 kB / 0.6661 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.5112, allocations: 0 / 0.6661 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5113, allocations: 19.92 kB / 0.6662 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.5114, allocations: 19.97 kB / 0.6662 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5114, allocations: 4 kB / 0.6662 GB, free: 15.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.302e-05/0.5115, allocations: 109.7 kB / 0.6663 GB, free: 15.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5115, allocations: 0 / 0.6663 GB, free: 15.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.5118, allocations: 43.94 kB / 0.6663 GB, free: 15.68 MB / 490.7 MB 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: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.512, allocations: 119.2 kB / 0.6664 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.5124, allocations: 232.9 kB / 0.6667 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5125, allocations: 4 kB / 0.6667 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.5127, allocations: 101.7 kB / 0.6668 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.5129, allocations: 11.98 kB / 0.6668 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.5134, allocations: 247.7 kB / 0.667 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.5137, allocations: 0.7043 MB / 0.6677 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.5138, allocations: 11.97 kB / 0.6677 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.5138, allocations: 15.44 kB / 0.6677 GB, free: 14.15 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5138, allocations: 0 / 0.6677 GB, free: 14.15 MB / 490.7 MB Notification: Performance of Templates: time 0.003572/0.5174, allocations: 1.282 MB / 0.669 GB, free: 12.88 MB / 490.7 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)