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.934/1.934, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001146/0.001146, allocations: 182.2 kB / 371.6 MB, free: 3.367 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.101/2.101, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008983/0.0008983, allocations: 93.91 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.167e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2978, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8654/1.163, allocations: 140.9 MB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.164, allocations: 80.84 kB / 1.118 GB, free: 43.14 MB / 0.7448 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.008225/1.172, allocations: 2.973 MB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/1.172, allocations: 0.9688 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.613e-06/1.172, allocations: 0 / 1.12 GB, free: 41.43 MB / 0.7448 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.000458/1.172, allocations: 421.5 kB / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.172, allocations: 8.031 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/1.172, allocations: 42.44 kB / 1.121 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/1.173, allocations: 10.41 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.173, allocations: 166.3 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.173, allocations: 4.078 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/1.173, allocations: 7.938 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/1.173, allocations: 60.97 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.173, allocations: 1.812 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.173, allocations: 0 / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.173, allocations: 0 / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/1.173, allocations: 30.77 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/1.173, allocations: 318.9 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/1.174, allocations: 41.91 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/1.174, allocations: 25.36 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.174, allocations: 4.062 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.174, allocations: 74.16 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.174, allocations: 0 / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002425/1.174, allocations: 100.3 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.174, allocations: 55.36 kB / 1.122 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/1.174, allocations: 117 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.174, allocations: 29.52 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/1.174, allocations: 92.11 kB / 1.122 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/1.174, allocations: 27.05 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/1.174, allocations: 0 / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.174, allocations: 318.8 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/1.174, allocations: 23.62 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/1.174, allocations: 38.73 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/1.174, allocations: 28.09 kB / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.175, allocations: 0 / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000138/1.175, allocations: 95.38 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.175, allocations: 8.562 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.175, allocations: 0 / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.175, allocations: 4.062 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/1.175, allocations: 12.19 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.175, allocations: 4.547 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/1.175, allocations: 12.12 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.175, allocations: 4.656 kB / 1.123 GB, free: 39.33 MB / 0.7448 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 6.395e-05/1.175, allocations: 114.4 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/1.175, allocations: 7.906 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/1.175, allocations: 15.72 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.175, allocations: 0 / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.175, allocations: 0 / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.175, allocations: 0 / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/1.175, allocations: 367.3 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.175, allocations: 0 / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/1.175, allocations: 12.48 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.175, allocations: 0 / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.175, allocations: 3.75 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.175, allocations: 7.938 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.175, allocations: 8.703 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/1.176, allocations: 189.7 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/1.176, allocations: 81.11 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/1.176, allocations: 0 / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/1.176, allocations: 8.078 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/1.176, allocations: 11.16 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.176, allocations: 8.453 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.387e-05/1.176, allocations: 92.47 kB / 1.123 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.176, allocations: 0 / 1.123 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002898/1.176, allocations: 51.22 kB / 1.123 GB, free: 38.41 MB / 0.7448 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.0006/1.177, allocations: 0.8013 MB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001399/1.177, allocations: 59.59 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.177, allocations: 0 / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/1.177, allocations: 27.09 kB / 1.124 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/1.177, allocations: 8.969 kB / 1.124 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/1.178, allocations: 152.5 kB / 1.125 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/1.178, allocations: 0.6953 MB / 1.125 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.876e-05/1.178, allocations: 6.688 kB / 1.125 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/1.178, allocations: 18.64 kB / 1.125 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.178, allocations: 0 / 1.125 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/1.193, allocations: 2.512 MB / 1.128 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.193, allocations: 215 kB / 1.128 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.769, allocations: 8.641 kB / 1.128 GB, free: 35.08 MB / 0.7448 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)