Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.348/1.348, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001133/0.001133, allocations: 180.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008854/0.0008854, allocations: 84.56 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 10.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2271, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.458/5.685, allocations: 2.461 GB / 3.361 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/5.685, allocations: 108.1 kB / 3.361 GB, free: 47.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.632/10.32, allocations: 1.205 GB / 4.566 GB, free: 93.24 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.934e-06/10.32, allocations: 3.25 kB / 4.566 GB, free: 93.24 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006159/10.32, allocations: 81.81 kB / 4.566 GB, free: 93.23 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: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01383/10.33, allocations: 4.138 MB / 4.57 GB, free: 91.11 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/10.33, allocations: 11.23 kB / 4.57 GB, free: 91.11 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001278/10.33, allocations: 278.7 kB / 4.57 GB, free: 91.06 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/10.34, allocations: 0.5163 MB / 4.571 GB, free: 90.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009955/10.35, allocations: 3.307 MB / 4.574 GB, free: 90.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/10.35, allocations: 157.2 kB / 4.574 GB, free: 90.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009367/10.35, allocations: 202.2 kB / 4.574 GB, free: 90.27 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006459/10.35, allocations: 2.427 MB / 4.577 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/10.35, allocations: 0 / 4.577 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/10.35, allocations: 85.03 kB / 4.577 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/10.35, allocations: 68.16 kB / 4.577 GB, free: 90.06 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/10.36, allocations: 1.905 MB / 4.579 GB, free: 90.04 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.01466/10.37, allocations: 9.822 MB / 4.588 GB, free: 87.01 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/10.37, allocations: 1.364 MB / 4.589 GB, free: 86.97 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008438/10.38, allocations: 1.178 MB / 4.591 GB, free: 85.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/10.38, allocations: 49.34 kB / 4.591 GB, free: 85.62 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=113): time 3.126e-06/10.38, allocations: 0 / 4.591 GB, free: 85.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.009628/10.38, allocations: 6.21 MB / 4.597 GB, free: 83.57 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/10.39, allocations: 289.7 kB / 4.597 GB, free: 83.26 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/10.39, allocations: 3.008 MB / 4.6 GB, free: 83.03 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002941/10.39, allocations: 57.39 kB / 4.6 GB, free: 83 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/10.39, allocations: 1.41 MB / 4.601 GB, free: 82.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/10.39, allocations: 393.2 kB / 4.602 GB, free: 82.39 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/10.39, allocations: 28.56 kB / 4.602 GB, free: 82.39 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001023/10.39, allocations: 363 kB / 4.602 GB, free: 82.09 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/10.39, allocations: 1.023 MB / 4.603 GB, free: 82.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/10.39, allocations: 1.441 MB / 4.605 GB, free: 81.68 MB / 0.9011 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004741/10.4, allocations: 2.932 MB / 4.607 GB, free: 80.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/10.4, allocations: 5.828 kB / 4.607 GB, free: 80.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004291/10.4, allocations: 3.083 MB / 4.61 GB, free: 80.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006777/10.4, allocations: 2.915 MB / 4.613 GB, free: 77.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/10.4, allocations: 13.22 kB / 4.613 GB, free: 77.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/10.4, allocations: 9.812 kB / 4.613 GB, free: 77.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/10.41, allocations: 255.3 kB / 4.614 GB, free: 77.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003295/10.41, allocations: 0.6156 MB / 4.614 GB, free: 76.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/10.41, allocations: 185.6 kB / 4.614 GB, free: 76.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/10.41, allocations: 84.17 kB / 4.614 GB, free: 76.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/10.41, allocations: 3.781 kB / 4.614 GB, free: 76.66 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003621/10.41, allocations: 3.178 MB / 4.618 GB, free: 76.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/10.41, allocations: 8.719 kB / 4.618 GB, free: 76.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/10.41, allocations: 11.75 kB / 4.618 GB, free: 76.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000875/10.41, allocations: 248.9 kB / 4.618 GB, free: 76.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/10.41, allocations: 13.75 kB / 4.618 GB, free: 76.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/10.42, allocations: 182.9 kB / 4.618 GB, free: 76.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/10.42, allocations: 77.69 kB / 4.618 GB, free: 76.25 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002106/10.42, allocations: 1.086 MB / 4.619 GB, free: 75.87 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006729/10.42, allocations: 314.2 kB / 4.619 GB, free: 75.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/10.42, allocations: 2.358 MB / 4.622 GB, free: 75.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/10.42, allocations: 16.19 kB / 4.622 GB, free: 75.41 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/10.42, allocations: 0 / 4.622 GB, free: 75.41 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002673/10.43, allocations: 2.145 MB / 4.624 GB, free: 74.95 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009152/10.43, allocations: 5.602 MB / 4.629 GB, free: 74.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/10.43, allocations: 7.125 kB / 4.629 GB, free: 74.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009744/10.44, allocations: 229.6 kB / 4.629 GB, free: 74.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/10.44, allocations: 11.28 kB / 4.629 GB, free: 74.19 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/10.44, allocations: 41.09 kB / 4.63 GB, free: 74.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002444/10.44, allocations: 0.6098 MB / 4.63 GB, free: 73.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/10.44, allocations: 11 kB / 4.63 GB, free: 73.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004859/10.44, allocations: 4.443 MB / 4.634 GB, free: 72.13 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/10.44, allocations: 0.6784 MB / 4.635 GB, free: 71.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/10.45, allocations: 35.69 kB / 4.635 GB, free: 71.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/10.45, allocations: 152.5 kB / 4.635 GB, free: 71.87 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/10.45, allocations: 153.5 kB / 4.635 GB, free: 71.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/10.45, allocations: 53.28 kB / 4.636 GB, free: 71.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004194/10.45, allocations: 2.341 MB / 4.638 GB, free: 71.72 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.01e-07/10.45, allocations: 0 / 4.638 GB, free: 71.72 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005714/10.46, allocations: 1.474 MB / 4.639 GB, free: 71.65 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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 (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009943/10.47, allocations: 8.977 MB / 4.648 GB, free: 67.28 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006648/10.47, allocations: 5.338 MB / 4.653 GB, free: 64.26 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.999e-05/10.47, allocations: 3.156 kB / 4.653 GB, free: 64.26 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/10.48, allocations: 1.856 MB / 4.655 GB, free: 63.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008893/10.49, allocations: 1.609 MB / 4.657 GB, free: 62.98 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/10.51, allocations: 12.23 MB / 4.669 GB, free: 54.56 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/10.51, allocations: 2.079 MB / 4.671 GB, free: 53.65 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004144/10.51, allocations: 0.6325 MB / 4.671 GB, free: 53.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/10.52, allocations: 1.278 MB / 4.672 GB, free: 52.6 MB / 0.9011 GB Notification: Performance of SimCode: time 9.22e-07/10.52, allocations: 0 / 4.672 GB, free: 52.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8052/11.32, allocations: 121.9 MB / 4.791 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/11.32, allocations: 272.6 kB / 4.792 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/18.31, allocations: 3.625 kB / 4.792 GB, free: 118.8 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)