Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.594/2.594, allocations: 287.5 MB / 303.2 MB, free: 8.324 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.001319/0.001318, allocations: 178.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.6305 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009675/0.0009667, allocations: 99.83 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005839/0.000584, allocations: 15.48 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2304, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9082/1.139, allocations: 138.5 MB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.139, allocations: 76.14 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00474/1.144, allocations: 1.106 MB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.144, allocations: 4 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.144, allocations: 0 / 1.116 GB, free: 31.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005782/1.144, allocations: 349.7 kB / 1.116 GB, free: 31.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.145, allocations: 11.53 kB / 1.116 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/1.145, allocations: 4.906 kB / 1.116 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.145, allocations: 177.7 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/1.145, allocations: 4.25 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/1.145, allocations: 11.88 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/1.145, allocations: 60.56 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.145, allocations: 192 / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.145, allocations: 7.906 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.145, allocations: 0 / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/1.145, allocations: 24.52 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/1.146, allocations: 306 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/1.146, allocations: 54.97 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/1.146, allocations: 20.14 kB / 1.117 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/1.146, allocations: 0 / 1.117 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/1.146, allocations: 84.66 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.993e-06/1.146, allocations: 0 / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.000286/1.146, allocations: 98.41 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/1.147, allocations: 53.59 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/1.147, allocations: 107.8 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.147, allocations: 25.7 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/1.147, allocations: 97.97 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/1.147, allocations: 15.34 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/1.147, allocations: 4 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.147, allocations: 321.2 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/1.147, allocations: 17.94 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/1.147, allocations: 44.59 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/1.147, allocations: 67.7 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.147, allocations: 4 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001962/1.147, allocations: 99.47 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.147, allocations: 4.25 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.148, allocations: 2.672 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.148, allocations: 6.234 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/1.148, allocations: 7.812 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.148, allocations: 3.938 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/1.148, allocations: 14.53 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.148, allocations: 7.469 kB / 1.118 GB, free: 29.77 MB / 0.698 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.000113/1.148, allocations: 134.5 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/1.148, allocations: 10.38 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/1.148, allocations: 7.594 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.148, allocations: 0 / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.148, allocations: 3.781 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.148, allocations: 0 / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/1.149, allocations: 363.4 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.149, allocations: 0 / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/1.149, allocations: 3.281 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.149, allocations: 0 / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/1.149, allocations: 5.891 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.149, allocations: 0 / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.149, allocations: 3.938 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/1.149, allocations: 185.9 kB / 1.118 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/1.149, allocations: 83.31 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/1.149, allocations: 0 / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.149, allocations: 10.5 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/1.149, allocations: 14.36 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.149, allocations: 3.688 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.629e-05/1.149, allocations: 85.64 kB / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.149, allocations: 0 / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003255/1.15, allocations: 14.94 kB / 1.119 GB, free: 29 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: 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.0001132/1.15, allocations: 102.2 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001783/1.15, allocations: 54.72 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.15, allocations: 3.938 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.196e-05/1.15, allocations: 29.34 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/1.15, allocations: 10.2 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/1.151, allocations: 178.2 kB / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/1.151, allocations: 0.686 MB / 1.12 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.369e-05/1.151, allocations: 3.781 kB / 1.12 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/1.151, allocations: 11.31 kB / 1.12 GB, free: 28.06 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.151, allocations: 4 kB / 1.12 GB, free: 28.05 MB / 0.698 GB Notification: Performance of Templates: time 0.003511/1.155, allocations: 0.6569 MB / 1.12 GB, free: 27.99 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)