Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 293 MB / 309 MB, free: 4.793 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.0009814/0.0009814, allocations: 182.8 kB / 378.7 MB, free: 1.016 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.389/1.389, allocations: 205.4 MB / 0.6383 GB, free: 8.238 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.0006933/0.0006933, allocations: 89.28 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 116.4 MB / 0.9905 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6128/0.848, allocations: 140.2 MB / 1.127 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.8482, allocations: 90.86 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005838/0.8541, allocations: 2.429 MB / 1.13 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8541, allocations: 0 / 1.13 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8541, allocations: 0 / 1.13 GB, free: 32.05 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004531/0.8546, allocations: 427.8 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8546, allocations: 8.031 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.8547, allocations: 12.84 kB / 1.13 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.8548, allocations: 179.7 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.8548, allocations: 9.219 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.8548, allocations: 12.38 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.8551, allocations: 92.33 kB / 1.131 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8551, allocations: 192 / 1.131 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.8551, allocations: 3.938 kB / 1.131 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8551, allocations: 0 / 1.131 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.8553, allocations: 75.42 kB / 1.131 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.8558, allocations: 377.8 kB / 1.131 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.8559, allocations: 61.7 kB / 1.131 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.856, allocations: 32.38 kB / 1.131 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.856, allocations: 3.938 kB / 1.131 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.8563, allocations: 97.36 kB / 1.131 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.8563, allocations: 0.6562 kB / 1.131 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003713/0.8566, allocations: 135.7 kB / 1.131 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.8567, allocations: 55.41 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.8568, allocations: 132.6 kB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.8568, allocations: 33.7 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.8568, allocations: 95.52 kB / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.8569, allocations: 19.8 kB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.8569, allocations: 4.562 kB / 1.132 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.8569, allocations: 322.3 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.8571, allocations: 58.59 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.8572, allocations: 86.5 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.8575, allocations: 126.3 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8575, allocations: 0 / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003495/0.8578, allocations: 200.5 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.8579, allocations: 36.98 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8579, allocations: 2.344 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.8579, allocations: 0 / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.858, allocations: 19.97 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.858, allocations: 0 / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.8582, allocations: 66.34 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.8582, allocations: 9.281 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.195e-05/0.8583, allocations: 117.8 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.8583, allocations: 4.656 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.8584, allocations: 8.375 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8584, allocations: 3.938 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8584, allocations: 3.609 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8584, allocations: 3.938 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.8585, allocations: 188.4 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8585, allocations: 4 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.8586, allocations: 12.03 kB / 1.133 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8586, allocations: 4 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.8586, allocations: 0 / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8586, allocations: 0.75 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8586, allocations: 0 / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.8588, allocations: 140.2 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.8589, allocations: 81.58 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8589, allocations: 7.516 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.859, allocations: 15.61 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.859, allocations: 16.34 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.8591, allocations: 11.92 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.8591, allocations: 90.61 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8591, allocations: 0.8438 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002044/0.8593, allocations: 36.06 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001288/0.8594, allocations: 110.5 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.8598, allocations: 176.5 kB / 1.134 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8598, allocations: 3.938 kB / 1.134 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.8599, allocations: 43.5 kB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.8601, allocations: 16.97 kB / 1.134 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.8604, allocations: 192.6 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.8606, allocations: 0.6962 MB / 1.134 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.8606, allocations: 8.578 kB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.8606, allocations: 11.44 kB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.8607, allocations: 0 / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.003544/0.8642, allocations: 1.419 MB / 1.136 GB, free: 26.49 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)