Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.179/2.179, 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.001473/0.001473, allocations: 184.3 kB / 325.5 MB, free: 2.906 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.658/2.658, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.00117/0.001169, allocations: 91.34 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004678, allocations: 12.66 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.4498, allocations: 133.5 MB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.4502, allocations: 87.94 kB / 1.029 GB, free: 11.72 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.01422/0.4644, allocations: 2.99 MB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4645, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4645, allocations: 4 kB / 1.032 GB, free: 8.723 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.0007108/0.4652, allocations: 428.7 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.4653, allocations: 12.03 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.4653, allocations: 34.56 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.4654, allocations: 11.86 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4655, allocations: 171 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.4656, allocations: 8 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.4656, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.4659, allocations: 69.59 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.4659, allocations: 0 / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4659, allocations: 0 / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.4659, allocations: 8 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.4662, allocations: 43.97 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/0.467, allocations: 320.6 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4672, allocations: 54.5 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.4673, allocations: 12.05 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.4675, allocations: 75.52 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.195e-06/0.4675, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000619/0.4682, allocations: 153.4 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.4682, allocations: 55.41 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4683, allocations: 112.9 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4684, allocations: 29.7 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.4685, allocations: 92.31 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.4685, allocations: 19.8 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.4685, allocations: 0 / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4687, allocations: 318.8 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.4688, allocations: 31.98 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.469, allocations: 50.56 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.4692, allocations: 31.98 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4692, allocations: 0 / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003982/0.4696, allocations: 121.5 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4696, allocations: 7.938 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4696, allocations: 3.984 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4697, allocations: 4 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4698, allocations: 15.92 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4698, allocations: 7.891 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.47, allocations: 8 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.47, allocations: 4 kB / 1.034 GB, free: 6.207 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.0001271/0.4701, allocations: 129.6 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.4702, allocations: 3.906 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.4702, allocations: 12.38 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4702, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4702, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4703, allocations: 3.953 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.471, allocations: 390.4 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.471, allocations: 0 / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.4711, allocations: 7.984 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4711, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4711, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4711, allocations: 3.953 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4711, allocations: 480 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.4716, allocations: 227.3 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.4717, allocations: 85.02 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4717, allocations: 4 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4718, allocations: 4 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4719, allocations: 15.94 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4719, allocations: 0 / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.472, allocations: 99.27 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.472, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004454/0.4725, allocations: 51.92 kB / 1.035 GB, free: 5.094 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.001131/0.4736, allocations: 0.808 MB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.474, allocations: 75.95 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.4741, allocations: 128 / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.4742, allocations: 43.92 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.4745, allocations: 11.94 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.4755, allocations: 0.738 MB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.4758, allocations: 0.6887 MB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.4759, allocations: 16.16 kB / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.476, allocations: 15.44 kB / 1.038 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/0.476, allocations: 0 / 1.038 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.4985, allocations: 2.504 MB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/0.4988, allocations: 245.3 kB / 1.04 GB, free: 20 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/2.94, allocations: 0 / 1.04 GB, free: 20 kB / 0.6823 GB