Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002085/0.002085, allocations: 192.6 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 251.7 MB / 0.5088 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4617, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002915/0.4647, allocations: 1.534 MB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.466, allocations: 0.7874 MB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.4661, allocations: 0 / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.4662, allocations: 3.938 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.4662, allocations: 7.938 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.4667, allocations: 111.8 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.4668, allocations: 75.72 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.4669, allocations: 4 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.467, allocations: 39.89 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.467, allocations: 27.84 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.467, allocations: 4 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.4672, allocations: 95.84 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.4673, allocations: 19.91 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.4673, allocations: 31.86 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.4675, allocations: 137.6 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4675, allocations: 0 / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4675, allocations: 0 / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.4675, allocations: 0 / 0.7266 GB, free: 10.27 MB / 0.545 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.0005717/0.4681, allocations: 420.9 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4681, allocations: 12.03 kB / 0.727 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.4682, allocations: 4.844 kB / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.611e-05/0.4683, allocations: 172.3 kB / 0.7272 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.4683, allocations: 8.375 kB / 0.7272 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4684, allocations: 12.3 kB / 0.7272 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4685, allocations: 73.95 kB / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4685, allocations: 0 / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4686, allocations: 0 / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4686, allocations: 0 / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4687, allocations: 39.97 kB / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.4692, allocations: 316.7 kB / 0.7276 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4694, allocations: 54.5 kB / 0.7277 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.4695, allocations: 32.97 kB / 0.7277 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.4695, allocations: 0 / 0.7277 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.4697, allocations: 79.31 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4697, allocations: 0 / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004028/0.4701, allocations: 145.5 kB / 0.7279 GB, free: 8.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4702, allocations: 59.39 kB / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.4703, allocations: 113.8 kB / 0.7281 GB, free: 8.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4703, allocations: 37.7 kB / 0.7281 GB, free: 8.512 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.4703, allocations: 88.12 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4704, allocations: 23.69 kB / 0.7282 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.4704, allocations: 25.7 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4705, allocations: 322.8 kB / 0.7286 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.4706, allocations: 27.97 kB / 0.7286 GB, free: 8.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.4707, allocations: 46.56 kB / 0.7286 GB, free: 7.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4709, allocations: 78.48 kB / 0.7287 GB, free: 7.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4709, allocations: 0 / 0.7287 GB, free: 7.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.4711, allocations: 117.5 kB / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4712, allocations: 4 kB / 0.7288 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4712, allocations: 4.062 kB / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4712, allocations: 0 / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.4713, allocations: 15.98 kB / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.4713, allocations: 0 / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.4714, allocations: 7.906 kB / 0.7289 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.4714, allocations: 4.391 kB / 0.7289 GB, free: 7.719 MB / 0.545 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 9.671e-05/0.4715, allocations: 121.7 kB / 0.729 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.4715, allocations: 7.984 kB / 0.729 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.4715, allocations: 16.36 kB / 0.729 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4716, allocations: 3.938 kB / 0.729 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4716, allocations: 0 / 0.729 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4716, allocations: 4 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.472, allocations: 386.3 kB / 0.7294 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.472, allocations: 0 / 0.7294 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.4721, allocations: 4 kB / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4721, allocations: 0 / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4721, allocations: 7.984 kB / 0.7294 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4721, allocations: 0 / 0.7294 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4721, allocations: 3.938 kB / 0.7294 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4724, allocations: 207.5 kB / 0.7296 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.4724, allocations: 85 kB / 0.7297 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4725, allocations: 4 kB / 0.7297 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.4726, allocations: 0 / 0.7297 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.4726, allocations: 19.92 kB / 0.7297 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4726, allocations: 4 kB / 0.7297 GB, free: 6.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.4727, allocations: 95.86 kB / 0.7298 GB, free: 6.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.425e-06/0.4727, allocations: 0 / 0.7298 GB, free: 6.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003029/0.473, allocations: 43.88 kB / 0.7298 GB, free: 6.625 MB / 0.545 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.000334/0.4733, allocations: 157.7 kB / 0.73 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.4736, allocations: 67.95 kB / 0.73 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4736, allocations: 3.938 kB / 0.73 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.4737, allocations: 35.98 kB / 0.7301 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.474, allocations: 3.984 kB / 0.7301 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.4744, allocations: 210.7 kB / 0.7303 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.4747, allocations: 0.6887 MB / 0.731 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.4748, allocations: 7.938 kB / 0.731 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.4748, allocations: 15.42 kB / 0.731 GB, free: 5.398 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.4748, allocations: 4 kB / 0.731 GB, free: 5.395 MB / 0.545 GB Notification: Performance of Templates: time 0.003756/0.4786, allocations: 1.372 MB / 0.7323 GB, free: 4.035 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)