Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001137/0.001137, allocations: 181 kB / 377.1 MB, free: 1.523 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.977/1.977, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.001061/0.001061, allocations: 90.47 kB / 0.7509 GB, free: 63.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2876, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7323/1.02, allocations: 141 MB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/1.02, allocations: 87.8 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008098/1.028, allocations: 2.991 MB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/1.028, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.028, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 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.0004825/1.029, allocations: 439.8 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.029, allocations: 12.03 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/1.029, allocations: 30.56 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/1.029, allocations: 6.625 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/1.029, allocations: 170.5 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.029, allocations: 7.438 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/1.029, allocations: 4 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/1.029, allocations: 68.83 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.029, allocations: 4 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.029, allocations: 0.5 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.029, allocations: 0 / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/1.03, allocations: 51.23 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/1.03, allocations: 323.3 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/1.03, allocations: 53.28 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.03, allocations: 0 / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/1.03, allocations: 82.78 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/1.03, allocations: 0 / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003728/1.031, allocations: 148 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/1.031, allocations: 56.33 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/1.031, allocations: 120 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/1.031, allocations: 25.7 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/1.031, allocations: 92.22 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/1.031, allocations: 19.28 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/1.031, allocations: 0 / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.751e-05/1.031, allocations: 318.8 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/1.031, allocations: 35.17 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/1.031, allocations: 53.97 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.931e-05/1.031, allocations: 32.12 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.031, allocations: 0 / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002037/1.032, allocations: 116.7 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.032, allocations: 13.86 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.032, allocations: 1.125 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.032, allocations: 0 / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/1.032, allocations: 8.562 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.032, allocations: 8.234 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/1.032, allocations: 11.97 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.032, allocations: 11.95 kB / 1.131 GB, free: 29.43 MB / 0.7292 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 7.731e-05/1.032, allocations: 117.8 kB / 1.131 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/1.032, allocations: 7.141 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/1.032, allocations: 8.938 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.032, allocations: 0 / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.032, allocations: 4 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.032, allocations: 0 / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/1.032, allocations: 394.3 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.032, allocations: 1.641 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/1.032, allocations: 4.656 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.032, allocations: 0 / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.032, allocations: 7 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.032, allocations: 0 / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.032, allocations: 4 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/1.033, allocations: 221.8 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/1.033, allocations: 81.05 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.033, allocations: 1.219 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/1.033, allocations: 15.56 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/1.033, allocations: 7.516 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/1.033, allocations: 4 kB / 1.132 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.435e-05/1.033, allocations: 102.5 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/1.033, allocations: 0 / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002826/1.033, allocations: 44 kB / 1.132 GB, free: 28.4 MB / 0.7292 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.0006363/1.034, allocations: 0.8202 MB / 1.133 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002065/1.034, allocations: 82.39 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.034, allocations: 0 / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/1.034, allocations: 36.02 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/1.034, allocations: 4.484 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/1.035, allocations: 0.7497 MB / 1.134 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/1.035, allocations: 0.6922 MB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.933e-05/1.035, allocations: 5.438 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/1.035, allocations: 14.95 kB / 1.135 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.035, allocations: 4.844 kB / 1.135 GB, free: 26 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/1.05, allocations: 2.5 MB / 1.137 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.05, allocations: 241.8 kB / 1.137 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.666, allocations: 1.125 kB / 1.137 GB, free: 24.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)