Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.477/2.477, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 179.8 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.414/2.414, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000993/0.0009927, allocations: 93.28 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004734, allocations: 9.969 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.4692, allocations: 132.2 MB / 1.029 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.4696, allocations: 83.95 kB / 1.029 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004707/0.4743, allocations: 1.1 MB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4743, allocations: 0 / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4744, allocations: 4 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005767/0.4749, allocations: 363.4 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.475, allocations: 8.031 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4751, allocations: 8.844 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4752, allocations: 168.3 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4753, allocations: 8.375 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.4753, allocations: 8.359 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4754, allocations: 50.25 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4755, allocations: 192 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.4755, allocations: 3.938 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4755, allocations: 4 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.4756, allocations: 31.92 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.4763, allocations: 308.7 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.4765, allocations: 58.5 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.4766, allocations: 32.97 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.4766, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.4768, allocations: 71.39 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.4768, allocations: 0 / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0003351/0.4772, allocations: 97.61 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.4772, allocations: 55.41 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4774, allocations: 109.8 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4774, allocations: 33.7 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.4775, allocations: 84.14 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4775, allocations: 23.69 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.4775, allocations: 4 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4777, allocations: 322.8 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.4778, allocations: 19.92 kB / 1.032 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.4779, allocations: 51.36 kB / 1.032 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.478, allocations: 20 kB / 1.032 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.478, allocations: 0 / 1.032 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002291/0.4782, allocations: 93.83 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4782, allocations: 4 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.4783, allocations: 4 kB / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4783, allocations: 0 / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4784, allocations: 11.94 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4784, allocations: 4.031 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4786, allocations: 19.83 kB / 1.032 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4786, allocations: 8 kB / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001305/0.4787, allocations: 118.9 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.4788, allocations: 4 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.4788, allocations: 7.969 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4788, allocations: 384 / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4789, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4789, allocations: 4 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.4796, allocations: 374.2 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4796, allocations: 0 / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.4796, allocations: 4 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4797, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4797, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4797, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4797, allocations: 7.938 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.48, allocations: 181.1 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.48, allocations: 85.02 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.4801, allocations: 4 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.4802, allocations: 7.984 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.4803, allocations: 11.92 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4803, allocations: 4 kB / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.4804, allocations: 91.22 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4804, allocations: 0 / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003083/0.4807, allocations: 12 kB / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001462/0.4809, allocations: 99.23 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.4811, allocations: 59.92 kB / 1.033 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4811, allocations: 0 / 1.033 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.4812, allocations: 27.98 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.4816, allocations: 12.06 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.4823, allocations: 178.7 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4826, allocations: 0.6965 MB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.4826, allocations: 4 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.4827, allocations: 11.44 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/0.4827, allocations: 0 / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of Templates: time 0.003877/0.4866, allocations: 0.6596 MB / 1.034 GB, free: 6.879 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)