Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.266/2.266, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 186.3 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.559/2.559, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001681/0.00168, allocations: 95.72 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004839, allocations: 11.91 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/0.4863, allocations: 133.5 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.4866, allocations: 87.94 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01427/0.5009, allocations: 2.99 MB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.501, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.501, allocations: 4 kB / 1.032 GB, free: 8.645 MB / 0.6823 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.0007413/0.5017, allocations: 424.7 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5018, allocations: 8.031 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.5019, allocations: 42.55 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.5019, allocations: 11.86 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.5021, allocations: 171 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.5021, allocations: 4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.5021, allocations: 11.98 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.5024, allocations: 65.66 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5024, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5025, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.5025, allocations: 4 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.5027, allocations: 43.97 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.5036, allocations: 328.6 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.5038, allocations: 50.56 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.5038, allocations: 8.062 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.5041, allocations: 79.5 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.5041, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006254/0.5047, allocations: 149.4 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.5048, allocations: 59.41 kB / 1.034 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.5049, allocations: 116.8 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.505, allocations: 29.7 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.505, allocations: 88.33 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5051, allocations: 23.8 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5051, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5052, allocations: 318.8 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.5054, allocations: 31.98 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5056, allocations: 50.55 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.5058, allocations: 32.31 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5058, allocations: 0 / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004077/0.5062, allocations: 121.5 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5062, allocations: 11.88 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5062, allocations: 4.062 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5063, allocations: 4 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5064, allocations: 11.98 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5065, allocations: 3.953 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.5066, allocations: 11.98 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.5066, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 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 0.0001331/0.5067, allocations: 125.5 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.5068, allocations: 11.91 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.5068, allocations: 8.375 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5068, allocations: 0 / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5069, allocations: 3.938 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5069, allocations: 7.938 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.5076, allocations: 386.5 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5076, allocations: 4 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.5077, allocations: 4 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.5077, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5077, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.5077, allocations: 3.953 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5077, allocations: 4 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.5082, allocations: 219.3 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.5083, allocations: 85.02 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.5083, allocations: 0 / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5085, allocations: 7.984 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.5085, allocations: 7.953 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.5086, allocations: 3.984 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.5086, allocations: 95.28 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5086, allocations: 0 / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004509/0.5091, allocations: 55.92 kB / 1.035 GB, free: 5.02 MB / 0.6823 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.001211/0.5103, allocations: 0.8239 MB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.5107, allocations: 72.22 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5108, allocations: 0 / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.5109, allocations: 44.25 kB / 1.036 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5112, allocations: 7.953 kB / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5122, allocations: 0.7381 MB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.5126, allocations: 0.6926 MB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.358e-05/0.5126, allocations: 4.188 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5127, allocations: 27.42 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.5127, allocations: 0 / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.5409, allocations: 2.506 MB / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.5412, allocations: 245 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/3.034, allocations: 8 kB / 1.04 GB, free: 15.93 MB / 0.698 GB