Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 285.4 MB / 298 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001977/0.001977, allocations: 172.9 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 0.6248 GB, free: 7.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008504/0.0008501, allocations: 92.81 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.317e-05, allocations: 0 / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7308, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2333/0.9641, allocations: 139.9 MB / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/0.9646, allocations: 83.94 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.9783, allocations: 2.972 MB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9783, allocations: 0.9062 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.9783, allocations: 4 kB / 1.111 GB, free: 8.867 MB / 0.7136 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.0007111/0.979, allocations: 413.6 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.9791, allocations: 12.03 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.9792, allocations: 8.594 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.9794, allocations: 167 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.9794, allocations: 6.438 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.9795, allocations: 4 kB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.9797, allocations: 57.67 kB / 1.111 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.9797, allocations: 0 / 1.111 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.9798, allocations: 7.938 kB / 1.111 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.9798, allocations: 0 / 1.111 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.9799, allocations: 34.34 kB / 1.111 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.9809, allocations: 309.5 kB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.981, allocations: 43.39 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.9811, allocations: 29.5 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.9812, allocations: 5.125 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.9814, allocations: 72.17 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.063e-06/0.9814, allocations: 0 / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/0.9818, allocations: 100.9 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.9819, allocations: 52.03 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.982, allocations: 128.8 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.9821, allocations: 25.7 kB / 1.112 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.9821, allocations: 88.33 kB / 1.112 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.9822, allocations: 19.75 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.9822, allocations: 0 / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9824, allocations: 321.8 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.9825, allocations: 27.47 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.9826, allocations: 42.56 kB / 1.112 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.092e-05/0.9827, allocations: 16 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9827, allocations: 0 / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002827/0.983, allocations: 103.8 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.983, allocations: 8 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.983, allocations: 0 / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9831, allocations: 0 / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.9832, allocations: 13.11 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.9832, allocations: 4 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9833, allocations: 8.062 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.9834, allocations: 11.94 kB / 1.113 GB, free: 6.566 MB / 0.7136 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 () * 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 0.0001093/0.9835, allocations: 112.9 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.9835, allocations: 7.906 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.9836, allocations: 8.625 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9836, allocations: 0 / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9836, allocations: 0 / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9836, allocations: 0 / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.9842, allocations: 374.4 kB / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9842, allocations: 1.625 kB / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.9843, allocations: 7.984 kB / 1.113 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.9843, allocations: 0 / 1.113 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.9843, allocations: 3.984 kB / 1.113 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9844, allocations: 3.938 kB / 1.113 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.9844, allocations: 5.094 kB / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.9848, allocations: 203.4 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.9848, allocations: 81.11 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.9849, allocations: 0 / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.985, allocations: 8 kB / 1.113 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.9851, allocations: 7.984 kB / 1.113 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.9851, allocations: 6.75 kB / 1.113 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.9852, allocations: 105.3 kB / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9852, allocations: 0 / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005407/0.9858, allocations: 51.94 kB / 1.114 GB, free: 5.512 MB / 0.7136 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 () * 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.0005228/0.9863, allocations: 162.3 kB / 1.114 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.9866, allocations: 55.92 kB / 1.114 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9866, allocations: 0 / 1.114 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.9867, allocations: 24 kB / 1.114 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.987, allocations: 16.11 kB / 1.114 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.9875, allocations: 103.8 kB / 1.114 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.9879, allocations: 0.6926 MB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.002e-05/0.9879, allocations: 4.188 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.988, allocations: 12.66 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.988, allocations: 3.938 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of Templates: time 0.006324/0.9943, allocations: 1.539 MB / 1.116 GB, free: 2.895 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)