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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.829/1.829, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.00132/0.00132, allocations: 185 kB / 371.8 MB, free: 10.26 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.733/1.733, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001021/0.001022, allocations: 93.5 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005472, allocations: 10.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2393, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8644/1.104, allocations: 140 MB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.104, allocations: 82.23 kB / 1.116 GB, free: 16.45 MB / 0.6823 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.009825/1.114, allocations: 2.992 MB / 1.119 GB, free: 32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/1.114, allocations: 0 / 1.119 GB, free: 32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.114, allocations: 3.938 kB / 1.119 GB, free: 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.0007613/1.115, allocations: 433.1 kB / 1.12 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/1.115, allocations: 7.656 kB / 1.12 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/1.115, allocations: 40.91 kB / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/1.115, allocations: 3.844 kB / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/1.115, allocations: 174.2 kB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/1.115, allocations: 0 / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/1.115, allocations: 10.12 kB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/1.115, allocations: 77.28 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.115, allocations: 0 / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/1.115, allocations: 0 / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.115, allocations: 0 / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/1.116, allocations: 43.86 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/1.116, allocations: 318.4 kB / 1.12 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/1.116, allocations: 56.88 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.116, allocations: 0 / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/1.117, allocations: 82.25 kB / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/1.117, allocations: 0 / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004359/1.117, allocations: 147.2 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/1.117, allocations: 55.34 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/1.117, allocations: 122.6 kB / 1.121 GB, free: 30.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/1.117, allocations: 28.52 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/1.117, allocations: 91.45 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/1.117, allocations: 18.56 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/1.117, allocations: 3.875 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.118, allocations: 317.6 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/1.118, allocations: 25.22 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/1.118, allocations: 63.41 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/1.118, allocations: 32.22 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.118, allocations: 0 / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/1.118, allocations: 113.4 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.118, allocations: 7.562 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.118, allocations: 0 / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.118, allocations: 0 / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.118, allocations: 18.59 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.118, allocations: 3.672 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/1.119, allocations: 11.72 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/1.119, allocations: 15.02 kB / 1.121 GB, free: 30.21 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.000121/1.119, allocations: 117.5 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/1.119, allocations: 3.234 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/1.119, allocations: 11.59 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.119, allocations: 0 / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.119, allocations: 3.938 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.119, allocations: 3.984 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/1.119, allocations: 397.5 kB / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.119, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/1.119, allocations: 10.72 kB / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.119, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.119, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.119, allocations: 2.953 kB / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.119, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/1.12, allocations: 227.3 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/1.12, allocations: 81.05 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.12, allocations: 2.812 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/1.12, allocations: 3.812 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/1.12, allocations: 14.58 kB / 1.122 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.12, allocations: 3.875 kB / 1.122 GB, free: 29.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.889e-05/1.12, allocations: 100 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.12, allocations: 0 / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003334/1.12, allocations: 45.72 kB / 1.122 GB, free: 29.44 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.0009046/1.121, allocations: 0.8168 MB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000258/1.122, allocations: 83.27 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.122, allocations: 0 / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/1.122, allocations: 43.61 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/1.122, allocations: 5.344 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/1.123, allocations: 0.7298 MB / 1.124 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.123, allocations: 0.6978 MB / 1.125 GB, free: 27.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.708e-05/1.123, allocations: 4.578 kB / 1.125 GB, free: 27.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/1.123, allocations: 19.89 kB / 1.125 GB, free: 27.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.013e-06/1.123, allocations: 3.875 kB / 1.125 GB, free: 27.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/1.14, allocations: 2.521 MB / 1.127 GB, free: 27.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.14, allocations: 250.9 kB / 1.127 GB, free: 26.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.916, allocations: 0 / 1.127 GB, free: 26.81 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)