Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.616/2.616, allocations: 287.5 MB / 302.4 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 173.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 111.4 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000743/0.0007431, allocations: 17.89 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2874, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9051/1.193, allocations: 139.8 MB / 1.115 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.193, allocations: 91.44 kB / 1.115 GB, free: 15.73 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01328/1.206, allocations: 2.995 MB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.206, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.206, allocations: 3.844 kB / 1.118 GB, free: 31.29 MB / 0.698 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.0007104/1.207, allocations: 415 kB / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.207, allocations: 11.77 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/1.207, allocations: 7.125 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.207, allocations: 177.4 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/1.207, allocations: 7.844 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/1.207, allocations: 7.219 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/1.208, allocations: 71.7 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.208, allocations: 2.859 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.208, allocations: 0 / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.208, allocations: 3.906 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/1.208, allocations: 42.8 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/1.209, allocations: 323.4 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/1.209, allocations: 54.8 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/1.209, allocations: 7.375 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/1.209, allocations: 71.88 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.506e-06/1.209, allocations: 0 / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000599/1.21, allocations: 151.2 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/1.21, allocations: 64.22 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.21, allocations: 112.9 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/1.21, allocations: 25.7 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/1.21, allocations: 95.8 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/1.21, allocations: 16.28 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/1.21, allocations: 7.938 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.21, allocations: 316.3 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/1.211, allocations: 29.7 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.211, allocations: 51.64 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/1.211, allocations: 35.11 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.211, allocations: 5.391 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003814/1.211, allocations: 117 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.211, allocations: 3.844 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.211, allocations: 0 / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.211, allocations: 7.906 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/1.212, allocations: 14.12 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.212, allocations: 5.234 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/1.212, allocations: 13.09 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/1.212, allocations: 6.844 kB / 1.12 GB, free: 29.54 MB / 0.698 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.0001236/1.212, allocations: 114.3 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/1.212, allocations: 3.875 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/1.212, allocations: 13.34 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.212, allocations: 3.719 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.212, allocations: 0 / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.212, allocations: 0 / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/1.213, allocations: 385.2 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.213, allocations: 0 / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/1.213, allocations: 10.95 kB / 1.121 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.213, allocations: 0 / 1.121 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.213, allocations: 7.156 kB / 1.121 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.213, allocations: 0 / 1.121 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.213, allocations: 3.953 kB / 1.121 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/1.213, allocations: 216.5 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/1.213, allocations: 88.77 kB / 1.121 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/1.213, allocations: 6.594 kB / 1.121 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/1.214, allocations: 3.875 kB / 1.121 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/1.214, allocations: 6.875 kB / 1.121 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.214, allocations: 3.953 kB / 1.121 GB, free: 28.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.772e-05/1.214, allocations: 96.08 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.214, allocations: 0 / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004445/1.214, allocations: 49.23 kB / 1.121 GB, free: 28.78 MB / 0.698 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.0004349/1.215, allocations: 180.5 kB / 1.121 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003478/1.215, allocations: 78.28 kB / 1.121 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.215, allocations: 4.062 kB / 1.121 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.215, allocations: 38.41 kB / 1.121 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/1.215, allocations: 3.25 kB / 1.121 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/1.216, allocations: 219.9 kB / 1.122 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/1.216, allocations: 0.69 MB / 1.122 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.905e-05/1.216, allocations: 4 kB / 1.122 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/1.216, allocations: 14.94 kB / 1.122 GB, free: 27.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/1.216, allocations: 0 / 1.122 GB, free: 27.8 MB / 0.698 GB Notification: Performance of Templates: time 0.005405/1.222, allocations: 1.527 MB / 1.124 GB, free: 27.66 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)