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.607/1.607, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.0009855/0.0009854, allocations: 180.9 kB / 366.7 MB, free: 1.684 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.552/1.552, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0008731/0.000873, allocations: 89.73 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.219e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7322, allocations: 116.3 MB / 0.9732 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.9397, allocations: 139.9 MB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.94, allocations: 79.89 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01/0.95, allocations: 3.456 MB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9501, allocations: 0.7812 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.9501, allocations: 4 kB / 1.113 GB, free: 6.859 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.0006697/0.9508, allocations: 442.2 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.9508, allocations: 8.031 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.9509, allocations: 7.906 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.9511, allocations: 206.7 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.9512, allocations: 10.62 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.9512, allocations: 4 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001326/0.9513, allocations: 39.98 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.9515, allocations: 69.66 kB / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9515, allocations: 4 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.9515, allocations: 0.75 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.9516, allocations: 0 / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.9522, allocations: 349.2 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.9523, allocations: 46.58 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.9524, allocations: 32.91 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.9524, allocations: 8 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.9526, allocations: 94.77 kB / 1.115 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.9526, allocations: 4 kB / 1.115 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003061/0.9529, allocations: 105.5 kB / 1.115 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.953, allocations: 51.41 kB / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.9531, allocations: 127 kB / 1.115 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.9531, allocations: 25.7 kB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.9532, allocations: 100.1 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.9532, allocations: 35.67 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.9533, allocations: 4 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9534, allocations: 314.8 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.9534, allocations: 39.92 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.9535, allocations: 37.45 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.9536, allocations: 31.98 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9536, allocations: 0 / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002111/0.9538, allocations: 113.6 kB / 1.116 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.9539, allocations: 38.95 kB / 1.116 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.9539, allocations: 4 kB / 1.116 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9539, allocations: 3.953 kB / 1.116 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.9541, allocations: 23.97 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9541, allocations: 7.938 kB / 1.116 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.9542, allocations: 19.92 kB / 1.116 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.9542, allocations: 4 kB / 1.116 GB, free: 4.297 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 9.216e-05/0.9543, allocations: 105.8 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.9544, allocations: 15.81 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.9546, allocations: 124.2 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.9546, allocations: 0 / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.9547, allocations: 3.953 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9547, allocations: 7.938 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.9548, allocations: 166.2 kB / 1.116 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.9548, allocations: 0 / 1.116 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.955, allocations: 29.78 kB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.955, allocations: 0 / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.955, allocations: 4 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.955, allocations: 0 / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.955, allocations: 0 / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.9552, allocations: 143.8 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.9553, allocations: 82.42 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.9553, allocations: 15.98 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.9555, allocations: 15.98 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.9555, allocations: 11.97 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.9556, allocations: 4 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.845e-05/0.9556, allocations: 109.6 kB / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9556, allocations: 0 / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002289/0.9559, allocations: 43.94 kB / 1.116 GB, free: 3.352 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.0001982/0.9561, allocations: 115.2 kB / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.9564, allocations: 169 kB / 1.117 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9564, allocations: 4 kB / 1.117 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.9565, allocations: 65.69 kB / 1.117 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.9566, allocations: 9.859 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.957, allocations: 132.3 kB / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.9574, allocations: 0.7048 MB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.687e-05/0.9574, allocations: 15.77 kB / 1.118 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.9575, allocations: 11.42 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9575, allocations: 7.938 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.003618/0.9611, allocations: 1.22 MB / 1.119 GB, free: 0.8711 MB / 0.7136 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)