Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.814/0.814, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 104.3 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.761e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6044/0.6044, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.784/6.388, allocations: 2.147 GB / 2.78 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/6.389, allocations: 97.94 kB / 2.781 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.035/11.42, allocations: 1.235 GB / 4.015 GB, free: 62.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.824e-06/11.42, allocations: 5.5 kB / 4.015 GB, free: 62.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003498/11.42, allocations: 81.92 kB / 4.015 GB, free: 62.29 MB / 0.7136 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.008811/11.43, allocations: 3.473 MB / 4.019 GB, free: 60.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/11.43, allocations: 10 kB / 4.019 GB, free: 60.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/11.44, allocations: 0.5066 MB / 4.019 GB, free: 60.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/11.44, allocations: 3.291 MB / 4.022 GB, free: 59.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/11.44, allocations: 68 kB / 4.022 GB, free: 59.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/11.44, allocations: 126.2 kB / 4.023 GB, free: 59.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003269/11.45, allocations: 1.723 MB / 4.024 GB, free: 59.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/11.45, allocations: 2.1 MB / 4.026 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/11.45, allocations: 4.031 kB / 4.026 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/11.45, allocations: 3.812 kB / 4.026 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/11.45, allocations: 69.86 kB / 4.026 GB, free: 59.51 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01548/11.47, allocations: 9.4 MB / 4.036 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/11.47, allocations: 1.289 MB / 4.037 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/11.47, allocations: 0.8968 MB / 4.038 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009446/11.47, allocations: 1.175 MB / 4.039 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/11.47, allocations: 54.73 kB / 4.039 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 3.857e-06/11.47, allocations: 0 / 4.039 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.009189/11.48, allocations: 4.21 MB / 4.043 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/11.48, allocations: 287 kB / 4.043 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/11.48, allocations: 2.548 MB / 4.046 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/11.48, allocations: 32.83 kB / 4.046 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000996/11.48, allocations: 1.422 MB / 4.047 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/11.48, allocations: 377.9 kB / 4.048 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/11.48, allocations: 5.312 kB / 4.048 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001005/11.48, allocations: 360.1 kB / 4.048 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/11.49, allocations: 0.9689 MB / 4.049 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/11.49, allocations: 1.373 MB / 4.05 GB, free: 52.31 MB / 0.7136 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.004556/11.49, allocations: 2.498 MB / 4.053 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/11.49, allocations: 3.281 kB / 4.053 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004089/11.5, allocations: 2.565 MB / 4.055 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006194/11.5, allocations: 2.878 MB / 4.058 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/11.5, allocations: 8.125 kB / 4.058 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/11.5, allocations: 16.78 kB / 4.058 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/11.5, allocations: 252.8 kB / 4.058 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003425/11.5, allocations: 0.6205 MB / 4.059 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/11.5, allocations: 144.7 kB / 4.059 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/11.5, allocations: 83.75 kB / 4.059 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/11.5, allocations: 5.562 kB / 4.059 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003503/11.5, allocations: 2.5 MB / 4.061 GB, free: 48.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/11.5, allocations: 6.031 kB / 4.061 GB, free: 48.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/11.5, allocations: 18.17 kB / 4.061 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/11.5, allocations: 242.5 kB / 4.062 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/11.5, allocations: 21.44 kB / 4.062 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/11.51, allocations: 142 kB / 4.062 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/11.51, allocations: 81.55 kB / 4.062 GB, free: 48.12 MB / 0.7136 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 () * 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.0004486/11.51, allocations: 335.9 kB / 4.062 GB, free: 47.83 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003015/11.51, allocations: 1.899 MB / 4.064 GB, free: 47.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/11.51, allocations: 283.1 kB / 4.064 GB, free: 47.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/11.51, allocations: 2.02 MB / 4.066 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/11.51, allocations: 16.02 kB / 4.066 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/11.51, allocations: 0 / 4.066 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002194/11.52, allocations: 1.842 MB / 4.068 GB, free: 47.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007867/11.52, allocations: 5.046 MB / 4.073 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/11.52, allocations: 4.75 kB / 4.073 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009785/11.53, allocations: 229.6 kB / 4.073 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/11.53, allocations: 11.62 kB / 4.073 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/11.53, allocations: 21.16 kB / 4.073 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002407/11.53, allocations: 0.6164 MB / 4.074 GB, free: 45.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/11.53, allocations: 8.875 kB / 4.074 GB, free: 45.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/11.53, allocations: 3.968 MB / 4.078 GB, free: 44.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/11.53, allocations: 0.643 MB / 4.078 GB, free: 44.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/11.53, allocations: 19.28 kB / 4.078 GB, free: 44.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/11.53, allocations: 132.6 kB / 4.079 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/11.53, allocations: 151.6 kB / 4.079 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/11.53, allocations: 57.61 kB / 4.079 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002964/11.54, allocations: 1.922 MB / 4.081 GB, free: 44.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/11.54, allocations: 1.406 kB / 4.081 GB, free: 44.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004427/11.54, allocations: 1.354 MB / 4.082 GB, free: 44.3 MB / 0.7136 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) * 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.008995/11.55, allocations: 8.697 MB / 4.091 GB, free: 40.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006767/11.56, allocations: 5.249 MB / 4.096 GB, free: 38.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.948e-05/11.56, allocations: 3.938 kB / 4.096 GB, free: 38.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/11.56, allocations: 1.788 MB / 4.097 GB, free: 38.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007556/11.57, allocations: 1.351 MB / 4.099 GB, free: 38.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/11.58, allocations: 5.465 MB / 4.104 GB, free: 37.24 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/11.58, allocations: 2.074 MB / 4.106 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004009/11.58, allocations: 0.9564 MB / 4.107 GB, free: 36.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/11.59, allocations: 1.201 MB / 4.108 GB, free: 36.36 MB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/11.59, allocations: 0 / 4.108 GB, free: 36.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/11.75, allocations: 98.35 MB / 4.204 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/11.75, allocations: 173 kB / 4.204 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.164/16.91, allocations: 0 / 4.204 GB, free: 4.895 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)