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.748/1.748, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0012/0.0012, allocations: 184.5 kB / 366.7 MB, free: 1.633 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.015/2.015, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008801/0.0008799, allocations: 88.81 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.881e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7288, allocations: 116.3 MB / 0.9733 GB, free: 76.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/0.9834, allocations: 140.2 MB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.9838, allocations: 85.53 kB / 1.11 GB, free: 9.746 MB / 0.7136 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.009493/0.9933, allocations: 2.954 MB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9934, allocations: 0 / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9934, allocations: 0 / 1.113 GB, free: 6.824 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.0005686/0.994, allocations: 421.2 kB / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.994, allocations: 9.062 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.9941, allocations: 7.906 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.9942, allocations: 171 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.9943, allocations: 0.5625 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.9943, allocations: 4 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.577e-05/0.9944, allocations: 28.45 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.9945, allocations: 62.88 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.9945, allocations: 0 / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9946, allocations: 2.062 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9946, allocations: 1.281 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.9952, allocations: 291.8 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.9953, allocations: 44.58 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.9953, allocations: 20.98 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.9953, allocations: 4 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.9955, allocations: 77.73 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.9955, allocations: 0 / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002867/0.9958, allocations: 89.73 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.9958, allocations: 55.41 kB / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.996, allocations: 123.6 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.996, allocations: 25.7 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.9961, allocations: 88.31 kB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.9961, allocations: 19.75 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.9961, allocations: 1.469 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.9963, allocations: 326.8 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.9964, allocations: 15.94 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.9965, allocations: 38.45 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.9965, allocations: 23.98 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9965, allocations: 0 / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001724/0.9967, allocations: 91.55 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9968, allocations: 8 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9968, allocations: 2.25 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.9968, allocations: 3.094 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.9969, allocations: 19.98 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9969, allocations: 0 / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.997, allocations: 4 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.997, allocations: 4 kB / 1.115 GB, free: 4.598 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.0001362/0.9972, allocations: 117.5 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001677/0.9973, allocations: 97.56 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.9974, allocations: 0 / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.9974, allocations: 16.61 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9974, allocations: 0 / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9974, allocations: 0 / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9974, allocations: 0 / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.9979, allocations: 338.9 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9979, allocations: 0 / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.998, allocations: 15.98 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.998, allocations: 0 / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.998, allocations: 0 / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.998, allocations: 3.938 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.998, allocations: 0 / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.9983, allocations: 193.7 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.9984, allocations: 85.02 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.9984, allocations: 2.75 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.9985, allocations: 8 kB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.9986, allocations: 12.92 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.9986, allocations: 3.938 kB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.9987, allocations: 95.22 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9987, allocations: 0 / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002902/0.999, allocations: 47.94 kB / 1.116 GB, free: 3.5 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.0008872/0.9999, allocations: 0.7928 MB / 1.117 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001715/1, allocations: 54.34 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1, allocations: 0 / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/1, allocations: 32.11 kB / 1.117 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/1, allocations: 8 kB / 1.117 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/1.001, allocations: 151 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/1.001, allocations: 0.6892 MB / 1.118 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.37e-05/1.001, allocations: 5.438 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/1.001, allocations: 23.42 kB / 1.118 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.001, allocations: 0 / 1.118 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/1.022, allocations: 2.193 MB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.023, allocations: 193.9 kB / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.656, allocations: 0.75 kB / 1.12 GB, free: 15.35 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)