Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 293 MB / 309 MB, free: 4.812 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.001051/0.001051, allocations: 164.6 kB / 378.7 MB, free: 1 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.373/1.373, allocations: 205.4 MB / 0.6383 GB, free: 8.09 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.0009642/0.0009643, allocations: 85.59 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004287, allocations: 12 kB / 0.8768 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 116.4 MB / 0.9905 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6831/0.9517, allocations: 139.8 MB / 1.127 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.9519, allocations: 85.92 kB / 1.127 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0046/0.9566, allocations: 1.775 MB / 1.129 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.845e-06/0.9566, allocations: 1.312 kB / 1.129 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.9566, allocations: 4 kB / 1.129 GB, free: 32.73 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000592/0.9572, allocations: 437.6 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9572, allocations: 8.031 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.9573, allocations: 16.88 kB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9574, allocations: 186.2 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.9575, allocations: 9.062 kB / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.9575, allocations: 9.031 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.9577, allocations: 96.59 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9577, allocations: 9.625 kB / 1.13 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9577, allocations: 4.594 kB / 1.13 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.9578, allocations: 0 / 1.13 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.9579, allocations: 82.06 kB / 1.13 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.9586, allocations: 404.8 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.9588, allocations: 67.22 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.9589, allocations: 37.89 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.9589, allocations: 4 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.9589, allocations: 30.56 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.9589, allocations: 0 / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0003423/0.9593, allocations: 127.7 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.9593, allocations: 51.41 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.9595, allocations: 158.4 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9595, allocations: 25.7 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.9596, allocations: 103.7 kB / 1.131 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.9596, allocations: 27.2 kB / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.9596, allocations: 0 / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.9597, allocations: 322.4 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.9597, allocations: 31.47 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.9598, allocations: 28.22 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.96, allocations: 59.7 kB / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.96, allocations: 0 / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001878/0.9602, allocations: 111.5 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.9602, allocations: 8 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9602, allocations: 2.797 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9602, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.9603, allocations: 12.83 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.9603, allocations: 8.484 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.9605, allocations: 32.17 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.9605, allocations: 0 / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.677e-05/0.9606, allocations: 117.8 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.9606, allocations: 15.81 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.9607, allocations: 12.58 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9607, allocations: 5.016 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9607, allocations: 7.938 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9607, allocations: 4 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.9609, allocations: 199.7 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9609, allocations: 3.562 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.9609, allocations: 8.75 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9609, allocations: 0 / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.961, allocations: 4.5 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.961, allocations: 4 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.961, allocations: 3.938 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.9612, allocations: 191.2 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.9612, allocations: 85.02 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.9612, allocations: 3.609 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.9614, allocations: 39.23 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.9615, allocations: 15.02 kB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.9615, allocations: 9.297 kB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.9616, allocations: 117.8 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9616, allocations: 0 / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002102/0.9618, allocations: 13.03 kB / 1.132 GB, free: 29.4 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001004/0.9619, allocations: 104.9 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.9621, allocations: 70.5 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9621, allocations: 0 / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.9622, allocations: 43.41 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.9625, allocations: 12.31 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.9629, allocations: 225.4 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.9631, allocations: 0.6952 MB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.9631, allocations: 4 kB / 1.133 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.9632, allocations: 19.56 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9632, allocations: 4 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.003586/0.9668, allocations: 1.075 MB / 1.134 GB, free: 27.65 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)