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.426/2.426, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.00153/0.00153, allocations: 186 kB / 315.4 MB, free: 3.996 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.12/2.12, allocations: 205.3 MB / 0.5662 GB, free: 0.582 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.001064/0.001064, allocations: 90.47 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.545e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9358/1.211, allocations: 133.7 MB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/1.211, allocations: 78.83 kB / 1.015 GB, free: 5 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.01447/1.225, allocations: 2.967 MB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.226, allocations: 1.031 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.226, allocations: 0 / 1.018 GB, free: 2.488 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.0007288/1.226, allocations: 418.5 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.226, allocations: 8.031 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/1.226, allocations: 19.84 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/1.227, allocations: 167 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/1.227, allocations: 4 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/1.227, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/1.227, allocations: 21.44 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/1.227, allocations: 56.48 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/1.227, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.227, allocations: 3.938 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.227, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/1.228, allocations: 297 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/1.228, allocations: 44.5 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/1.228, allocations: 19.55 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/1.228, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/1.228, allocations: 77.27 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.769e-06/1.228, allocations: 3.984 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003563/1.229, allocations: 89.45 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.229, allocations: 61.92 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.229, allocations: 110.7 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.229, allocations: 25.7 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/1.229, allocations: 90.77 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/1.229, allocations: 23.8 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/1.229, allocations: 3.188 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.229, allocations: 318.4 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/1.229, allocations: 19.11 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/1.229, allocations: 40.45 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/1.229, allocations: 23.56 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.229, allocations: 8 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002553/1.23, allocations: 87.78 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.23, allocations: 7.984 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.23, allocations: 3.938 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.23, allocations: 4.875 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.23, allocations: 8 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/1.23, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/1.23, allocations: 15.84 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/1.23, allocations: 4.062 kB / 1.02 GB, free: 368 kB / 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.0001107/1.23, allocations: 109 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002551/1.231, allocations: 96.3 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/1.231, allocations: 7.906 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/1.231, allocations: 12.23 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.231, allocations: 0 / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.231, allocations: 3.953 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.231, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/1.231, allocations: 337.7 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.231, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/1.231, allocations: 11.92 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.231, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.231, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/1.231, allocations: 3.953 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.231, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/1.232, allocations: 199.4 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/1.232, allocations: 89 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/1.232, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/1.232, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/1.232, allocations: 11.94 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/1.232, allocations: 4 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.884e-05/1.232, allocations: 97.2 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.232, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004853/1.233, allocations: 43.94 kB / 1.021 GB, free: 15.33 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.001131/1.234, allocations: 0.797 MB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002393/1.234, allocations: 53.12 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.234, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/1.234, allocations: 30.08 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/1.235, allocations: 4.109 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/1.235, allocations: 159.6 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/1.236, allocations: 0.6924 MB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.712e-05/1.236, allocations: 8.312 kB / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/1.236, allocations: 17.05 kB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.236, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/1.277, allocations: 2.181 MB / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.277, allocations: 194.6 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/3.702, allocations: 2.344 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB