Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.054/2.054, allocations: 288.3 MB / 303.2 MB, free: 8.184 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.001309/0.001309, allocations: 182.6 kB / 371.8 MB, free: 10.29 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.215/2.215, allocations: 205.4 MB / 0.6306 GB, free: 10 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.00102/0.00102, allocations: 90.44 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004787, allocations: 15.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3092, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9777/1.287, allocations: 138.7 MB / 1.115 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.287, allocations: 72.97 kB / 1.115 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005403/1.293, allocations: 1.106 MB / 1.116 GB, free: 32.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.715e-06/1.293, allocations: 0 / 1.116 GB, free: 32.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.293, allocations: 0 / 1.116 GB, free: 32.22 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.000648/1.293, allocations: 354 kB / 1.116 GB, free: 31.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.293, allocations: 15.61 kB / 1.116 GB, free: 31.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/1.294, allocations: 4 kB / 1.116 GB, free: 31.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/1.294, allocations: 181.8 kB / 1.117 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/1.294, allocations: 4.75 kB / 1.117 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/1.294, allocations: 11.47 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/1.294, allocations: 50.48 kB / 1.117 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.294, allocations: 0 / 1.117 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.294, allocations: 0 / 1.117 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.294, allocations: 3.938 kB / 1.117 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.053e-05/1.294, allocations: 27.98 kB / 1.117 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/1.295, allocations: 302.8 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/1.295, allocations: 55.17 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/1.295, allocations: 6.703 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/1.295, allocations: 77.64 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/1.295, allocations: 0 / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.000299/1.296, allocations: 95.53 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.296, allocations: 61.45 kB / 1.117 GB, free: 31.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.296, allocations: 99.97 kB / 1.117 GB, free: 31.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/1.296, allocations: 32.98 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/1.296, allocations: 90.02 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/1.296, allocations: 19.53 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/1.296, allocations: 2.5 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.296, allocations: 320.9 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/1.296, allocations: 13.98 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/1.296, allocations: 44.83 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/1.296, allocations: 24.72 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.296, allocations: 4.375 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002025/1.297, allocations: 97.05 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.297, allocations: 3.844 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.297, allocations: 3.844 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.297, allocations: 3.938 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.297, allocations: 16.47 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.297, allocations: 3.844 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/1.297, allocations: 11.25 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/1.297, allocations: 7.922 kB / 1.118 GB, free: 30.52 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.0001339/1.297, allocations: 122.2 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/1.297, allocations: 7.75 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/1.297, allocations: 10.72 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.297, allocations: 0 / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.297, allocations: 3.812 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.297, allocations: 0 / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/1.298, allocations: 364.3 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.298, allocations: 3.969 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/1.298, allocations: 1.406 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.298, allocations: 3.125 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/1.298, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.298, allocations: 1.266 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.298, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/1.298, allocations: 196.3 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/1.298, allocations: 78.7 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/1.298, allocations: 0 / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/1.298, allocations: 14.19 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.298, allocations: 8.641 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/1.298, allocations: 4 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.316e-05/1.299, allocations: 88.67 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/1.299, allocations: 0 / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004241/1.299, allocations: 11.5 kB / 1.119 GB, free: 29.77 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.0001532/1.299, allocations: 103.4 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002031/1.299, allocations: 65.06 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.299, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/1.3, allocations: 24.92 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/1.3, allocations: 5.203 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/1.3, allocations: 180.2 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/1.301, allocations: 0.6888 MB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.439e-05/1.301, allocations: 5.156 kB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/1.301, allocations: 11.28 kB / 1.12 GB, free: 28.83 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/1.301, allocations: 4 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of Templates: time 0.003873/1.305, allocations: 0.6499 MB / 1.121 GB, free: 28.77 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)