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.191/2.191, allocations: 248.5 MB / 261.1 MB, free: 6.051 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.001428/0.001428, allocations: 180.2 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001141/0.001141, allocations: 90.48 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.884e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9244/1.133, allocations: 133.5 MB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/1.134, allocations: 84.08 kB / 1.021 GB, free: 1.738 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.01974/1.154, allocations: 2.976 MB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.365e-06/1.154, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.154, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.6511 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.0009295/1.155, allocations: 407.9 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/1.155, allocations: 8.031 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.202e-05/1.155, allocations: 37.42 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/1.155, allocations: 11.86 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/1.155, allocations: 174.9 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/1.155, allocations: 7.312 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/1.155, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/1.156, allocations: 60.55 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.156, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.156, allocations: 1.25 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/1.156, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/1.156, allocations: 31.66 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/1.157, allocations: 318.3 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/1.157, allocations: 41.02 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/1.157, allocations: 23.84 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/1.157, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/1.158, allocations: 69.89 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/1.158, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003476/1.158, allocations: 112.3 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.158, allocations: 51.41 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.158, allocations: 112 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.158, allocations: 29.58 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.158, allocations: 88.2 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/1.158, allocations: 18.94 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/1.158, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.158, allocations: 326.6 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/1.159, allocations: 18.88 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/1.159, allocations: 37.94 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/1.159, allocations: 27.62 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.159, allocations: 7.984 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002934/1.159, allocations: 93.66 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.159, allocations: 7.938 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.159, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.159, allocations: 7.938 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/1.159, allocations: 15.94 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.159, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/1.16, allocations: 23.14 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/1.16, allocations: 0 / 1.026 GB, free: 12.97 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 0.000122/1.16, allocations: 112.9 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/1.16, allocations: 4 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/1.16, allocations: 12.12 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.16, allocations: 3.984 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.16, allocations: 3.953 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.16, allocations: 3.984 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/1.161, allocations: 362.7 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.161, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/1.161, allocations: 7.984 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.161, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.161, allocations: 3.953 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.161, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.161, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/1.161, allocations: 200.5 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/1.161, allocations: 81.02 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/1.162, allocations: 8 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/1.162, allocations: 7.953 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/1.162, allocations: 7.922 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/1.162, allocations: 7.875 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.79e-05/1.162, allocations: 92.94 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.62e-07/1.162, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007108/1.163, allocations: 50.38 kB / 1.027 GB, free: 11.98 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.001292/1.164, allocations: 0.7931 MB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003154/1.164, allocations: 65.09 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.164, allocations: 128 / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/1.165, allocations: 34.92 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/1.165, allocations: 7.703 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/1.166, allocations: 154.4 kB / 1.028 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.166, allocations: 0.6926 MB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.895e-05/1.166, allocations: 8.172 kB / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/1.166, allocations: 18.88 kB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.166, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/1.193, allocations: 2.514 MB / 1.031 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003447/1.193, allocations: 215 kB / 1.031 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.708, allocations: 0 / 1.031 GB, free: 7.617 MB / 0.6511 GB