Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001573/0.001573, allocations: 186.9 kB / 371.8 MB, free: 10.28 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.753/1.753, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.000885, allocations: 90.86 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 10.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2617, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7604/1.022, allocations: 140 MB / 1.116 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.022, allocations: 86.5 kB / 1.116 GB, free: 16.21 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.008791/1.031, allocations: 2.993 MB / 1.119 GB, free: 31.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.396e-06/1.031, allocations: 3.781 kB / 1.119 GB, free: 31.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.031, allocations: 0 / 1.119 GB, free: 31.76 MB / 0.698 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.0006038/1.032, allocations: 427.9 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.032, allocations: 11.47 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/1.032, allocations: 41.16 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/1.032, allocations: 3.844 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.032, allocations: 173.5 kB / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.032, allocations: 3.812 kB / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/1.032, allocations: 7.531 kB / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/1.032, allocations: 72.59 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.032, allocations: 0 / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.032, allocations: 0 / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.032, allocations: 3.656 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/1.033, allocations: 42.78 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/1.033, allocations: 325.7 kB / 1.12 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.033, allocations: 51.39 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/1.033, allocations: 3.812 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/1.034, allocations: 82.02 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.034, allocations: 0 / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/1.034, allocations: 146.4 kB / 1.121 GB, free: 30.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.034, allocations: 63.19 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/1.034, allocations: 114.8 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/1.034, allocations: 29.55 kB / 1.121 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/1.034, allocations: 88.11 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/1.034, allocations: 18.42 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/1.034, allocations: 0 / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.034, allocations: 321.6 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/1.034, allocations: 29.67 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/1.034, allocations: 51.8 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/1.035, allocations: 29.81 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.035, allocations: 0 / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000221/1.035, allocations: 123 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.035, allocations: 7.688 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.035, allocations: 0 / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.035, allocations: 0 / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/1.035, allocations: 26.3 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.035, allocations: 400 / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/1.035, allocations: 11.81 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/1.035, allocations: 10.8 kB / 1.121 GB, free: 29.97 MB / 0.698 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 8.536e-05/1.035, allocations: 114.1 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/1.035, allocations: 7.953 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/1.035, allocations: 12.12 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.035, allocations: 2.906 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.035, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.035, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/1.036, allocations: 396.1 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.036, allocations: 0 / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/1.036, allocations: 7.016 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.036, allocations: 4 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.036, allocations: 3.781 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.036, allocations: 0 / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.036, allocations: 6.859 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/1.036, allocations: 217.4 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/1.036, allocations: 84.92 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.036, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/1.036, allocations: 10.28 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/1.036, allocations: 10.5 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/1.036, allocations: 3.844 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.798e-05/1.036, allocations: 95.62 kB / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.036, allocations: 0 / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003457/1.037, allocations: 52.73 kB / 1.122 GB, free: 29.2 MB / 0.698 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.0009618/1.038, allocations: 0.8216 MB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002548/1.038, allocations: 77.92 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.038, allocations: 0 / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/1.038, allocations: 37.98 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/1.038, allocations: 2.859 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/1.039, allocations: 0.7372 MB / 1.124 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/1.039, allocations: 0.6946 MB / 1.125 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.082e-05/1.039, allocations: 8.641 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/1.04, allocations: 21.88 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/1.04, allocations: 0 / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/1.052, allocations: 2.511 MB / 1.127 GB, free: 26.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.053, allocations: 248.9 kB / 1.127 GB, free: 26.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.703, allocations: 2.531 kB / 1.127 GB, free: 26.55 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)