Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.56/2.56, allocations: 287.5 MB / 302.5 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 187.6 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 83.53 kB / 0.743 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004813, allocations: 12.56 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2096, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9636/1.173, allocations: 139.2 MB / 1.114 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.174, allocations: 76.08 kB / 1.114 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009517/1.183, allocations: 1.906 MB / 1.116 GB, free: 31.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/1.183, allocations: 0 / 1.116 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.183, allocations: 3.844 kB / 1.116 GB, free: 31.21 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009117/1.184, allocations: 477.6 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.184, allocations: 11.7 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/1.184, allocations: 14.69 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/1.185, allocations: 198.1 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/1.185, allocations: 7.219 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/1.185, allocations: 3.875 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/1.185, allocations: 147.9 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.185, allocations: 3.938 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/1.185, allocations: 0 / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.185, allocations: 0 / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/1.186, allocations: 127.7 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/1.187, allocations: 375.9 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/1.187, allocations: 138.3 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/1.187, allocations: 3.812 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/1.188, allocations: 143.7 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.036e-06/1.188, allocations: 0 / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001334/1.189, allocations: 418.6 kB / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/1.189, allocations: 94.05 kB / 1.118 GB, free: 29.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/1.189, allocations: 127.2 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/1.19, allocations: 25.7 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/1.19, allocations: 100.5 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/1.19, allocations: 36.27 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/1.19, allocations: 4 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.19, allocations: 320.9 kB / 1.119 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/1.19, allocations: 89.62 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/1.191, allocations: 95.84 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/1.191, allocations: 145 kB / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.191, allocations: 0 / 1.119 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009359/1.192, allocations: 297.9 kB / 1.12 GB, free: 29.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/1.192, allocations: 73.67 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.192, allocations: 4 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.192, allocations: 0 / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.192, allocations: 29.55 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.192, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/1.193, allocations: 31.09 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/1.193, allocations: 14.97 kB / 1.12 GB, free: 29.07 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: 2 * Record equations: 0 * 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.0002052/1.193, allocations: 160.1 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/1.193, allocations: 15.66 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/1.193, allocations: 18.84 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.193, allocations: 0 / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.193, allocations: 0 / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.193, allocations: 0 / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/1.193, allocations: 210 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.193, allocations: 0 / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/1.194, allocations: 24.44 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.194, allocations: 2.719 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.194, allocations: 3.781 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.194, allocations: 3.953 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.194, allocations: 0.875 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/1.195, allocations: 308.3 kB / 1.12 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/1.195, allocations: 83.88 kB / 1.12 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/1.195, allocations: 3.844 kB / 1.12 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/1.195, allocations: 38.41 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.195, allocations: 27.48 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/1.195, allocations: 7.828 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001019/1.195, allocations: 112.2 kB / 1.121 GB, free: 28.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.195, allocations: 0 / 1.121 GB, free: 28.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003215/1.196, allocations: 25.62 kB / 1.121 GB, free: 28.41 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: 1 * Record equations: 0 * 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.0001771/1.196, allocations: 115.3 kB / 1.121 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009921/1.197, allocations: 354.8 kB / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.197, allocations: 0 / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/1.198, allocations: 199.4 kB / 1.121 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/1.198, allocations: 11.53 kB / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/1.199, allocations: 319.9 kB / 1.122 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/1.199, allocations: 0.7093 MB / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001273/1.199, allocations: 6.734 kB / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/1.199, allocations: 15.98 kB / 1.122 GB, free: 27.24 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.199, allocations: 0 / 1.122 GB, free: 27.24 MB / 0.698 GB Notification: Performance of Templates: time 0.005272/1.205, allocations: 1.471 MB / 1.124 GB, free: 27.13 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)