Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 85.41 kB / 20.83 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.936/0.936, allocations: 177.1 MB / 204.7 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.815/1.815, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.433e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003208/0.003233, allocations: 1.659 MB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.004522, allocations: 0.6306 MB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.004607, allocations: 0.6875 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.004733, allocations: 14.45 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.004803, allocations: 19.14 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.005297, allocations: 101.4 kB / 0.7777 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.00548, allocations: 98.7 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005581, allocations: 24.19 kB / 0.7778 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.005797, allocations: 60.44 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.005884, allocations: 39.23 kB / 0.7779 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.00591, allocations: 8 kB / 0.7779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.006389, allocations: 107.8 kB / 0.778 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.006441, allocations: 23.91 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.006483, allocations: 27.92 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.006725, allocations: 139.6 kB / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.00673, allocations: 7.922 kB / 0.7782 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006731, allocations: 3.938 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.006735, allocations: 0 / 0.7782 GB, free: 2.383 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.0005459/0.007281, allocations: 352.8 kB / 0.7785 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.007319, allocations: 13.34 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.007539, allocations: 28.91 kB / 0.7786 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.007713, allocations: 134.6 kB / 0.7787 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.007727, allocations: 10 kB / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.007745, allocations: 4.375 kB / 0.7787 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.007937, allocations: 85.67 kB / 0.7788 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007948, allocations: 4.172 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.007957, allocations: 1.031 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.007983, allocations: 7.938 kB / 0.7788 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.008036, allocations: 12.86 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.008331, allocations: 210.6 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.008402, allocations: 75.09 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.008422, allocations: 12.86 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.008434, allocations: 5.875 kB / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.008536, allocations: 78.3 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.008538, allocations: 3.938 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001274/0.008665, allocations: 69.61 kB / 0.7793 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.008695, allocations: 56.28 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.008767, allocations: 141.6 kB / 0.7794 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.008784, allocations: 30.3 kB / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.008824, allocations: 96.02 kB / 0.7796 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.00884, allocations: 32.83 kB / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.008877, allocations: 29.69 kB / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.008951, allocations: 322.8 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.00899, allocations: 37.34 kB / 0.78 GB, free: 424 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.009023, allocations: 45.62 kB / 0.78 GB, free: 372 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.009083, allocations: 72.7 kB / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009084, allocations: 0.9375 kB / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.641e-05/0.009181, allocations: 125.1 kB / 0.7802 GB, free: 144 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.009207, allocations: 37.7 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.009212, allocations: 0.875 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.009219, allocations: 3.984 kB / 0.7802 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.009289, allocations: 21.36 kB / 0.7803 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.009293, allocations: 8.062 kB / 0.7803 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.009344, allocations: 19.94 kB / 0.7803 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.009352, allocations: 4.594 kB / 0.7803 GB, free: 44 kB / 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.009427, allocations: 117.7 kB / 0.7804 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.009439, allocations: 11.92 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.009461, allocations: 13.72 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.009471, allocations: 4 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.009472, allocations: 0 / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.009476, allocations: 4.922 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.169e-05/0.009548, allocations: 89.86 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.009549, allocations: 0 / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.009583, allocations: 12.92 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009585, allocations: 3.938 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.009592, allocations: 4.828 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.009593, allocations: 4 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.009594, allocations: 4.875 kB / 0.7806 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.185e-05/0.009676, allocations: 82.77 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.009687, allocations: 16.56 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.009705, allocations: 15.92 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.009741, allocations: 9.891 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.009777, allocations: 11.97 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.009785, allocations: 8 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.883e-05/0.009803, allocations: 20.84 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009803, allocations: 0 / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001247/0.009928, allocations: 36.83 kB / 0.7807 GB, free: 15.54 MB / 0.7448 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: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.01004, allocations: 113.3 kB / 0.7809 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01017, allocations: 122 kB / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01017, allocations: 1.75 kB / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.01021, allocations: 32.77 kB / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.477e-05/0.0103, allocations: 15.92 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.01073, allocations: 221.4 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.01076, allocations: 63.34 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.0108, allocations: 13.88 kB / 0.7813 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.01086, allocations: 63.36 kB / 0.7814 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.01086, allocations: 0.6562 kB / 0.7814 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.00293/0.01379, allocations: 1.489 MB / 0.7828 GB, free: 13.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.723547153174877]