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.0007521/0.0007522, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005391/0.005391, allocations: 170 kB / 16.26 MB, free: 6.613 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.451/1.451, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.536/1.536, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0005236/0.0005237, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4734, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001546/0.475, allocations: 1.199 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4762, allocations: 0.7681 MB / 0.7306 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.4763, allocations: 3.938 kB / 0.7306 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.4763, allocations: 0 / 0.7306 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.4764, allocations: 3.938 kB / 0.7306 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.4768, allocations: 107.8 kB / 0.7308 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4769, allocations: 79.7 kB / 0.7308 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.477, allocations: 8 kB / 0.7308 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.4771, allocations: 31.91 kB / 0.7309 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.4771, allocations: 39.83 kB / 0.7309 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.4771, allocations: 4 kB / 0.7309 GB, free: 9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.4773, allocations: 95.78 kB / 0.731 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.4773, allocations: 11.98 kB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.4774, allocations: 53.5 kB / 0.7311 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.4776, allocations: 137.6 kB / 0.7312 GB, free: 8.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4776, allocations: 4 kB / 0.7312 GB, free: 8.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4776, allocations: 0 / 0.7312 GB, free: 8.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.4776, allocations: 0 / 0.7312 GB, free: 8.699 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.0005562/0.4782, allocations: 413 kB / 0.7316 GB, free: 8.242 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4783, allocations: 8.031 kB / 0.7316 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.4783, allocations: 8.844 kB / 0.7316 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4784, allocations: 176.2 kB / 0.7318 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.4785, allocations: 8.375 kB / 0.7318 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.4785, allocations: 4.375 kB / 0.7318 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4787, allocations: 73.97 kB / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4787, allocations: 0 / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4787, allocations: 7.984 kB / 0.7319 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4787, allocations: 0 / 0.7319 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.4789, allocations: 43.98 kB / 0.7319 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.4794, allocations: 320.7 kB / 0.7322 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.4796, allocations: 50.56 kB / 0.7323 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-05/0.4797, allocations: 36.97 kB / 0.7323 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4797, allocations: 4.062 kB / 0.7323 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.4799, allocations: 83.27 kB / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.4799, allocations: 0 / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000398/0.4803, allocations: 149.6 kB / 0.7325 GB, free: 7.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4804, allocations: 55.39 kB / 0.7326 GB, free: 7.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.4805, allocations: 125.7 kB / 0.7327 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4805, allocations: 29.7 kB / 0.7327 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.4806, allocations: 96.12 kB / 0.7328 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.4806, allocations: 23.73 kB / 0.7328 GB, free: 6.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.4806, allocations: 17.72 kB / 0.7329 GB, free: 6.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4808, allocations: 318.8 kB / 0.7332 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.4808, allocations: 31.98 kB / 0.7332 GB, free: 6.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.4809, allocations: 50.55 kB / 0.7332 GB, free: 6.375 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.4811, allocations: 78.5 kB / 0.7333 GB, free: 6.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4811, allocations: 0 / 0.7333 GB, free: 6.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/0.4814, allocations: 121.5 kB / 0.7334 GB, free: 6.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4814, allocations: 8 kB / 0.7334 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4814, allocations: 0 / 0.7334 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4814, allocations: 0 / 0.7334 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.4815, allocations: 15.98 kB / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4815, allocations: 3.938 kB / 0.7335 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.4816, allocations: 11.92 kB / 0.7335 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4816, allocations: 12.06 kB / 0.7335 GB, free: 6.113 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 0.0001099/0.4817, allocations: 121.8 kB / 0.7336 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4818, allocations: 7.906 kB / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.4818, allocations: 8.375 kB / 0.7336 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4818, allocations: 4 kB / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4818, allocations: 0 / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4818, allocations: 3.984 kB / 0.7336 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.4823, allocations: 382.4 kB / 0.734 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4823, allocations: 3.984 kB / 0.734 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.4823, allocations: 11.94 kB / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4823, allocations: 0 / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4823, allocations: 0 / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4823, allocations: 0 / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.4824, allocations: 7.938 kB / 0.734 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.4826, allocations: 219.4 kB / 0.7342 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.4827, allocations: 85.02 kB / 0.7343 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.4827, allocations: 3.938 kB / 0.7343 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.4828, allocations: 7.984 kB / 0.7343 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.4828, allocations: 11.94 kB / 0.7343 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4829, allocations: 7.984 kB / 0.7343 GB, free: 5.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.4829, allocations: 91.94 kB / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4829, allocations: 0 / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002792/0.4832, allocations: 43.92 kB / 0.7345 GB, free: 5.012 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.0003356/0.4836, allocations: 156.8 kB / 0.7346 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4838, allocations: 83.88 kB / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4838, allocations: 4 kB / 0.7347 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.4839, allocations: 31.98 kB / 0.7347 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4842, allocations: 8 kB / 0.7347 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.4845, allocations: 223.1 kB / 0.7349 GB, free: 4.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.4848, allocations: 0.6887 MB / 0.7356 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.4849, allocations: 8 kB / 0.7356 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.4849, allocations: 11.44 kB / 0.7356 GB, free: 3.762 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.4849, allocations: 0 / 0.7356 GB, free: 3.762 MB / 0.545 GB Notification: Performance of Templates: time 0.003775/0.4887, allocations: 1.354 MB / 0.737 GB, free: 2.422 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: