Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001042/0.001042, allocations: 178 kB / 371.6 MB, free: 3.375 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.765/1.765, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009911/0.0009913, allocations: 89.2 kB / 0.745 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.502e-05, allocations: 0 / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.293, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8768/1.17, allocations: 139.6 MB / 1.116 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.17, allocations: 70.86 kB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002761/1.173, allocations: 1.089 MB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/1.173, allocations: 0 / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.173, allocations: 0.5938 kB / 1.117 GB, free: 43.47 MB / 0.7448 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.0003186/1.173, allocations: 353.8 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.173, allocations: 8.031 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/1.173, allocations: 10.72 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/1.173, allocations: 170.3 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.173, allocations: 7.266 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/1.174, allocations: 8.125 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/1.174, allocations: 53.28 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/1.174, allocations: 0 / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.174, allocations: 3.531 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.174, allocations: 0 / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.808e-05/1.174, allocations: 29.95 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/1.174, allocations: 309.9 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/1.174, allocations: 58.38 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/1.174, allocations: 30.72 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/1.174, allocations: 0 / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.174, allocations: 64.92 kB / 1.118 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/1.174, allocations: 0.9375 kB / 1.118 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001676/1.175, allocations: 92.17 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.175, allocations: 55.36 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/1.175, allocations: 100.3 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/1.175, allocations: 26.36 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/1.175, allocations: 90.73 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/1.175, allocations: 19.16 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/1.175, allocations: 3.188 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/1.175, allocations: 314.3 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/1.175, allocations: 21.88 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/1.175, allocations: 44.12 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/1.175, allocations: 20.31 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.175, allocations: 0 / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001145/1.175, allocations: 98.66 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.175, allocations: 4 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.175, allocations: 0 / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.175, allocations: 8.031 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/1.175, allocations: 15.27 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.175, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/1.175, allocations: 11.95 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.175, allocations: 7.312 kB / 1.119 GB, free: 41.5 MB / 0.7448 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 () * 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 4.768e-05/1.175, allocations: 119.8 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/1.175, allocations: 4.5 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/1.175, allocations: 7.719 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.175, allocations: 8.844 kB / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.175, allocations: 0 / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.176, allocations: 0 / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/1.176, allocations: 364.1 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.176, allocations: 3.938 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/1.176, allocations: 4 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.176, allocations: 0 / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.176, allocations: 11.81 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.176, allocations: 0 / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.176, allocations: 4.609 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/1.176, allocations: 177.4 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/1.176, allocations: 81.58 kB / 1.12 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.176, allocations: 8.016 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/1.176, allocations: 4 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/1.176, allocations: 14.59 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.176, allocations: 8.578 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.449e-05/1.176, allocations: 87.17 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.176, allocations: 0 / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002004/1.176, allocations: 12 kB / 1.12 GB, free: 40.61 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete 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 8.305e-05/1.177, allocations: 95.88 kB / 1.12 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001094/1.177, allocations: 55.03 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.177, allocations: 4.062 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/1.177, allocations: 29.94 kB / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/1.177, allocations: 7.656 kB / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/1.177, allocations: 112.3 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/1.177, allocations: 0.6915 MB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.647e-05/1.177, allocations: 4 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/1.177, allocations: 15.38 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.177, allocations: 0 / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.002421/1.18, allocations: 0.6575 MB / 1.122 GB, free: 39.25 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)