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.0008129/0.0008131, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009209/0.0009212, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.59/1.59, allocations: 252 MB / 0.5102 GB, free: 4.742 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.0007789/0.000779, allocations: 16 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.6195, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001756/0.6213, allocations: 1.184 MB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.6227, allocations: 0.7295 MB / 0.73 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.6227, allocations: 0 / 0.73 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.6228, allocations: 3.938 kB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.6229, allocations: 7.938 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.6234, allocations: 103.8 kB / 0.7301 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.6235, allocations: 59.78 kB / 0.7302 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.6236, allocations: 19.98 kB / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.6237, allocations: 27.91 kB / 0.7302 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.6238, allocations: 35.83 kB / 0.7302 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.6238, allocations: 4 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.624, allocations: 83.91 kB / 0.7303 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.624, allocations: 15.92 kB / 0.7303 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.6241, allocations: 33.7 kB / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.6242, allocations: 97.8 kB / 0.7305 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6243, allocations: 0 / 0.7305 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6243, allocations: 3.938 kB / 0.7305 GB, free: 8.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6243, allocations: 0 / 0.7305 GB, free: 8.973 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.000642/0.6249, allocations: 416.7 kB / 0.7309 GB, free: 8.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.625, allocations: 8.031 kB / 0.7309 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.625, allocations: 11.86 kB / 0.7309 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6252, allocations: 170.9 kB / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.6252, allocations: 8 kB / 0.7311 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.6252, allocations: 4 kB / 0.7311 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6254, allocations: 69.66 kB / 0.7311 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6254, allocations: 0 / 0.7311 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.6255, allocations: 7.922 kB / 0.7311 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6255, allocations: 4 kB / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.6256, allocations: 43.92 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.6262, allocations: 316.8 kB / 0.7315 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.6263, allocations: 50.56 kB / 0.7315 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.6264, allocations: 36.97 kB / 0.7316 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.6265, allocations: 4.062 kB / 0.7316 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.6267, allocations: 87.3 kB / 0.7317 GB, free: 7.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.6267, allocations: 4 kB / 0.7317 GB, free: 7.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003914/0.6271, allocations: 145.5 kB / 0.7318 GB, free: 7.434 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.6271, allocations: 55.39 kB / 0.7318 GB, free: 7.367 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.6272, allocations: 121.8 kB / 0.732 GB, free: 7.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6273, allocations: 25.7 kB / 0.732 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.6273, allocations: 96.31 kB / 0.7321 GB, free: 7.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.6274, allocations: 23.73 kB / 0.7321 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.6274, allocations: 0 / 0.7321 GB, free: 7.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6275, allocations: 318.8 kB / 0.7324 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.6276, allocations: 35.92 kB / 0.7324 GB, free: 6.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.6277, allocations: 58.88 kB / 0.7325 GB, free: 6.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.938e-05/0.6278, allocations: 31.98 kB / 0.7325 GB, free: 6.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6278, allocations: 0 / 0.7325 GB, free: 6.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.628, allocations: 121.5 kB / 0.7326 GB, free: 6.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6281, allocations: 4 kB / 0.7326 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.6281, allocations: 3.984 kB / 0.7327 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6281, allocations: 4 kB / 0.7327 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.6282, allocations: 15.94 kB / 0.7327 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.6282, allocations: 0 / 0.7327 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.6283, allocations: 11.91 kB / 0.7327 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.6283, allocations: 4 kB / 0.7327 GB, free: 6.465 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,$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 9.805e-05/0.6284, allocations: 129.8 kB / 0.7328 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.6284, allocations: 4 kB / 0.7328 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.6285, allocations: 8.375 kB / 0.7328 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6285, allocations: 0 / 0.7328 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6285, allocations: 3.953 kB / 0.7328 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6285, allocations: 0 / 0.7328 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.629, allocations: 390.4 kB / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.629, allocations: 0 / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.629, allocations: 7.984 kB / 0.7332 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.629, allocations: 0 / 0.7332 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.6291, allocations: 3.953 kB / 0.7332 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6291, allocations: 8 kB / 0.7332 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6291, allocations: 0 / 0.7332 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.6293, allocations: 219.3 kB / 0.7334 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.6294, allocations: 81.11 kB / 0.7335 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.6294, allocations: 0 / 0.7335 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.6295, allocations: 7.953 kB / 0.7335 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.6296, allocations: 11.98 kB / 0.7335 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.6296, allocations: 7.938 kB / 0.7335 GB, free: 5.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.6296, allocations: 91.27 kB / 0.7336 GB, free: 5.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.573e-06/0.6296, allocations: 4 kB / 0.7336 GB, free: 5.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003001/0.63, allocations: 47.86 kB / 0.7337 GB, free: 5.359 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 (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.0003588/0.6303, allocations: 153 kB / 0.7338 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.6306, allocations: 79.95 kB / 0.7339 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6306, allocations: 3.938 kB / 0.7339 GB, free: 5.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.6307, allocations: 31.98 kB / 0.7339 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.631, allocations: 15.92 kB / 0.7339 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.6314, allocations: 215.2 kB / 0.7341 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.6316, allocations: 0.6887 MB / 0.7348 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.393e-05/0.6317, allocations: 16.05 kB / 0.7348 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.6317, allocations: 11.44 kB / 0.7348 GB, free: 4.113 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6317, allocations: 4 kB / 0.7348 GB, free: 4.109 MB / 0.545 GB Notification: Performance of Templates: time 0.004215/0.6359, allocations: 1.317 MB / 0.7361 GB, free: 2.801 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: