Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.681/3.681, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002261/0.00226, allocations: 180.8 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.83/3.83, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001515/0.001514, allocations: 98.81 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007681/0.0007684, allocations: 14.84 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3143, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3375/0.6518, allocations: 133.5 MB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004611/0.6523, allocations: 91.94 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02027/0.6726, allocations: 3.004 MB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6727, allocations: 0 / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.6727, allocations: 4 kB / 1.033 GB, free: 8.723 MB / 0.6823 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.000968/0.6737, allocations: 428.9 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.6738, allocations: 8.031 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.6739, allocations: 8.844 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.6741, allocations: 168.4 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.6742, allocations: 12.34 kB / 1.034 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.6742, allocations: 8.375 kB / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.6746, allocations: 78.09 kB / 1.034 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6746, allocations: 192 / 1.034 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.6747, allocations: 3.938 kB / 1.034 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6747, allocations: 7.938 kB / 1.034 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.675, allocations: 43.97 kB / 1.034 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.6761, allocations: 320.7 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.6764, allocations: 54.44 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.6767, allocations: 36.97 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.6767, allocations: 4 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.6771, allocations: 83.44 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.218e-06/0.6771, allocations: 0 / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0009295/0.678, allocations: 153.5 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.6781, allocations: 55.41 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.6783, allocations: 117.8 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.6784, allocations: 25.7 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.6785, allocations: 92.12 kB / 1.035 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.6786, allocations: 15.8 kB / 1.035 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.6786, allocations: 4 kB / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6788, allocations: 326.8 kB / 1.035 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.679, allocations: 27.98 kB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.6793, allocations: 46.56 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.6795, allocations: 35.98 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6795, allocations: 0 / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005631/0.6801, allocations: 117.5 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.6802, allocations: 8 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6802, allocations: 0 / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6802, allocations: 0 / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.6804, allocations: 23.98 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6805, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6806, allocations: 8 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.6807, allocations: 11.92 kB / 1.035 GB, free: 6.199 MB / 0.6823 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 0.00017/0.6809, allocations: 118.5 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.6809, allocations: 7.906 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.681, allocations: 8.375 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.681, allocations: 8 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.681, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.681, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.682, allocations: 382.8 kB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.682, allocations: 0 / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.6821, allocations: 7.984 kB / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.6822, allocations: 8 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.6822, allocations: 4 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6822, allocations: 3.938 kB / 1.036 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6822, allocations: 0 / 1.036 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.6829, allocations: 223.3 kB / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.6829, allocations: 84.95 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.683, allocations: 8 kB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.6832, allocations: 11.98 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.6833, allocations: 3.938 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6833, allocations: 4 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.662e-05/0.6835, allocations: 91.27 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6835, allocations: 0 / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007677/0.6842, allocations: 55.92 kB / 1.036 GB, free: 5.09 MB / 0.6823 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.0006848/0.685, allocations: 168.1 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005588/0.6855, allocations: 83.88 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6856, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.6858, allocations: 40.11 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.6865, allocations: 4 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.6873, allocations: 215 kB / 1.037 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.6877, allocations: 0.6926 MB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.406e-05/0.6878, allocations: 4 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.6879, allocations: 11.44 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of SimCode: time 1.623e-06/0.6879, allocations: 0 / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of Templates: time 0.008187/0.6961, allocations: 1.527 MB / 1.039 GB, free: 2.316 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)