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.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001302/0.001302, allocations: 181.1 kB / 377.1 MB, free: 1.52 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.964/1.964, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.0008385/0.0008382, allocations: 93.38 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2949, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7639/1.059, allocations: 141 MB / 1.126 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.059, allocations: 86.77 kB / 1.126 GB, free: 33.98 MB / 0.7292 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.008352/1.068, allocations: 2.987 MB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/1.068, allocations: 0 / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.068, allocations: 4 kB / 1.129 GB, free: 31.83 MB / 0.7292 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.0004717/1.068, allocations: 428.1 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.068, allocations: 12.02 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/1.068, allocations: 34.08 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/1.068, allocations: 14.5 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/1.068, allocations: 171 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.068, allocations: 11.44 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/1.068, allocations: 4 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/1.069, allocations: 68.38 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.069, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.069, allocations: 4.547 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.069, allocations: 0.5 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/1.069, allocations: 51.08 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/1.069, allocations: 315.2 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.069, allocations: 54.05 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.069, allocations: 6.484 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/1.07, allocations: 79.27 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.07, allocations: 0 / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003606/1.07, allocations: 151.4 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/1.07, allocations: 58.97 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/1.07, allocations: 112.5 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/1.07, allocations: 26.36 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/1.07, allocations: 96.23 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/1.07, allocations: 19.42 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/1.07, allocations: 0 / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/1.07, allocations: 318.4 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/1.07, allocations: 35.5 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/1.07, allocations: 54.16 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.876e-05/1.07, allocations: 29.52 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.07, allocations: 4 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001977/1.071, allocations: 119.3 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.071, allocations: 8.062 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.071, allocations: 0 / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.071, allocations: 4 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/1.071, allocations: 11.42 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.071, allocations: 1.656 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/1.071, allocations: 12.47 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.071, allocations: 15.31 kB / 1.131 GB, free: 29.48 MB / 0.7292 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 () * Number of clocked 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.74e-05/1.071, allocations: 121.8 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/1.071, allocations: 0 / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/1.071, allocations: 12.38 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.071, allocations: 0.5625 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.071, allocations: 0.5625 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.071, allocations: 3.469 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/1.071, allocations: 394 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.071, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/1.071, allocations: 4.5 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.072, allocations: 0.9375 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.072, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.072, allocations: 4.625 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.072, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/1.072, allocations: 222.8 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/1.072, allocations: 85.05 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/1.072, allocations: 0 / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/1.072, allocations: 4 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/1.072, allocations: 15.36 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/1.072, allocations: 0 / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.043e-05/1.072, allocations: 97.38 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.072, allocations: 8 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002841/1.072, allocations: 51.31 kB / 1.132 GB, free: 28.45 MB / 0.7292 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 () * Number of clocked 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.0006523/1.073, allocations: 0.8214 MB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002132/1.073, allocations: 75.09 kB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.073, allocations: 0 / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/1.073, allocations: 39.55 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/1.073, allocations: 7.938 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/1.074, allocations: 0.7387 MB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/1.074, allocations: 0.6912 MB / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.662e-05/1.074, allocations: 9.438 kB / 1.135 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/1.074, allocations: 18.95 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.074, allocations: 1.125 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/1.087, allocations: 2.494 MB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.088, allocations: 242.3 kB / 1.137 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.71, allocations: 3.094 kB / 1.137 GB, free: 24.45 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)