Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001125, allocations: 176.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.2 MB / 0.572 GB, free: 10.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008848, allocations: 78.44 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.396e-05/4.398e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2546, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8372/1.092, allocations: 133.6 MB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.092, allocations: 89.06 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009282/1.102, allocations: 2.966 MB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/1.102, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.102, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 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.000504/1.102, allocations: 418 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.102, allocations: 11.97 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/1.102, allocations: 37.8 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/1.102, allocations: 7.984 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.102, allocations: 170.9 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/1.102, allocations: 4 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/1.102, allocations: 6.938 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/1.103, allocations: 63.36 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.103, allocations: 7.938 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/1.103, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.103, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/1.103, allocations: 33.91 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/1.103, allocations: 310.5 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/1.104, allocations: 40.7 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/1.104, allocations: 23.48 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/1.104, allocations: 11.92 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/1.104, allocations: 70.44 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.104, allocations: 0 / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000271/1.104, allocations: 107.4 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/1.104, allocations: 55.41 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.733e-05/1.104, allocations: 112.5 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/1.104, allocations: 25.7 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/1.104, allocations: 95.48 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/1.104, allocations: 10.97 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.104, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.105, allocations: 322.7 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/1.105, allocations: 23.44 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/1.105, allocations: 44.94 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/1.105, allocations: 23.56 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.105, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001615/1.105, allocations: 103.2 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.105, allocations: 4 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.105, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.105, allocations: 4 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/1.105, allocations: 16.05 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.105, allocations: 3.953 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/1.105, allocations: 11.91 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/1.105, allocations: 7.922 kB / 1.027 GB, free: 12.27 MB / 0.6511 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 8.759e-05/1.105, allocations: 108.7 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/1.105, allocations: 4 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/1.105, allocations: 7.75 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.105, allocations: 8 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.105, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.105, allocations: 3.953 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/1.106, allocations: 361.7 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.106, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/1.106, allocations: 7.984 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.106, allocations: 4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.106, allocations: 6.812 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.106, allocations: 7.891 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.106, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.106, allocations: 193.1 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/1.106, allocations: 85 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/1.106, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/1.106, allocations: 4 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/1.106, allocations: 11.88 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/1.106, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.081e-05/1.106, allocations: 104.9 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.106, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00032/1.107, allocations: 51.38 kB / 1.028 GB, free: 11.29 MB / 0.6511 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.0008429/1.108, allocations: 0.7965 MB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001496/1.108, allocations: 50.06 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.108, allocations: 7.875 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/1.108, allocations: 35.28 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/1.108, allocations: 10.02 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/1.109, allocations: 154 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/1.109, allocations: 0.6928 MB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.197e-05/1.109, allocations: 8.172 kB / 1.03 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/1.109, allocations: 18.31 kB / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.109, allocations: 0 / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/1.123, allocations: 2.529 MB / 1.033 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/1.123, allocations: 224.6 kB / 1.033 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.711, allocations: 0 / 1.033 GB, free: 6.883 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)