Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 293 MB / 309 MB, free: 4.801 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.00124, allocations: 173.7 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 0.6383 GB, free: 9.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007768/0.0007767, allocations: 87.95 kB / 0.7527 GB, free: 62.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12 kB / 0.8768 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 116.4 MB / 0.9904 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6533/0.9348, allocations: 140.7 MB / 1.128 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9351, allocations: 71.95 kB / 1.128 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009383/0.9445, allocations: 3.515 MB / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9446, allocations: 0 / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.9446, allocations: 8 kB / 1.131 GB, free: 31.05 MB / 0.7292 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.0006325/0.9452, allocations: 455.7 kB / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9453, allocations: 8.031 kB / 1.132 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.9453, allocations: 13.91 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.9455, allocations: 202.5 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.9456, allocations: 384 / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.9456, allocations: 8.312 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.9459, allocations: 114 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9459, allocations: 192 / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.946, allocations: 8.438 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.946, allocations: 0 / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.9463, allocations: 108.4 kB / 1.132 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.9469, allocations: 375.2 kB / 1.133 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.9472, allocations: 105 kB / 1.133 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.9473, allocations: 63.83 kB / 1.133 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.9474, allocations: 8 kB / 1.133 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.9476, allocations: 124.6 kB / 1.133 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.554e-06/0.9477, allocations: 1.641 kB / 1.133 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0006139/0.9483, allocations: 237.2 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.9483, allocations: 54.78 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.9484, allocations: 136.6 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.9485, allocations: 34.64 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.9485, allocations: 95.61 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.9486, allocations: 31.17 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.9486, allocations: 0 / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.9487, allocations: 327.9 kB / 1.134 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.9489, allocations: 60.84 kB / 1.134 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.9491, allocations: 70.86 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.9494, allocations: 167.3 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9494, allocations: 0.8438 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000446/0.9499, allocations: 214.7 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.9499, allocations: 36.98 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.9499, allocations: 4.547 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.95, allocations: 0 / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.9501, allocations: 23.27 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9501, allocations: 0 / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.9503, allocations: 27.23 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.9503, allocations: 1.031 kB / 1.134 GB, free: 28.07 MB / 0.7292 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 ($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 8.807e-05/0.9504, allocations: 137 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.9504, allocations: 7.906 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.9509, allocations: 180.3 kB / 1.135 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9509, allocations: 9.781 kB / 1.135 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9509, allocations: 0 / 1.135 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.9509, allocations: 0 / 1.135 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.951, allocations: 209.6 kB / 1.135 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.9511, allocations: 4 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.9512, allocations: 22.52 kB / 1.135 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9512, allocations: 0 / 1.135 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.9512, allocations: 8.938 kB / 1.135 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9512, allocations: 0.5625 kB / 1.135 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9512, allocations: 4.484 kB / 1.135 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.9516, allocations: 204.5 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.9517, allocations: 85.02 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.9517, allocations: 9.172 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.9518, allocations: 19.11 kB / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.9519, allocations: 14.66 kB / 1.135 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.9519, allocations: 4 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.952, allocations: 108.8 kB / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.952, allocations: 0 / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00029/0.9523, allocations: 39.91 kB / 1.135 GB, free: 27.05 MB / 0.7292 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: 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.0001777/0.9525, allocations: 131 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.9529, allocations: 231.6 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.953, allocations: 3.938 kB / 1.136 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.9532, allocations: 98.64 kB / 1.136 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.9534, allocations: 16.64 kB / 1.136 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.954, allocations: 250.9 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.9542, allocations: 0.7014 MB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.184e-05/0.9543, allocations: 11.7 kB / 1.137 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.9544, allocations: 11.44 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9544, allocations: 0 / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.004954/0.9593, allocations: 1.276 MB / 1.138 GB, free: 24.93 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)