Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",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.389/2.389, allocations: 251 MB / 265.9 MB, free: 11.7 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.001561/0.00156, allocations: 185.2 kB / 325.5 MB, free: 2.898 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.422/2.422, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001276/0.001276, allocations: 96.3 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.0005321, allocations: 12.5 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2001, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.608/7.808, allocations: 2.461 GB / 3.36 GB, free: 58.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/7.809, allocations: 108.2 kB / 3.36 GB, free: 58.69 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.594/14.4, allocations: 1.208 GB / 4.568 GB, free: 94.28 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.895e-06/14.4, allocations: 0 / 4.568 GB, free: 94.28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000643/14.4, allocations: 92.06 kB / 4.568 GB, free: 94.27 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01463/14.42, allocations: 4.325 MB / 4.572 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/14.42, allocations: 11 kB / 4.572 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/14.42, allocations: 291.6 kB / 4.573 GB, free: 92.04 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/14.42, allocations: 0.5296 MB / 4.573 GB, free: 91.83 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/14.44, allocations: 3.416 MB / 4.577 GB, free: 91.22 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/14.44, allocations: 164.4 kB / 4.577 GB, free: 91.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008492/14.44, allocations: 233.7 kB / 4.577 GB, free: 91.21 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007692/14.44, allocations: 2.575 MB / 4.579 GB, free: 90.91 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/14.44, allocations: 6.062 kB / 4.579 GB, free: 90.91 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/14.44, allocations: 89.19 kB / 4.58 GB, free: 90.91 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/14.44, allocations: 72.56 kB / 4.58 GB, free: 90.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006546/14.45, allocations: 2.027 MB / 4.582 GB, free: 90.89 MB / 0.9011 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.02309/14.47, allocations: 10.5 MB / 4.592 GB, free: 87.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/14.48, allocations: 1.546 MB / 4.593 GB, free: 87.45 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/14.48, allocations: 1.176 MB / 4.594 GB, free: 86.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/14.48, allocations: 52.31 kB / 4.595 GB, free: 86.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=126): time 4.879e-06/14.48, allocations: 0 / 4.595 GB, free: 86.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=134): time 0.01794/14.5, allocations: 6.79 MB / 4.601 GB, free: 84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/14.5, allocations: 340.4 kB / 4.602 GB, free: 83.62 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008488/14.51, allocations: 3.095 MB / 4.605 GB, free: 83.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006037/14.51, allocations: 60.3 kB / 4.605 GB, free: 83.36 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/14.51, allocations: 1.473 MB / 4.606 GB, free: 82.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008257/14.51, allocations: 450.4 kB / 4.606 GB, free: 82.71 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/14.51, allocations: 29.84 kB / 4.606 GB, free: 82.71 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001448/14.51, allocations: 373.3 kB / 4.607 GB, free: 82.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/14.51, allocations: 1.073 MB / 4.608 GB, free: 82.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/14.52, allocations: 1.523 MB / 4.609 GB, free: 81.98 MB / 0.9011 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.0121/14.53, allocations: 4.262 MB / 4.614 GB, free: 81.09 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/14.53, allocations: 3.875 kB / 4.614 GB, free: 81.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008047/14.54, allocations: 3.321 MB / 4.617 GB, free: 80.46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008284/14.54, allocations: 2.94 MB / 4.62 GB, free: 77.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/14.54, allocations: 7.344 kB / 4.62 GB, free: 77.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/14.54, allocations: 150.3 kB / 4.62 GB, free: 77.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/14.54, allocations: 263.4 kB / 4.62 GB, free: 77.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/14.54, allocations: 1.292 MB / 4.621 GB, free: 76.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008077/14.55, allocations: 198.7 kB / 4.622 GB, free: 76.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006378/14.55, allocations: 86.09 kB / 4.622 GB, free: 76.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/14.55, allocations: 5.188 kB / 4.622 GB, free: 76.34 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007323/14.56, allocations: 3.412 MB / 4.625 GB, free: 75.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/14.56, allocations: 6.281 kB / 4.625 GB, free: 75.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/14.56, allocations: 146.2 kB / 4.625 GB, free: 75.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/14.56, allocations: 260 kB / 4.625 GB, free: 75.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/14.56, allocations: 1.298 MB / 4.627 GB, free: 74.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/14.57, allocations: 194.5 kB / 4.627 GB, free: 74.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005544/14.57, allocations: 85.02 kB / 4.627 GB, free: 74.84 MB / 0.9011 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: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.00302/14.57, allocations: 1.112 MB / 4.628 GB, free: 74.46 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/14.57, allocations: 328.3 kB / 4.628 GB, free: 74.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/14.58, allocations: 2.547 MB / 4.631 GB, free: 73.99 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/14.58, allocations: 18.17 kB / 4.631 GB, free: 73.99 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/14.58, allocations: 3.406 kB / 4.631 GB, free: 73.99 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004719/14.58, allocations: 2.293 MB / 4.633 GB, free: 73.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/14.6, allocations: 5.983 MB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/14.6, allocations: 3.906 kB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/14.6, allocations: 259.6 kB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/14.6, allocations: 12.31 kB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/14.6, allocations: 43.03 kB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/14.6, allocations: 16.39 kB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/14.6, allocations: 13.81 kB / 4.639 GB, free: 72.76 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008827/14.61, allocations: 4.7 MB / 4.644 GB, free: 71.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/14.61, allocations: 0.7125 MB / 4.644 GB, free: 71.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/14.61, allocations: 49.36 kB / 4.645 GB, free: 71.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006499/14.62, allocations: 163.5 kB / 4.645 GB, free: 71.04 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009647/14.62, allocations: 168.9 kB / 4.645 GB, free: 71.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003738/14.62, allocations: 56.39 kB / 4.645 GB, free: 71.04 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01021/14.63, allocations: 2.399 MB / 4.647 GB, free: 70.89 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.122e-06/14.63, allocations: 0 / 4.647 GB, free: 70.89 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01326/14.65, allocations: 1.519 MB / 4.649 GB, free: 70.82 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.01632/14.66, allocations: 9.176 MB / 4.658 GB, free: 66.22 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01044/14.67, allocations: 5.607 MB / 4.663 GB, free: 63.12 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/14.67, allocations: 3.75 kB / 4.663 GB, free: 63.12 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/14.68, allocations: 1.912 MB / 4.665 GB, free: 62.12 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/14.69, allocations: 1.623 MB / 4.667 GB, free: 61.84 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/14.71, allocations: 12.83 MB / 4.679 GB, free: 53.12 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/14.72, allocations: 2.155 MB / 4.681 GB, free: 52.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004812/14.72, allocations: 0.6415 MB / 4.682 GB, free: 52.17 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003463/14.72, allocations: 1.37 MB / 4.683 GB, free: 51.09 MB / 0.9011 GB Notification: Performance of SimCode: time 1.383e-06/14.72, allocations: 0 / 4.683 GB, free: 51.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.027/15.75, allocations: 126 MB / 4.806 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/15.75, allocations: 269.2 kB / 4.806 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/23.63, allocations: 2.391 kB / 4.806 GB, free: 121.5 MB / 0.9323 GB