Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.493/2.493, allocations: 287.5 MB / 303.2 MB, free: 8.305 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.001325/0.001325, allocations: 182.3 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001253, allocations: 88.98 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006185/0.0006185, allocations: 15.27 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2403, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8979/1.138, allocations: 139.9 MB / 1.116 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.139, allocations: 91.64 kB / 1.116 GB, free: 15.77 MB / 0.6823 GB [/home/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.01367/1.152, allocations: 3.005 MB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.152, allocations: 0 / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.768e-06/1.152, allocations: 3.844 kB / 1.119 GB, free: 31.32 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.0007697/1.153, allocations: 427.2 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.153, allocations: 11.34 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/1.153, allocations: 8.719 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.153, allocations: 173 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/1.153, allocations: 3.094 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/1.153, allocations: 7.75 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/1.154, allocations: 67.08 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.154, allocations: 192 / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/1.154, allocations: 8.953 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/1.154, allocations: 0 / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/1.154, allocations: 51.66 kB / 1.12 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/1.155, allocations: 318.7 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.155, allocations: 58.98 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/1.155, allocations: 30.67 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/1.155, allocations: 7.781 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/1.156, allocations: 81.66 kB / 1.12 GB, free: 30.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/1.156, allocations: 0 / 1.12 GB, free: 30.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006012/1.156, allocations: 144.6 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.156, allocations: 55.22 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.156, allocations: 123.1 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.156, allocations: 29.64 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.156, allocations: 90.97 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/1.157, allocations: 19.12 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/1.157, allocations: 3.812 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.157, allocations: 321.6 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/1.157, allocations: 22.23 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/1.157, allocations: 61.78 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/1.157, allocations: 74.25 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.157, allocations: 4 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000363/1.158, allocations: 122 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.158, allocations: 3.844 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.158, allocations: 3.812 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.158, allocations: 3.938 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.158, allocations: 14.09 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.158, allocations: 4.062 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/1.158, allocations: 10.28 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/1.158, allocations: 7.859 kB / 1.121 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.158, allocations: 121.6 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/1.158, allocations: 7.719 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/1.158, allocations: 10.75 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.158, allocations: 7.75 kB / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.158, allocations: 4 kB / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.158, allocations: 0 / 1.121 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/1.159, allocations: 385.9 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.159, allocations: 3.094 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/1.159, allocations: 3.844 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.159, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.159, allocations: 10.66 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.159, allocations: 4 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.159, allocations: 3.938 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/1.16, allocations: 217.6 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/1.16, allocations: 88.8 kB / 1.122 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/1.16, allocations: 4 kB / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.16, allocations: 5.25 kB / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/1.16, allocations: 10.48 kB / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.16, allocations: 1.594 kB / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.863e-05/1.16, allocations: 98.58 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.16, allocations: 0 / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004422/1.16, allocations: 46 kB / 1.122 GB, free: 28.75 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.0004511/1.161, allocations: 172.3 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003447/1.161, allocations: 79.44 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.161, allocations: 0 / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/1.161, allocations: 43.34 kB / 1.122 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/1.162, allocations: 5.438 kB / 1.122 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/1.162, allocations: 208.4 kB / 1.123 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.163, allocations: 0.6917 MB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.168e-05/1.163, allocations: 4.922 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/1.163, allocations: 12.66 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/1.163, allocations: 0 / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of Templates: time 0.005571/1.168, allocations: 1.528 MB / 1.125 GB, free: 27.65 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)