Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.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: 181 kB / 377.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.6366 GB, free: 8.598 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008936, allocations: 87.41 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004343, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.607/6.878, allocations: 2.345 GB / 3.333 GB, free: 237.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/6.878, allocations: 104.3 kB / 3.333 GB, free: 237.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.51/11.39, allocations: 1.236 GB / 4.57 GB, free: 60.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.575e-06/11.39, allocations: 2.188 kB / 4.57 GB, free: 60.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008912/11.39, allocations: 78.72 kB / 4.57 GB, free: 60.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01555/11.4, allocations: 4.144 MB / 4.574 GB, free: 57.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/11.4, allocations: 6.812 kB / 4.574 GB, free: 57.79 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/11.41, allocations: 272.5 kB / 4.574 GB, free: 57.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/11.41, allocations: 0.5156 MB / 4.575 GB, free: 57.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009473/11.42, allocations: 3.305 MB / 4.578 GB, free: 55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/11.42, allocations: 153.5 kB / 4.578 GB, free: 54.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000863/11.42, allocations: 207.2 kB / 4.578 GB, free: 54.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/11.43, allocations: 2.427 MB / 4.581 GB, free: 53.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/11.43, allocations: 3.062 kB / 4.581 GB, free: 53.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/11.43, allocations: 82.25 kB / 4.581 GB, free: 53.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/11.43, allocations: 68.23 kB / 4.581 GB, free: 53.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/11.43, allocations: 1.904 MB / 4.583 GB, free: 51.98 MB / 0.9636 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.01554/11.44, allocations: 9.827 MB / 4.592 GB, free: 41.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/11.45, allocations: 1.376 MB / 4.593 GB, free: 40.55 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/11.45, allocations: 1.177 MB / 4.595 GB, free: 39.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/11.45, allocations: 55.5 kB / 4.595 GB, free: 39.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=113): time 3.506e-06/11.45, allocations: 0 / 4.595 GB, free: 39.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115): time 0.01018/11.46, allocations: 6.205 MB / 4.601 GB, free: 32.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/11.46, allocations: 286 kB / 4.601 GB, free: 32.24 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/11.46, allocations: 3.006 MB / 4.604 GB, free: 29.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002623/11.46, allocations: 53.7 kB / 4.604 GB, free: 29.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009754/11.46, allocations: 1.417 MB / 4.605 GB, free: 27.76 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/11.46, allocations: 395.2 kB / 4.606 GB, free: 27.38 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/11.46, allocations: 24 kB / 4.606 GB, free: 27.35 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000117/11.46, allocations: 365.9 kB / 4.606 GB, free: 26.99 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/11.47, allocations: 1.015 MB / 4.607 GB, free: 25.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/11.47, allocations: 1.444 MB / 4.609 GB, free: 24.39 MB / 0.9636 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.004689/11.47, allocations: 2.95 MB / 4.611 GB, free: 21.33 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/11.47, allocations: 4 kB / 4.611 GB, free: 21.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004197/11.48, allocations: 3.088 MB / 4.614 GB, free: 18.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006719/11.48, allocations: 2.915 MB / 4.617 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/11.48, allocations: 7.938 kB / 4.617 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/11.48, allocations: 12 kB / 4.617 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/11.48, allocations: 258.7 kB / 4.618 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003263/11.48, allocations: 0.6172 MB / 4.618 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/11.48, allocations: 187.8 kB / 4.618 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/11.48, allocations: 71.98 kB / 4.618 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/11.48, allocations: 4 kB / 4.618 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003457/11.48, allocations: 3.184 MB / 4.621 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/11.48, allocations: 7.984 kB / 4.622 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/11.48, allocations: 12 kB / 4.622 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/11.49, allocations: 247.6 kB / 4.622 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/11.49, allocations: 16.33 kB / 4.622 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/11.49, allocations: 183.6 kB / 4.622 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/11.49, allocations: 75.98 kB / 4.622 GB, free: 10.04 MB / 0.9636 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.002185/11.49, allocations: 1.094 MB / 4.623 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006956/11.49, allocations: 312.2 kB / 4.623 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/11.49, allocations: 2.368 MB / 4.626 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/11.49, allocations: 12 kB / 4.626 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/11.49, allocations: 0 / 4.626 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002113/11.5, allocations: 2.136 MB / 4.628 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00852/11.5, allocations: 5.618 MB / 4.633 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/11.51, allocations: 8.094 kB / 4.633 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/11.51, allocations: 227.6 kB / 4.634 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/11.51, allocations: 11.98 kB / 4.634 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/11.51, allocations: 36 kB / 4.634 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004005/11.51, allocations: 0.6134 MB / 4.634 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/11.51, allocations: 15.89 kB / 4.634 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/11.51, allocations: 4.428 MB / 4.638 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/11.51, allocations: 0.6884 MB / 4.639 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004885/11.52, allocations: 43.92 kB / 4.639 GB, free: 7.785 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/11.52, allocations: 147.7 kB / 4.639 GB, free: 7.641 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/11.52, allocations: 164.5 kB / 4.639 GB, free: 7.484 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/11.52, allocations: 51.98 kB / 4.64 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00439/11.52, allocations: 2.339 MB / 4.642 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.51e-07/11.52, allocations: 0 / 4.642 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005762/11.53, allocations: 1.464 MB / 4.643 GB, free: 3.641 MB / 0.9792 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.01133/11.54, allocations: 8.997 MB / 4.652 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007271/11.55, allocations: 5.347 MB / 4.657 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/11.55, allocations: 0 / 4.657 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/11.55, allocations: 1.855 MB / 4.659 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008267/11.56, allocations: 1.611 MB / 4.661 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.698/12.26, allocations: 12.21 MB / 4.673 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/12.26, allocations: 2.075 MB / 4.675 GB, free: 105 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003481/12.26, allocations: 0.6317 MB / 4.675 GB, free: 105 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/12.26, allocations: 1.273 MB / 4.676 GB, free: 105 MB / 0.9948 GB Notification: Performance of SimCode: time 1.402e-06/12.26, allocations: 0 / 4.676 GB, free: 105 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2319/12.49, allocations: 121.9 MB / 4.795 GB, free: 99.17 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/12.49, allocations: 265.6 kB / 4.796 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/19.55, allocations: 0 / 4.796 GB, free: 98.82 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)