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.652/1.652, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.00113/0.00113, allocations: 180.4 kB / 361.4 MB, free: 6.82 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.923/1.923, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0008577/0.0008576, allocations: 104.2 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.982e-05, allocations: 0 / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7454, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.9572, allocations: 139.3 MB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.9576, allocations: 83.94 kB / 1.101 GB, free: 484 kB / 0.698 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.01367/0.9712, allocations: 2.958 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9713, allocations: 4.938 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.9713, allocations: 0.6562 kB / 1.103 GB, free: 13.57 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.0007378/0.9721, allocations: 427 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.9721, allocations: 8.656 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.9722, allocations: 8.938 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.9724, allocations: 171 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.9725, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.9725, allocations: 4 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001242/0.9726, allocations: 24.77 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.9728, allocations: 60.34 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9729, allocations: 4.875 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.9729, allocations: 3.906 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.9729, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.9737, allocations: 296.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.9739, allocations: 35.11 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.175e-05/0.9739, allocations: 25.67 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.974, allocations: 0.8125 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.9742, allocations: 77.05 kB / 1.105 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.9742, allocations: 4 kB / 1.105 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003709/0.9746, allocations: 85.67 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.9747, allocations: 62.88 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.9748, allocations: 117.4 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.9748, allocations: 25.7 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.9749, allocations: 89.19 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.975, allocations: 19.75 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.975, allocations: 0.8125 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9752, allocations: 323.8 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.9752, allocations: 16 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.9753, allocations: 38.33 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.9755, allocations: 23.98 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9755, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003076/0.9758, allocations: 92.17 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9758, allocations: 8 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9758, allocations: 0 / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9759, allocations: 1.812 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.976, allocations: 19.92 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.976, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.9762, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.9762, allocations: 8.062 kB / 1.105 GB, free: 11.34 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.0001052/0.9763, allocations: 112.9 kB / 1.106 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002669/0.9766, allocations: 97.5 kB / 1.106 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.9766, allocations: 7.984 kB / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.9767, allocations: 12.62 kB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9767, allocations: 0 / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9767, allocations: 0 / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.9767, allocations: 0 / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.9772, allocations: 339 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9773, allocations: 0 / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.9773, allocations: 11.98 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9774, allocations: 0 / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.9774, allocations: 0 / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.9774, allocations: 5.906 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9774, allocations: 3.938 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.9778, allocations: 199.5 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.9778, allocations: 85.83 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.9779, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.978, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.9781, allocations: 7.984 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9781, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.9782, allocations: 99.22 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9782, allocations: 0 / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005618/0.9788, allocations: 47.94 kB / 1.106 GB, free: 10.23 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.001117/0.9799, allocations: 0.8037 MB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.9802, allocations: 55.92 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9802, allocations: 0 / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.9803, allocations: 27.98 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.9806, allocations: 10.03 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.9813, allocations: 145.3 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.9817, allocations: 0.6892 MB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.989e-05/0.9818, allocations: 12.3 kB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.9819, allocations: 15.44 kB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.9819, allocations: 0 / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/1.006, allocations: 2.191 MB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.007, allocations: 213.7 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.499, allocations: 0 / 1.11 GB, free: 5.977 MB / 0.7136 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)