Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.599/1.599, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.225/3.225, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.233e-05, allocations: 9.594 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003101/0.003133, allocations: 1.507 MB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.004693, allocations: 0.7088 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.004755, allocations: 3.938 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.244e-05/0.004847, allocations: 3.938 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.004892, allocations: 19.86 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.005487, allocations: 131.5 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.00581, allocations: 83.69 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.005921, allocations: 15.92 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.006148, allocations: 59.88 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.006231, allocations: 31.89 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.006255, allocations: 4 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.006555, allocations: 127.7 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.006622, allocations: 35.91 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.006673, allocations: 31.86 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.00702, allocations: 195.4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.007024, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007025, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.007032, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007624/0.007794, allocations: 420.1 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.007833, allocations: 12.75 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.008179, allocations: 40.77 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.008414, allocations: 149.5 kB / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.008435, allocations: 4.375 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.008452, allocations: 4.375 kB / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.008767, allocations: 194.2 kB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.008776, allocations: 4.125 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.008786, allocations: 384 / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.008793, allocations: 3.938 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.008998, allocations: 111.7 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.009617, allocations: 284.3 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.009818, allocations: 106.9 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.009974, allocations: 101.2 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.009998, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.01032, allocations: 216.2 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=40): time 1.082e-06/0.01032, allocations: 0 / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.0008921/0.01121, allocations: 0.5165 MB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.0113, allocations: 91.38 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01145, allocations: 145.7 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.01152, allocations: 57.69 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.01159, allocations: 93.09 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.0117, allocations: 107.3 kB / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.01182, allocations: 93.67 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01201, allocations: 338.8 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.0123, allocations: 180.5 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.01264, allocations: 243.2 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.01329, allocations: 435.4 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01329, allocations: 0 / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008445/0.01413, allocations: 0.5087 MB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.01416, allocations: 8 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.01417, allocations: 0 / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.0142, allocations: 12.09 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.01433, allocations: 23.91 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01434, allocations: 4 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01446, allocations: 39.67 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.01448, allocations: 12 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (hea.occ,hea.ran,$PRE.hea.ran,hea.state[33],$PRE.hea.state[33],hea.state[32],$PRE.hea.state[32],hea.state[31],$PRE.hea.state[31],hea.state[30],$PRE.hea.state[30],hea.state[29],$PRE.hea.state[29],hea.state[28],$PRE.hea.state[28],hea.state[27],$PRE.hea.state[27],hea.state[26],$PRE.hea.state[26],hea.state[25],$PRE.hea.state[25],hea.state[24],$PRE.hea.state[24],hea.state[23],$PRE.hea.state[23],hea.state[22],$PRE.hea.state[22],hea.state[21],$PRE.hea.state[21],hea.state[20],$PRE.hea.state[20],hea.state[19],$PRE.hea.state[19],hea.state[18],$PRE.hea.state[18],hea.state[17],$PRE.hea.state[17],hea.state[16],$PRE.hea.state[16],hea.state[15],$PRE.hea.state[15],hea.state[14],$PRE.hea.state[14],hea.state[13],$PRE.hea.state[13],hea.state[12],$PRE.hea.state[12],hea.state[11],$PRE.hea.state[11],hea.state[10],$PRE.hea.state[10],hea.state[9],$PRE.hea.state[9],hea.state[8],$PRE.hea.state[8],hea.state[7],$PRE.hea.state[7],hea.state[6],$PRE.hea.state[6],hea.state[5],$PRE.hea.state[5],hea.state[4],$PRE.hea.state[4],hea.state[3],$PRE.hea.state[3],hea.state[2],$PRE.hea.state[2],hea.state[1],$PRE.hea.state[1],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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002436/0.01473, allocations: 199 kB / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.01476, allocations: 19.8 kB / 1.009 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.01479, allocations: 17.61 kB / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01479, allocations: 0 / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.0148, allocations: 0 / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0148, allocations: 0 / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008422/0.01565, allocations: 0.5947 MB / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01565, allocations: 0 / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.0157, allocations: 7.984 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.0157, allocations: 0 / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.01571, allocations: 4 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01572, allocations: 0 / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01572, allocations: 0 / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.01637, allocations: 488.8 kB / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01639, allocations: 15.84 kB / 1.01 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.01644, allocations: 39.98 kB / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.01653, allocations: 4 kB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01658, allocations: 3.984 kB / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01659, allocations: 4 kB / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.784e-05/0.01667, allocations: 102.5 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01667, allocations: 0 / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003432/0.01701, allocations: 51.92 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.state[1],hea.state[2],hea.state[3],hea.state[4],hea.state[5],hea.state[6],hea.state[7],hea.state[8],hea.state[9],hea.state[10],hea.state[11],hea.state[12],hea.state[13],hea.state[14],hea.state[15],hea.state[16],hea.state[17],hea.state[18],hea.state[19],hea.state[20],hea.state[21],hea.state[22],hea.state[23],hea.state[24],hea.state[25],hea.state[26],hea.state[27],hea.state[28],hea.state[29],hea.state[30],hea.state[31],hea.state[32],hea.state[33],hea.ran) * Number of discrete states: 33 (hea.state[1],hea.state[2],hea.state[3],hea.state[4],hea.state[5],hea.state[6],hea.state[7],hea.state[8],hea.state[9],hea.state[10],hea.state[11],hea.state[12],hea.state[13],hea.state[14],hea.state[15],hea.state[16],hea.state[17],hea.state[18],hea.state[19],hea.state[20],hea.state[21],hea.state[22],hea.state[23],hea.state[24],hea.state[25],hea.state[26],hea.state[27],hea.state[28],hea.state[29],hea.state[30],hea.state[31],hea.state[32],hea.state[33]) * 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.0005758/0.01758, allocations: 226.7 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008363/0.01842, allocations: 406 kB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01842, allocations: 0 / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.01859, allocations: 99.97 kB / 1.011 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01888, allocations: 19.92 kB / 1.011 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.01955, allocations: 379.6 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.01968, allocations: 111.5 kB / 1.011 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.066e-05/0.01974, allocations: 25.47 kB / 1.011 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.01978, allocations: 12.5 kB / 1.011 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of SimCode: time 4.5e-07/0.01978, allocations: 4 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of Templates: time 0.006356/0.02614, allocations: 2.164 MB / 1.013 GB, free: 416 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.037528638727963]