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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.9 MB / 297.4 MB, free: 6.285 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.001096/0.001096, allocations: 168.9 kB / 366.7 MB, free: 1.555 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.615/1.615, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008964/0.0008967, allocations: 91.78 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.705e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6525, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.8448, allocations: 139 MB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.8451, allocations: 87.94 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004916/0.8501, allocations: 1.751 MB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8501, allocations: 0 / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.8501, allocations: 0 / 1.111 GB, free: 9.457 MB / 0.7136 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.0006031/0.8507, allocations: 431.4 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8508, allocations: 12.84 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.8508, allocations: 19.81 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.851, allocations: 174.9 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.851, allocations: 4 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.851, allocations: 4 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/0.8512, allocations: 50.23 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.8513, allocations: 72.06 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8513, allocations: 0 / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.8513, allocations: 0 / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8513, allocations: 0 / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.852, allocations: 389 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.8521, allocations: 58.45 kB / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.8522, allocations: 20.98 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.8522, allocations: 0 / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.8522, allocations: 40.34 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.8522, allocations: 4 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.000181/0.8524, allocations: 61.59 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.8525, allocations: 51.41 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.8526, allocations: 123.5 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.8526, allocations: 25.7 kB / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.8527, allocations: 108.1 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.8527, allocations: 11.81 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.8527, allocations: 0 / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8528, allocations: 322.8 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.8529, allocations: 20 kB / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.8529, allocations: 16 kB / 1.113 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/0.853, allocations: 19.92 kB / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.853, allocations: 0 / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001104/0.8531, allocations: 77.55 kB / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8531, allocations: 4 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8531, allocations: 0 / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8531, allocations: 3.281 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.8532, allocations: 8 kB / 1.113 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.8532, allocations: 10.52 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.8534, allocations: 31.97 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.8534, allocations: 4 kB / 1.113 GB, free: 7.145 MB / 0.7136 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 () * 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 6.627e-05/0.8535, allocations: 105 kB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.8535, allocations: 11.86 kB / 1.113 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.8536, allocations: 16.34 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8536, allocations: 0 / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8536, allocations: 1.312 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8536, allocations: 0 / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.8538, allocations: 178.2 kB / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8538, allocations: 0 / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.8538, allocations: 8 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8539, allocations: 0 / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8539, allocations: 11.94 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8539, allocations: 0 / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.8539, allocations: 4 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.854, allocations: 157.5 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.8541, allocations: 85.02 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.8541, allocations: 4 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.8543, allocations: 38.48 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.8544, allocations: 11.97 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.8544, allocations: 4 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.8545, allocations: 109.6 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8545, allocations: 0 / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000204/0.8547, allocations: 15.94 kB / 1.114 GB, free: 6.328 MB / 0.7136 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) * 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.000112/0.8548, allocations: 103.2 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.8549, allocations: 43.98 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8549, allocations: 3.375 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.855, allocations: 24.16 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.8552, allocations: 7.938 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.8555, allocations: 118.8 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.8557, allocations: 0.7041 MB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.8558, allocations: 9.422 kB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.8558, allocations: 11.42 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8558, allocations: 4 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.002856/0.8587, allocations: 0.9304 MB / 1.115 GB, free: 4.363 MB / 0.7136 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)