Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009287/0.0009286, allocations: 179 kB / 372.9 MB, free: 10.16 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.527/1.527, allocations: 205.4 MB / 0.6317 GB, free: 9.902 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.000815/0.000815, allocations: 100.2 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 15.56 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7092/0.9342, allocations: 138.7 MB / 1.116 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.9345, allocations: 87.39 kB / 1.116 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005201/0.9398, allocations: 1.782 MB / 1.118 GB, free: 32.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9398, allocations: 0 / 1.118 GB, free: 32.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.9398, allocations: 0 / 1.118 GB, free: 32.2 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006199/0.9404, allocations: 440.2 kB / 1.118 GB, free: 31.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9405, allocations: 11.75 kB / 1.118 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.9405, allocations: 12.62 kB / 1.118 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.9407, allocations: 192.1 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.9407, allocations: 4.281 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.9407, allocations: 8.062 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.9409, allocations: 101.5 kB / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.941, allocations: 192 / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.941, allocations: 3.938 kB / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.941, allocations: 7.844 kB / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.9412, allocations: 77.36 kB / 1.119 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.9419, allocations: 405.5 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.942, allocations: 70.97 kB / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.9421, allocations: 31.5 kB / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.9422, allocations: 3.875 kB / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9422, allocations: 40.14 kB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.9422, allocations: 2.625 kB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003719/0.9426, allocations: 120.7 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.9426, allocations: 51.41 kB / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.9428, allocations: 163.9 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.9428, allocations: 25.7 kB / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.9429, allocations: 102.3 kB / 1.12 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.9429, allocations: 21.05 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.9429, allocations: 0 / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.9431, allocations: 321.4 kB / 1.12 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.9432, allocations: 30.7 kB / 1.12 GB, free: 30.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.9433, allocations: 33.45 kB / 1.12 GB, free: 30.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.9435, allocations: 59.92 kB / 1.12 GB, free: 30.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9435, allocations: 1.375 kB / 1.12 GB, free: 30.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002124/0.9437, allocations: 104.5 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9438, allocations: 5.453 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.9438, allocations: 3.875 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9438, allocations: 0 / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.9439, allocations: 14.34 kB / 1.12 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.9439, allocations: 3.938 kB / 1.12 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.9441, allocations: 31.78 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.9441, allocations: 7.781 kB / 1.12 GB, free: 30.46 MB / 0.698 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 0.0001086/0.9442, allocations: 117.4 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.9443, allocations: 13.23 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.9443, allocations: 21.48 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9443, allocations: 1.75 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9443, allocations: 3.938 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9443, allocations: 0 / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.9445, allocations: 199.2 kB / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9446, allocations: 0 / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.9446, allocations: 16.48 kB / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9446, allocations: 0 / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.9446, allocations: 0 / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.9447, allocations: 8.094 kB / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9447, allocations: 3.938 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.9449, allocations: 193.2 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.945, allocations: 84.92 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.945, allocations: 3.094 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.9452, allocations: 33.11 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.9453, allocations: 18.44 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.9453, allocations: 2.719 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.629e-05/0.9454, allocations: 114.8 kB / 1.121 GB, free: 29.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.114e-06/0.9454, allocations: 4 kB / 1.121 GB, free: 29.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002257/0.9457, allocations: 19.47 kB / 1.121 GB, free: 29.8 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: 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.0001598/0.9458, allocations: 101.5 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.9462, allocations: 69.83 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9462, allocations: 4 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.9463, allocations: 37.8 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.9466, allocations: 11.58 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.9471, allocations: 227 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.9474, allocations: 0.6987 MB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.999e-05/0.9475, allocations: 11.83 kB / 1.122 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.9475, allocations: 13.75 kB / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9476, allocations: 0 / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of Templates: time 0.003435/0.951, allocations: 1.076 MB / 1.123 GB, free: 28.76 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)