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.305/2.305, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001458/0.001458, allocations: 183.4 kB / 315.4 MB, free: 3.988 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.117/2.117, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 90.23 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.957e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2161, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8989/1.115, allocations: 133.7 MB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.115, allocations: 84.75 kB / 1.015 GB, free: 5.375 MB / 0.6355 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.01408/1.13, allocations: 2.96 MB / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.13, allocations: 0 / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.13, allocations: 4 kB / 1.018 GB, free: 2.871 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.0006987/1.13, allocations: 415.7 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.13, allocations: 8.031 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/1.13, allocations: 11.86 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/1.131, allocations: 171 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/1.131, allocations: 7.938 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/1.131, allocations: 7.984 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/1.131, allocations: 19.5 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/1.131, allocations: 57.36 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.131, allocations: 3.938 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.131, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.131, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/1.132, allocations: 296.5 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/1.132, allocations: 46 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/1.132, allocations: 24.73 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/1.132, allocations: 0 / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/1.132, allocations: 67.7 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/1.132, allocations: 0 / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003507/1.133, allocations: 97.78 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.133, allocations: 55.36 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.133, allocations: 112.5 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.133, allocations: 29.7 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/1.133, allocations: 83.77 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/1.133, allocations: 31.61 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/1.133, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.133, allocations: 322.4 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/1.133, allocations: 15.81 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/1.133, allocations: 42.19 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/1.133, allocations: 19.94 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.133, allocations: 0 / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/1.134, allocations: 92.83 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.134, allocations: 12 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.134, allocations: 0 / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.134, allocations: 0 / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.134, allocations: 15.98 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.134, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.134, allocations: 15.84 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.134, allocations: 6.5 kB / 1.02 GB, free: 0.7461 MB / 0.6355 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 0.0001097/1.134, allocations: 115.7 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002429/1.135, allocations: 89.05 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/1.135, allocations: 7.906 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/1.135, allocations: 8.625 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.135, allocations: 0 / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.135, allocations: 3.953 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.135, allocations: 3.984 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/1.135, allocations: 333.8 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.135, allocations: 0 / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/1.135, allocations: 11.98 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.135, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/1.135, allocations: 0 / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.135, allocations: 3.953 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.135, allocations: 3.938 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/1.136, allocations: 190.7 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/1.136, allocations: 85.02 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/1.136, allocations: 3.984 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/1.136, allocations: 8 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/1.136, allocations: 19.81 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.136, allocations: 7.938 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.865e-05/1.136, allocations: 86.84 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.136, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000454/1.137, allocations: 51.8 kB / 1.021 GB, free: 15.71 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.001027/1.138, allocations: 0.788 MB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001986/1.138, allocations: 55.55 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.138, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/1.138, allocations: 27.5 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/1.138, allocations: 11.94 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.139, allocations: 153.2 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/1.14, allocations: 0.6885 MB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7e-05/1.14, allocations: 4.188 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/1.14, allocations: 19.36 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.14, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/1.178, allocations: 2.185 MB / 1.024 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/1.178, allocations: 190.6 kB / 1.025 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.569, allocations: 0 / 1.025 GB, free: 11.58 MB / 0.6511 GB