Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.367/2.367, 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.001555/0.001555, allocations: 184 kB / 325.5 MB, free: 2.895 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.238/2.238, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001169/0.001169, allocations: 98.05 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 15.55 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2053, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.474/7.679, allocations: 2.459 GB / 3.358 GB, free: 60.01 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/7.679, allocations: 102.5 kB / 3.358 GB, free: 59.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.711/12.39, allocations: 0.8518 GB / 4.21 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.595e-06/12.39, allocations: 0 / 4.21 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003485/12.39, allocations: 55.12 kB / 4.21 GB, free: 128.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.008775/12.4, allocations: 2.763 MB / 4.212 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/12.4, allocations: 10.97 kB / 4.212 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000812/12.4, allocations: 201.3 kB / 4.212 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/12.4, allocations: 376.6 kB / 4.213 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/12.41, allocations: 2.064 MB / 4.215 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/12.41, allocations: 107.1 kB / 4.215 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/12.41, allocations: 140.2 kB / 4.215 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/12.41, allocations: 1.604 MB / 4.217 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/12.41, allocations: 7.344 kB / 4.217 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/12.41, allocations: 53.91 kB / 4.217 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/12.41, allocations: 49.39 kB / 4.217 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/12.42, allocations: 1.251 MB / 4.218 GB, free: 126.6 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/12.43, allocations: 6.459 MB / 4.224 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/12.43, allocations: 0.9415 MB / 4.225 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/12.44, allocations: 0.6792 MB / 4.226 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/12.44, allocations: 50.41 kB / 4.226 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=83): time 3.707e-06/12.44, allocations: 0 / 4.226 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.009886/12.45, allocations: 3.914 MB / 4.23 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/12.45, allocations: 196.2 kB / 4.23 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/12.45, allocations: 1.806 MB / 4.232 GB, free: 122 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/12.45, allocations: 46.05 kB / 4.232 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000948/12.45, allocations: 0.8804 MB / 4.233 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00042/12.45, allocations: 294.2 kB / 4.233 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/12.45, allocations: 18.03 kB / 4.233 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/12.45, allocations: 340.2 kB / 4.233 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/12.45, allocations: 0.6043 MB / 4.234 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/12.45, allocations: 0.8699 MB / 4.235 GB, free: 120.9 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/12.46, allocations: 2.412 MB / 4.237 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/12.46, allocations: 0 / 4.237 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004266/12.47, allocations: 1.845 MB / 4.239 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004576/12.47, allocations: 1.665 MB / 4.24 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/12.47, allocations: 5.953 kB / 4.24 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/12.47, allocations: 10.75 kB / 4.24 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/12.47, allocations: 172.5 kB / 4.241 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/12.47, allocations: 13.05 kB / 4.241 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/12.47, allocations: 120.4 kB / 4.241 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/12.47, allocations: 52.56 kB / 4.241 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/12.47, allocations: 3.719 kB / 4.241 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003798/12.48, allocations: 1.841 MB / 4.243 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/12.48, allocations: 3.938 kB / 4.243 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/12.48, allocations: 10.19 kB / 4.243 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/12.48, allocations: 180.7 kB / 4.243 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/12.48, allocations: 11.36 kB / 4.243 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/12.48, allocations: 115.2 kB / 4.243 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/12.48, allocations: 53.64 kB / 4.243 GB, free: 118.1 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.001912/12.48, allocations: 0.7135 MB / 4.244 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006736/12.48, allocations: 198.3 kB / 4.244 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/12.49, allocations: 1.474 MB / 4.245 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/12.49, allocations: 7.875 kB / 4.245 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/12.49, allocations: 3 kB / 4.245 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002742/12.49, allocations: 1.557 MB / 4.247 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009039/12.5, allocations: 3.617 MB / 4.25 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/12.5, allocations: 3.469 kB / 4.25 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/12.5, allocations: 174.5 kB / 4.251 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/12.5, allocations: 6.719 kB / 4.251 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/12.5, allocations: 23.59 kB / 4.251 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/12.5, allocations: 14.28 kB / 4.251 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/12.5, allocations: 6.406 kB / 4.251 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/12.5, allocations: 2.805 MB / 4.253 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/12.51, allocations: 454.6 kB / 4.254 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006368/12.51, allocations: 34.83 kB / 4.254 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/12.51, allocations: 111.8 kB / 4.254 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/12.51, allocations: 97.89 kB / 4.254 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/12.51, allocations: 37.12 kB / 4.254 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00346/12.51, allocations: 1.405 MB / 4.255 GB, free: 115 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/12.51, allocations: 7.094 kB / 4.255 GB, free: 115 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005059/12.52, allocations: 0.999 MB / 4.256 GB, free: 115 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.009989/12.53, allocations: 6.691 MB / 4.263 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005843/12.53, allocations: 3.048 MB / 4.266 GB, free: 111 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/12.53, allocations: 3.312 kB / 4.266 GB, free: 111 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/12.54, allocations: 1.008 MB / 4.267 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008128/12.54, allocations: 1.002 MB / 4.268 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/12.56, allocations: 7.835 MB / 4.275 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/12.56, allocations: 1.569 MB / 4.277 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003059/12.56, allocations: 430.4 kB / 4.277 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/12.57, allocations: 0.7659 MB / 4.278 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/12.57, allocations: 0 / 4.278 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/12.75, allocations: 83.34 MB / 4.36 GB, free: 65.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/12.75, allocations: 226.5 kB / 4.36 GB, free: 64.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.045/18.79, allocations: 0 / 4.36 GB, free: 64.88 MB / 0.8855 GB