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 2.218/2.218, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001701/0.001701, allocations: 178.7 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009509/0.0009508, allocations: 91.55 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 10.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8376/1.101, allocations: 139.6 MB / 1.116 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.101, allocations: 72.62 kB / 1.116 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01344/1.115, allocations: 3.495 MB / 1.119 GB, free: 31.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.996e-06/1.115, allocations: 0 / 1.119 GB, free: 31.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.873e-05/1.115, allocations: 3.969 kB / 1.119 GB, free: 31.84 MB / 0.698 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.0009681/1.116, allocations: 458.4 kB / 1.12 GB, free: 31.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.116, allocations: 11.73 kB / 1.12 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/1.116, allocations: 11.62 kB / 1.12 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/1.116, allocations: 194.5 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.116, allocations: 3.844 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/1.116, allocations: 11.03 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/1.116, allocations: 113.8 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.116, allocations: 7.781 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.116, allocations: 3.25 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.116, allocations: 0 / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/1.117, allocations: 104.2 kB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/1.118, allocations: 374.9 kB / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/1.118, allocations: 108.1 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/1.118, allocations: 7.109 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/1.118, allocations: 124.1 kB / 1.121 GB, free: 30.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/1.118, allocations: 0 / 1.121 GB, free: 30.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0007154/1.119, allocations: 313.1 kB / 1.121 GB, free: 30.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/1.119, allocations: 55.28 kB / 1.121 GB, free: 30.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.119, allocations: 125.9 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/1.119, allocations: 36.92 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/1.119, allocations: 100.4 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/1.119, allocations: 26.38 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/1.119, allocations: 0 / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.119, allocations: 326.6 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/1.12, allocations: 63.67 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/1.12, allocations: 62.97 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/1.12, allocations: 100.4 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.12, allocations: 0 / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004441/1.12, allocations: 213.4 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/1.121, allocations: 33.48 kB / 1.122 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.121, allocations: 3.953 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.121, allocations: 0 / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/1.121, allocations: 30.25 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.121, allocations: 0 / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/1.121, allocations: 26.41 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/1.121, allocations: 6.766 kB / 1.122 GB, free: 29.88 MB / 0.698 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 0.0001143/1.121, allocations: 120.8 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/1.121, allocations: 10.22 kB / 1.122 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/1.122, allocations: 190.1 kB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.122, allocations: 3.953 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.122, allocations: 3.812 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.122, allocations: 2.531 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.122, allocations: 204.3 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.122, allocations: 3.938 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/1.122, allocations: 24.5 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.122, allocations: 3.875 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.122, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.122, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.122, allocations: 7 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/1.122, allocations: 207 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/1.122, allocations: 85.02 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.122, allocations: 9.906 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.123, allocations: 14.3 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/1.123, allocations: 18.89 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.123, allocations: 3.875 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.342e-05/1.123, allocations: 105.8 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.123, allocations: 0 / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002848/1.123, allocations: 41.23 kB / 1.123 GB, free: 29.24 MB / 0.698 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.0002061/1.123, allocations: 125.3 kB / 1.123 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004744/1.124, allocations: 234.6 kB / 1.124 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.124, allocations: 0 / 1.124 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/1.124, allocations: 106.9 kB / 1.124 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/1.124, allocations: 18.28 kB / 1.124 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/1.125, allocations: 249.6 kB / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/1.125, allocations: 0.7084 MB / 1.125 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.835e-05/1.125, allocations: 9.422 kB / 1.125 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/1.125, allocations: 11.25 kB / 1.125 GB, free: 28.13 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/1.125, allocations: 0 / 1.125 GB, free: 28.13 MB / 0.698 GB Notification: Performance of Templates: time 0.003792/1.129, allocations: 1.283 MB / 1.126 GB, free: 28.04 MB / 0.698 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)