Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.496/2.496, allocations: 287.3 MB / 302.3 MB, free: 8.398 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.001531/0.00153, allocations: 182 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 109.1 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007291/0.0007291, allocations: 12.66 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2165, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/7.891, allocations: 2.344 GB / 3.322 GB, free: 272.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/7.892, allocations: 102.9 kB / 3.322 GB, free: 272.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.334/14.23, allocations: 1.236 GB / 4.558 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/14.23, allocations: 1.469 kB / 4.558 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006083/14.23, allocations: 79.05 kB / 4.559 GB, free: 112.8 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.01407/14.24, allocations: 4.139 MB / 4.563 GB, free: 110 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/14.24, allocations: 7.219 kB / 4.563 GB, free: 110 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/14.24, allocations: 273.7 kB / 4.563 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/14.25, allocations: 0.5094 MB / 4.563 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/14.26, allocations: 3.307 MB / 4.567 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/14.26, allocations: 163.8 kB / 4.567 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009606/14.26, allocations: 206.8 kB / 4.567 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007946/14.27, allocations: 2.423 MB / 4.569 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/14.27, allocations: 3.938 kB / 4.569 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004852/14.27, allocations: 80.88 kB / 4.569 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.743e-05/14.27, allocations: 66.42 kB / 4.569 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/14.27, allocations: 1.902 MB / 4.571 GB, free: 105.9 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.02405/14.3, allocations: 9.825 MB / 4.581 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/14.3, allocations: 1.388 MB / 4.582 GB, free: 97.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/14.3, allocations: 1.176 MB / 4.583 GB, free: 96.53 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/14.3, allocations: 47.61 kB / 4.583 GB, free: 96.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=113): time 4.438e-06/14.3, allocations: 2.219 kB / 4.583 GB, free: 96.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115): time 0.0182/14.32, allocations: 6.212 MB / 4.589 GB, free: 92.44 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/14.32, allocations: 287.5 kB / 4.59 GB, free: 92.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008337/14.33, allocations: 3.009 MB / 4.593 GB, free: 90.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005808/14.33, allocations: 63.05 kB / 4.593 GB, free: 90.47 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002109/14.33, allocations: 1.402 MB / 4.594 GB, free: 89.24 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/14.33, allocations: 398.6 kB / 4.595 GB, free: 88.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/14.33, allocations: 31 kB / 4.595 GB, free: 88.89 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001508/14.33, allocations: 360.1 kB / 4.595 GB, free: 88.54 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/14.34, allocations: 1.023 MB / 4.596 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/14.34, allocations: 1.436 MB / 4.597 GB, free: 87.04 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.009269/14.35, allocations: 2.952 MB / 4.6 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/14.35, allocations: 3.875 kB / 4.6 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.007794/14.36, allocations: 3.081 MB / 4.603 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008175/14.36, allocations: 2.912 MB / 4.606 GB, free: 80.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/14.36, allocations: 10.62 kB / 4.606 GB, free: 80.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-05/14.36, allocations: 11.25 kB / 4.606 GB, free: 80.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/14.36, allocations: 261.2 kB / 4.606 GB, free: 80.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004941/14.36, allocations: 0.6178 MB / 4.607 GB, free: 79.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/14.37, allocations: 181.7 kB / 4.607 GB, free: 79.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005992/14.37, allocations: 78.28 kB / 4.607 GB, free: 79.54 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/14.37, allocations: 7.047 kB / 4.607 GB, free: 79.53 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006996/14.37, allocations: 3.183 MB / 4.61 GB, free: 77.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/14.37, allocations: 8.688 kB / 4.61 GB, free: 77.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/14.37, allocations: 11.28 kB / 4.61 GB, free: 77.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/14.38, allocations: 246.8 kB / 4.611 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/14.38, allocations: 17.92 kB / 4.611 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/14.38, allocations: 177.6 kB / 4.611 GB, free: 77.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005647/14.38, allocations: 73.05 kB / 4.611 GB, free: 77.57 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.003091/14.38, allocations: 1.094 MB / 4.612 GB, free: 76.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/14.38, allocations: 316.6 kB / 4.612 GB, free: 76.57 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006033/14.39, allocations: 2.36 MB / 4.614 GB, free: 74.69 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/14.39, allocations: 12 kB / 4.614 GB, free: 74.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/14.39, allocations: 1.438 kB / 4.614 GB, free: 74.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004205/14.39, allocations: 2.143 MB / 4.617 GB, free: 72.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/14.41, allocations: 5.618 MB / 4.622 GB, free: 66.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/14.41, allocations: 4 kB / 4.622 GB, free: 66.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/14.41, allocations: 230.1 kB / 4.622 GB, free: 66.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-05/14.41, allocations: 15.92 kB / 4.622 GB, free: 66.47 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/14.41, allocations: 36 kB / 4.622 GB, free: 66.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004166/14.41, allocations: 0.6157 MB / 4.623 GB, free: 65.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/14.41, allocations: 7.938 kB / 4.623 GB, free: 65.79 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0099/14.42, allocations: 4.439 MB / 4.627 GB, free: 61.08 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003176/14.43, allocations: 0.6884 MB / 4.628 GB, free: 60.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/14.43, allocations: 39.98 kB / 4.628 GB, free: 60.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/14.43, allocations: 146.8 kB / 4.628 GB, free: 60.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/14.43, allocations: 160 kB / 4.628 GB, free: 60.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/14.43, allocations: 55.92 kB / 4.628 GB, free: 59.99 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.005938/14.44, allocations: 2.335 MB / 4.631 GB, free: 57.67 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.31e-07/14.44, allocations: 0 / 4.631 GB, free: 57.67 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007365/14.45, allocations: 1.461 MB / 4.632 GB, free: 56.21 MB / 0.9636 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.01428/14.46, allocations: 8.998 MB / 4.641 GB, free: 47.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00972/14.47, allocations: 5.342 MB / 4.646 GB, free: 41.76 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/14.47, allocations: 4 kB / 4.646 GB, free: 41.76 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003541/14.47, allocations: 1.846 MB / 4.648 GB, free: 39.84 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/14.49, allocations: 1.612 MB / 4.649 GB, free: 38.31 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/14.51, allocations: 12.22 MB / 4.661 GB, free: 25.81 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/14.51, allocations: 2.075 MB / 4.663 GB, free: 23.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004796/14.52, allocations: 0.6277 MB / 4.664 GB, free: 23.12 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003252/14.52, allocations: 1.269 MB / 4.665 GB, free: 21.85 MB / 0.9636 GB Notification: Performance of SimCode: time 1.332e-06/14.52, allocations: 0 / 4.665 GB, free: 21.85 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/15.69, allocations: 121.9 MB / 4.784 GB, free: 136.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/15.69, allocations: 272.2 kB / 4.784 GB, free: 136.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/23.52, allocations: 0.6562 kB / 4.784 GB, free: 136.2 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)