Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 180.8 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008146/0.0008145, allocations: 86.53 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.85e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2134, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7322/0.9457, allocations: 133.9 MB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.946, allocations: 81.14 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.008593/0.9546, allocations: 2.963 MB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9546, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9546, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.6355 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.0005024/0.9551, allocations: 418.8 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9552, allocations: 11.97 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.9552, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9554, allocations: 174.9 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.9554, allocations: 8 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.9554, allocations: 0 / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.424e-05/0.9555, allocations: 23.31 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.9556, allocations: 57.05 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9556, allocations: 0 / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.9557, allocations: 3.938 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9557, allocations: 0 / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.9562, allocations: 292.5 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/0.9563, allocations: 38.19 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.9564, allocations: 24.36 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.9564, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.9565, allocations: 78.83 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9565, allocations: 3.938 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002393/0.9568, allocations: 88.89 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.9568, allocations: 55.41 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.9569, allocations: 112.6 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.9569, allocations: 25.7 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.957, allocations: 95.92 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.957, allocations: 11.83 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.9571, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9572, allocations: 326.5 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.9572, allocations: 15.81 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.9573, allocations: 41.94 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.9573, allocations: 23.86 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9573, allocations: 0.75 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001536/0.9575, allocations: 93.14 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.9575, allocations: 8.062 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9575, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9576, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.9577, allocations: 19.92 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.9577, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.9577, allocations: 11.89 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.9578, allocations: 11.62 kB / 1.021 GB, free: 15.2 MB / 0.6511 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 8.375e-05/0.9579, allocations: 112.9 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001777/0.958, allocations: 92.42 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.9581, allocations: 3.906 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.9581, allocations: 12.5 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9581, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9581, allocations: 0.5625 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.9581, allocations: 11.92 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.9584, allocations: 329.9 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.9585, allocations: 4 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.9585, allocations: 8.875 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9585, allocations: 3.984 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.9585, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.9585, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9585, allocations: 7.891 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.9587, allocations: 191.1 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.9588, allocations: 85.02 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.9588, allocations: 7.984 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.9589, allocations: 8 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.959, allocations: 11.94 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.959, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.959, allocations: 91.92 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9591, allocations: 7.938 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000335/0.9594, allocations: 47.92 kB / 1.022 GB, free: 14.17 MB / 0.6511 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.0007929/0.9602, allocations: 0.7991 MB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.9603, allocations: 55.23 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9603, allocations: 0 / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.326e-05/0.9604, allocations: 28 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.9606, allocations: 7.984 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.961, allocations: 149.4 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.9613, allocations: 0.6885 MB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.9614, allocations: 4.188 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.9614, allocations: 23.11 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9614, allocations: 4 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.983, allocations: 2.184 MB / 1.026 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/0.9834, allocations: 209.8 kB / 1.026 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.592, allocations: 0 / 1.026 GB, free: 9.969 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)