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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.864/1.864, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001149/0.001149, allocations: 192 kB / 377.1 MB, free: 1.516 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.16/2.16, allocations: 205.4 MB / 0.6367 GB, free: 9.496 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.001206/0.001206, allocations: 87.86 kB / 0.751 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004522, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.896/1.225, allocations: 140.6 MB / 1.126 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/1.225, allocations: 74.78 kB / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009356/1.235, allocations: 3.488 MB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.365e-06/1.235, allocations: 0 / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.484e-05/1.235, allocations: 4 kB / 1.129 GB, free: 32.01 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.0006887/1.236, allocations: 466.4 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.236, allocations: 12.02 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/1.236, allocations: 10.47 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/1.236, allocations: 194.8 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.236, allocations: 4 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/1.236, allocations: 4 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/1.236, allocations: 119 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/1.236, allocations: 0 / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/1.236, allocations: 5.797 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.236, allocations: 3.938 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/1.237, allocations: 103.8 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/1.237, allocations: 373.7 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.238, allocations: 107.8 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/1.238, allocations: 0 / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/1.238, allocations: 119.7 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/1.238, allocations: 4 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0006715/1.239, allocations: 321.6 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.239, allocations: 55.41 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/1.239, allocations: 126.6 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/1.239, allocations: 29.7 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/1.239, allocations: 99.52 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/1.239, allocations: 27.66 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/1.239, allocations: 0 / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/1.239, allocations: 322.3 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.239, allocations: 62.81 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/1.239, allocations: 66.5 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/1.24, allocations: 91.78 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.24, allocations: 7.875 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004252/1.24, allocations: 213.3 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/1.24, allocations: 41.31 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.24, allocations: 3.953 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.24, allocations: 0 / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.24, allocations: 23.03 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.24, allocations: 0.5469 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/1.24, allocations: 28.39 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/1.24, allocations: 8 kB / 1.132 GB, free: 29.06 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 9.336e-05/1.24, allocations: 122.9 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/1.241, allocations: 7.906 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/1.241, allocations: 190 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.241, allocations: 3.953 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.241, allocations: 0.75 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.241, allocations: 7.312 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/1.241, allocations: 203 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.241, allocations: 4 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/1.241, allocations: 27.83 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.241, allocations: 0.5 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/1.241, allocations: 3.938 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.241, allocations: 0 / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.241, allocations: 4.578 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/1.242, allocations: 206.9 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/1.242, allocations: 85.02 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/1.242, allocations: 0 / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/1.242, allocations: 22.75 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/1.242, allocations: 22.89 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/1.242, allocations: 0.5625 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.559e-05/1.242, allocations: 108.4 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.242, allocations: 0 / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002583/1.242, allocations: 44 kB / 1.133 GB, free: 28.04 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.0001897/1.243, allocations: 118.7 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004645/1.243, allocations: 240.4 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.243, allocations: 0 / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/1.243, allocations: 100 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/1.244, allocations: 8 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/1.244, allocations: 261.4 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/1.244, allocations: 0.702 MB / 1.134 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.099e-05/1.244, allocations: 14.42 kB / 1.134 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/1.244, allocations: 11.44 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.244, allocations: 0 / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.004361/1.249, allocations: 1.278 MB / 1.136 GB, free: 25.92 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)