Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.853/1.853, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.002082/0.002082, allocations: 176.9 kB / 366.7 MB, free: 1.652 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.973/1.973, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009067/0.0009067, allocations: 91.34 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.912e-05, allocations: 0 / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7399, allocations: 116.3 MB / 0.9733 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.9417, allocations: 140.2 MB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.942, allocations: 85.09 kB / 1.11 GB, free: 9.789 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.008943/0.951, allocations: 2.951 MB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.951, allocations: 4 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.951, allocations: 0.625 kB / 1.113 GB, free: 6.859 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.0005018/0.9515, allocations: 417.3 kB / 1.114 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9516, allocations: 8.562 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.9516, allocations: 8.406 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.9518, allocations: 175 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.9518, allocations: 0.5312 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.9518, allocations: 9.812 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.479e-05/0.9519, allocations: 21.69 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.952, allocations: 61.66 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.952, allocations: 0 / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9521, allocations: 0 / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.9521, allocations: 1.281 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.9526, allocations: 293.8 kB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.9527, allocations: 42.5 kB / 1.114 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.9528, allocations: 24.98 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.9528, allocations: 0 / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.9529, allocations: 80.02 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.9529, allocations: 0 / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002346/0.9532, allocations: 93.89 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.9532, allocations: 55.41 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.9533, allocations: 120.9 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.9533, allocations: 25.7 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.9534, allocations: 85.45 kB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.9534, allocations: 23.73 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.9534, allocations: 4.625 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.9535, allocations: 325.3 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.9536, allocations: 12.56 kB / 1.115 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.9536, allocations: 39.72 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.9537, allocations: 27.8 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9537, allocations: 0 / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001533/0.9539, allocations: 89.52 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9539, allocations: 8 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9539, allocations: 3.984 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.9539, allocations: 0 / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.954, allocations: 16 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.9541, allocations: 2.688 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.9541, allocations: 7.984 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.9542, allocations: 4 kB / 1.115 GB, free: 4.629 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 7.146e-05/0.9542, allocations: 112.9 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001547/0.9544, allocations: 89.64 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.9544, allocations: 8 kB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.9544, allocations: 12.62 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9545, allocations: 3.984 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9545, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.9545, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.9548, allocations: 340.6 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9548, allocations: 0 / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.9549, allocations: 7.984 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9549, allocations: 8 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.9549, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.9549, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9549, allocations: 3.938 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.9551, allocations: 189 kB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.9552, allocations: 89 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.9552, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.9553, allocations: 4 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.9554, allocations: 19.92 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.9554, allocations: 0 / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.9554, allocations: 92 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9554, allocations: 0 / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000292/0.9557, allocations: 47.92 kB / 1.116 GB, free: 3.539 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.0006619/0.9564, allocations: 0.8033 MB / 1.117 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.9565, allocations: 47.94 kB / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.9566, allocations: 0 / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.9566, allocations: 31.98 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.9568, allocations: 8.062 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.9572, allocations: 146.1 kB / 1.117 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.9575, allocations: 0.6936 MB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.9575, allocations: 5.438 kB / 1.118 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.9576, allocations: 19.42 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9576, allocations: 0 / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.9823, allocations: 2.193 MB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.9826, allocations: 192.9 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.648, allocations: 4 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)