Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.473/1.473, allocations: 249.5 MB / 257 MB, free: 6.844 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.001932/0.001932, allocations: 184.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008122/0.0008121, allocations: 90.48 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.365e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2011, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/0.9466, allocations: 133.9 MB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.947, allocations: 80.2 kB / 1.016 GB, free: 3.441 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.008918/0.9559, allocations: 2.962 MB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9559, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.956, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.6355 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.0004763/0.9564, allocations: 409.5 kB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.9565, allocations: 15.97 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.9565, allocations: 7.984 kB / 1.019 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.9567, allocations: 178.9 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.9567, allocations: 0 / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.9567, allocations: 4 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.238e-05/0.9568, allocations: 21.12 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.9569, allocations: 56.17 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.957, allocations: 0 / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.957, allocations: 0 / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.957, allocations: 1.062 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.9576, allocations: 299.5 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.9577, allocations: 39.81 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.9577, allocations: 23.42 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.9577, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.9579, allocations: 69.58 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.9579, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002708/0.9581, allocations: 98.08 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.9582, allocations: 55.41 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.9583, allocations: 112.1 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.9583, allocations: 25.7 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.9584, allocations: 98.86 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.9584, allocations: 14.95 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.9584, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9586, allocations: 322.1 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.9586, allocations: 15.42 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.9587, allocations: 42.67 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.9587, allocations: 26.55 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9588, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000151/0.9589, allocations: 86.59 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.9589, allocations: 10.62 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.959, allocations: 3.984 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.959, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.9591, allocations: 12 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.9591, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.9592, allocations: 16.33 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.9592, allocations: 8.062 kB / 1.021 GB, free: 14.82 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 7.852e-05/0.9593, allocations: 114.8 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001475/0.9595, allocations: 96.97 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.9595, allocations: 7.906 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.9595, allocations: 15.92 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9595, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9595, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9596, allocations: 3.953 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.9599, allocations: 341 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.9599, allocations: 4 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.96, allocations: 7.984 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.96, allocations: 3.984 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.96, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.96, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.96, allocations: 3.953 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.9602, allocations: 193.4 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.9603, allocations: 89 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.9603, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.9604, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.9605, allocations: 15.56 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.9605, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.936e-05/0.9605, allocations: 87.22 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9605, allocations: 3.938 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003433/0.9609, allocations: 55.67 kB / 1.022 GB, free: 13.79 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.0007014/0.9616, allocations: 0.788 MB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.9618, allocations: 55.23 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9618, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.9618, allocations: 31.55 kB / 1.023 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.962, allocations: 7.812 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.9625, allocations: 149.5 kB / 1.023 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.9628, allocations: 0.6885 MB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.9628, allocations: 8.312 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.9628, allocations: 23.17 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9629, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.9835, allocations: 2.194 MB / 1.026 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.9838, allocations: 202.7 kB / 1.026 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.526, allocations: 0 / 1.026 GB, free: 9.578 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)