Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 293 MB / 309 MB, free: 4.824 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.0009507/0.0009509, allocations: 180.5 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.523/1.523, allocations: 205.4 MB / 0.6383 GB, free: 9.16 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.0007038/0.0007038, allocations: 92.88 kB / 0.7527 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003753, allocations: 12 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 116.4 MB / 0.9904 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6225/0.8594, allocations: 141.1 MB / 1.128 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.8596, allocations: 85.11 kB / 1.128 GB, free: 33.19 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.007857/0.8675, allocations: 2.999 MB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8675, allocations: 4 kB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8676, allocations: 0 / 1.131 GB, free: 31.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004506/0.868, allocations: 424.7 kB / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8681, allocations: 11.97 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.8681, allocations: 5.438 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.8682, allocations: 176.2 kB / 1.132 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.8682, allocations: 11.84 kB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.8682, allocations: 384 / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.8684, allocations: 72.95 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8684, allocations: 2.766 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.8685, allocations: 7.938 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.8685, allocations: 0 / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.8686, allocations: 43.12 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.8691, allocations: 323.7 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.8692, allocations: 54.03 kB / 1.132 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.8693, allocations: 33.61 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.8693, allocations: 11.42 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.8694, allocations: 73.64 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.8695, allocations: 0 / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003449/0.8698, allocations: 155.8 kB / 1.133 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.8698, allocations: 55.41 kB / 1.133 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.8699, allocations: 120.6 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.8699, allocations: 30.27 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.87, allocations: 91.33 kB / 1.133 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.87, allocations: 11.81 kB / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.87, allocations: 0 / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.8701, allocations: 326.2 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.8702, allocations: 27.23 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/0.8703, allocations: 53.97 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.8704, allocations: 81.91 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8704, allocations: 0 / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002294/0.8706, allocations: 125.2 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.8707, allocations: 4 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8707, allocations: 4.062 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8707, allocations: 0.8438 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.8708, allocations: 19.98 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.8708, allocations: 0 / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.8709, allocations: 11.56 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.8709, allocations: 4 kB / 1.133 GB, free: 28.62 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: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.124e-05/0.871, allocations: 117.8 kB / 1.134 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.871, allocations: 11.91 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.871, allocations: 12.88 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.871, allocations: 4.078 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8711, allocations: 0.6562 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8711, allocations: 0 / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.8714, allocations: 383.2 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8714, allocations: 4 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.8715, allocations: 9.125 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8715, allocations: 0 / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.8715, allocations: 7.562 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8715, allocations: 0.5625 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8715, allocations: 0.625 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.8717, allocations: 222.3 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.8718, allocations: 88.95 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.8718, allocations: 0 / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.8719, allocations: 11.42 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.8719, allocations: 8.5 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.8719, allocations: 3.938 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.872, allocations: 94.73 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.872, allocations: 0 / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002746/0.8722, allocations: 52 kB / 1.134 GB, free: 27.57 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003239/0.8726, allocations: 172.1 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.8728, allocations: 78.31 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.8728, allocations: 0 / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.8729, allocations: 39.41 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.8731, allocations: 15.78 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.8735, allocations: 212.5 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.8736, allocations: 0.6877 MB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.895e-05/0.8737, allocations: 6.609 kB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.8737, allocations: 10.86 kB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.522e-06/0.8737, allocations: 0 / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.0038/0.8775, allocations: 1.512 MB / 1.137 GB, free: 25.54 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)