Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.47/2.47, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001506/0.001505, allocations: 176.9 kB / 360.6 MB, free: 7.309 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.285/2.285, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001082/0.001081, allocations: 94.88 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.527e-05, allocations: 0 / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8296, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/1.098, allocations: 139.1 MB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.099, allocations: 82.14 kB / 1.099 GB, free: 1.27 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01443/1.113, allocations: 2.968 MB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/1.113, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.113, allocations: 0.6562 kB / 1.102 GB, free: 14.36 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.0007396/1.114, allocations: 418.9 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.114, allocations: 8.031 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/1.114, allocations: 8.625 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/1.114, allocations: 178.9 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/1.114, allocations: 4.656 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/1.115, allocations: 4.625 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/1.115, allocations: 20 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/1.115, allocations: 54.39 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.115, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.115, allocations: 0.875 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.115, allocations: 4 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/1.116, allocations: 295.9 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/1.116, allocations: 43.56 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/1.116, allocations: 20.98 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/1.116, allocations: 4.719 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/1.116, allocations: 78.61 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/1.116, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003682/1.117, allocations: 93.61 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.117, allocations: 51.41 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.117, allocations: 115 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/1.117, allocations: 25.7 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/1.117, allocations: 93.2 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/1.117, allocations: 19.75 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/1.117, allocations: 2.312 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.117, allocations: 322.8 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/1.117, allocations: 16 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/1.117, allocations: 38.56 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/1.117, allocations: 27.98 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.117, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002595/1.118, allocations: 89.52 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.118, allocations: 4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.118, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.118, allocations: 4 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/1.118, allocations: 15.98 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.118, allocations: 8 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1.118, allocations: 11.98 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.118, allocations: 0 / 1.104 GB, free: 12.12 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.0001174/1.118, allocations: 114.3 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002673/1.119, allocations: 96.7 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/1.119, allocations: 4 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/1.119, allocations: 8.625 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.119, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.119, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.119, allocations: 7.953 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/1.119, allocations: 340.1 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.119, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/1.119, allocations: 4 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.119, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/1.119, allocations: 3.984 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.119, allocations: 5.312 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.119, allocations: 3.953 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/1.12, allocations: 197.5 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/1.12, allocations: 84.95 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/1.12, allocations: 3.984 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/1.12, allocations: 4 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/1.12, allocations: 15.94 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.12, allocations: 4 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.459e-05/1.12, allocations: 91.28 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.12, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004881/1.121, allocations: 47.92 kB / 1.105 GB, free: 11.01 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.001065/1.122, allocations: 0.7959 MB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002384/1.122, allocations: 47.98 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.122, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/1.122, allocations: 27.94 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/1.122, allocations: 14.11 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/1.123, allocations: 144.5 kB / 1.106 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/1.124, allocations: 0.6964 MB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.407e-05/1.124, allocations: 7.969 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/1.124, allocations: 23.42 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of SimCode: time 1.292e-06/1.124, allocations: 0 / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/1.166, allocations: 2.179 MB / 1.109 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003639/1.166, allocations: 191 kB / 1.109 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.642, allocations: 0 / 1.109 GB, free: 6.875 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)