Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.544/1.544, allocations: 285.4 MB / 298 MB, free: 6.008 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.001033/0.001033, allocations: 180.9 kB / 366.4 MB, free: 2.098 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.559/1.559, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008801/0.0008801, allocations: 88.56 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.802e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7718, allocations: 115.3 MB / 0.9709 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.9727, allocations: 139.6 MB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.973, allocations: 82.33 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.9836, allocations: 3.483 MB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9836, allocations: 0 / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.9837, allocations: 2.531 kB / 1.111 GB, free: 8.742 MB / 0.7136 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.0006912/0.9844, allocations: 439.9 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.9844, allocations: 12.03 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.9845, allocations: 7.906 kB / 1.111 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.9847, allocations: 200.3 kB / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.9848, allocations: 0 / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.9848, allocations: 8 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.985, allocations: 79.67 kB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.985, allocations: 0 / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.9851, allocations: 6.188 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.9851, allocations: 4 kB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.9852, allocations: 39.98 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.986, allocations: 376.6 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.9861, allocations: 62.55 kB / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.9862, allocations: 36.91 kB / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.9863, allocations: 0 / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.9864, allocations: 88.12 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.9864, allocations: 0 / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002806/0.9867, allocations: 113.5 kB / 1.112 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.9868, allocations: 53.66 kB / 1.112 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.9869, allocations: 134.4 kB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.9869, allocations: 25.7 kB / 1.112 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.987, allocations: 100.1 kB / 1.112 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.987, allocations: 23.62 kB / 1.112 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.9871, allocations: 4 kB / 1.112 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9872, allocations: 322.8 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.9873, allocations: 40.03 kB / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.9873, allocations: 31.94 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.703e-05/0.9874, allocations: 65.67 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.9874, allocations: 4 kB / 1.113 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002481/0.9877, allocations: 147.3 kB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.9877, allocations: 33.66 kB / 1.113 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.9878, allocations: 4 kB / 1.113 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9878, allocations: 3.984 kB / 1.113 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.988, allocations: 19.98 kB / 1.113 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.988, allocations: 3.938 kB / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.9881, allocations: 27.92 kB / 1.113 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.9882, allocations: 11.98 kB / 1.113 GB, free: 6.035 MB / 0.7136 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 () * 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 7.837e-05/0.9883, allocations: 104.6 kB / 1.113 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.9883, allocations: 11.81 kB / 1.113 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.9886, allocations: 126.2 kB / 1.113 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.9886, allocations: 7.938 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9886, allocations: 0 / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.9886, allocations: 4 kB / 1.113 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.9888, allocations: 197.6 kB / 1.113 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9888, allocations: 3.938 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.9889, allocations: 27.97 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.9889, allocations: 1.875 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.9889, allocations: 0 / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.989, allocations: 7.953 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.989, allocations: 0 / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.9892, allocations: 136.9 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.9893, allocations: 85.02 kB / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.9893, allocations: 0 / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.9894, allocations: 15.98 kB / 1.114 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.9895, allocations: 27.91 kB / 1.114 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.9895, allocations: 0 / 1.114 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.68e-05/0.9896, allocations: 113.5 kB / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9896, allocations: 0 / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000264/0.9899, allocations: 43.94 kB / 1.114 GB, free: 5.047 MB / 0.7136 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) * 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.0002081/0.9901, allocations: 126.7 kB / 1.114 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.9904, allocations: 169 kB / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9904, allocations: 0 / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.9905, allocations: 69.69 kB / 1.114 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.9907, allocations: 15.94 kB / 1.114 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.9911, allocations: 139.7 kB / 1.114 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.9913, allocations: 0.7004 MB / 1.115 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.426e-05/0.9914, allocations: 11.98 kB / 1.115 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.9915, allocations: 11.44 kB / 1.115 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.9915, allocations: 0 / 1.115 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.003752/0.9952, allocations: 1.308 MB / 1.116 GB, free: 2.477 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)