Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.828/1.828, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001158/0.001158, allocations: 176.8 kB / 366.7 MB, free: 1.672 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.92/1.92, allocations: 205.3 MB / 0.626 GB, free: 7.125 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.001059/0.001059, allocations: 83.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.038e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7199, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.9218, allocations: 140.2 MB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.9222, allocations: 83.94 kB / 1.11 GB, free: 9.766 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.009357/0.9316, allocations: 2.96 MB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9316, allocations: 0.5312 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.9316, allocations: 5.344 kB / 1.113 GB, free: 6.828 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.0005941/0.9322, allocations: 408.7 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.9323, allocations: 12.03 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.9323, allocations: 8.938 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.9325, allocations: 171 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.9326, allocations: 4.562 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.9326, allocations: 7.938 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.021e-05/0.9327, allocations: 25.27 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.9328, allocations: 53.67 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9328, allocations: 0 / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.9328, allocations: 0.8125 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9329, allocations: 4 kB / 1.114 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.9335, allocations: 288.4 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.9336, allocations: 43.98 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.9337, allocations: 24.98 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.9337, allocations: 0 / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.9339, allocations: 68.61 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.9339, allocations: 0.6562 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003132/0.9343, allocations: 94.95 kB / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.9343, allocations: 60.05 kB / 1.114 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.9344, allocations: 108.4 kB / 1.115 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.9345, allocations: 29.64 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.9346, allocations: 97.19 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.9346, allocations: 15.75 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.9346, allocations: 1.438 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9348, allocations: 326.7 kB / 1.115 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.9348, allocations: 20 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.9349, allocations: 37.97 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.935, allocations: 23.98 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.935, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001915/0.9352, allocations: 97.5 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9352, allocations: 8.344 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9352, allocations: 4 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9353, allocations: 0 / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.9354, allocations: 11.98 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9354, allocations: 4 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.9355, allocations: 8.062 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.9355, allocations: 4 kB / 1.115 GB, free: 4.602 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.0001131/0.9356, allocations: 108.9 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001972/0.9358, allocations: 103.8 kB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.9358, allocations: 4 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.9359, allocations: 4.625 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9359, allocations: 4 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9359, allocations: 4 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9359, allocations: 0 / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.9363, allocations: 346.9 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9364, allocations: 3.125 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.9364, allocations: 4 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9364, allocations: 0 / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.9364, allocations: 4 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9365, allocations: 0 / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9365, allocations: 0 / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.9367, allocations: 199.4 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.9368, allocations: 85 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.9368, allocations: 4 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.9369, allocations: 7.984 kB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.937, allocations: 3.938 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.937, allocations: 4 kB / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.9371, allocations: 95.22 kB / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9371, allocations: 4 kB / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003311/0.9374, allocations: 47.94 kB / 1.116 GB, free: 3.504 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.0009058/0.9383, allocations: 0.7889 MB / 1.117 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.9385, allocations: 55.92 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9385, allocations: 4 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/0.9386, allocations: 20 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.9388, allocations: 6.656 kB / 1.117 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.9394, allocations: 150 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.9397, allocations: 0.6933 MB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.9398, allocations: 9.422 kB / 1.118 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.9399, allocations: 19.44 kB / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.9399, allocations: 0 / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.9639, allocations: 2.187 MB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/0.9642, allocations: 185.7 kB / 1.12 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.648, allocations: 0 / 1.12 GB, free: 15.37 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)