Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006454/0.006454, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004021, allocations: 12.44 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3555, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001617/0.3571, allocations: 1.196 MB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3583, allocations: 0.7246 MB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.3583, allocations: 3.938 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.3583, allocations: 0 / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.3584, allocations: 15.86 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.3588, allocations: 103.8 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.3589, allocations: 71.83 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.359, allocations: 11.98 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.3591, allocations: 31.91 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.3592, allocations: 39.77 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3592, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.3594, allocations: 91.91 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.3595, allocations: 15.91 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.3595, allocations: 61.56 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.3597, allocations: 139.8 kB / 1.077 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3597, allocations: 3.938 kB / 1.077 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3597, allocations: 0 / 1.077 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3598, allocations: 0 / 1.077 GB, free: 5.055 MB / 0.8262 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.0005441/0.3603, allocations: 397 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3603, allocations: 12.03 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3604, allocations: 12.83 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3605, allocations: 176.3 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3605, allocations: 384 / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3606, allocations: 4.375 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3608, allocations: 73.97 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3608, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3608, allocations: 4 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3608, allocations: 0 / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3609, allocations: 47.91 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.3615, allocations: 328.6 kB / 1.078 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3616, allocations: 54.55 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.3617, allocations: 32.97 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3618, allocations: 4 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.362, allocations: 83.31 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.362, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003813/0.3624, allocations: 153.6 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3624, allocations: 51.41 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.3625, allocations: 121.8 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3625, allocations: 33.7 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.3626, allocations: 88.14 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3626, allocations: 23.73 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.3626, allocations: 17.72 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3628, allocations: 322.8 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.3629, allocations: 23.98 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.363, allocations: 58.5 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3631, allocations: 74.55 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3631, allocations: 0 / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.3634, allocations: 121.5 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3634, allocations: 5.406 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3634, allocations: 4 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.3634, allocations: 0 / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.3635, allocations: 15.92 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3635, allocations: 4 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.3636, allocations: 23.95 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3636, allocations: 4 kB / 1.079 GB, free: 2.48 MB / 0.8262 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.3637, allocations: 125.7 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.3637, allocations: 4 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.3638, allocations: 12.31 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3638, allocations: 0 / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3638, allocations: 4 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3638, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3642, allocations: 394.2 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3643, allocations: 0 / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.3643, allocations: 7.984 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3643, allocations: 4 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3643, allocations: 4 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3643, allocations: 0 / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3643, allocations: 7.938 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.3646, allocations: 215.4 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3647, allocations: 85.02 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3647, allocations: 0 / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.3648, allocations: 12 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3649, allocations: 11.92 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3649, allocations: 0 / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.3649, allocations: 95.86 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3649, allocations: 0 / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002821/0.3652, allocations: 43.98 kB / 1.08 GB, free: 1.375 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003052/0.3655, allocations: 154.1 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3658, allocations: 75.91 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3658, allocations: 0 / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3659, allocations: 43.91 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.3661, allocations: 16.06 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3665, allocations: 211 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3667, allocations: 0.6848 MB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3668, allocations: 15.97 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.3668, allocations: 11.44 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3668, allocations: 0 / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of Templates: time 0.003686/0.3705, allocations: 1.363 MB / 1.082 GB, free: 14.77 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)