Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IDEAS_dev_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.008385/0.008385, allocations: 172.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8269/0.8269, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.1 MB / 406.8 MB, free: 3.234 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.000976/0.0009761, allocations: 105.2 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4348, allocations: 82.31 MB / 0.6495 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5/5.435, allocations: 2.147 GB / 2.797 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/5.435, allocations: 107.9 kB / 2.797 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.677/10.11, allocations: 1.246 GB / 4.043 GB, free: 69.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.414e-06/10.11, allocations: 0 / 4.043 GB, free: 69.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004283/10.11, allocations: 80.44 kB / 4.043 GB, free: 69.2 MB / 0.7292 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.01288/10.12, allocations: 4.141 MB / 4.047 GB, free: 67.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/10.13, allocations: 11.33 kB / 4.047 GB, free: 67.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001473/10.13, allocations: 271.8 kB / 4.048 GB, free: 67.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/10.13, allocations: 0.5217 MB / 4.048 GB, free: 66.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009402/10.14, allocations: 3.308 MB / 4.051 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/10.14, allocations: 157.8 kB / 4.052 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006862/10.14, allocations: 209.1 kB / 4.052 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/10.14, allocations: 2.418 MB / 4.054 GB, free: 66.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.339e-05/10.14, allocations: 1.125 kB / 4.054 GB, free: 66.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/10.15, allocations: 80.75 kB / 4.054 GB, free: 66.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-05/10.15, allocations: 70.64 kB / 4.054 GB, free: 66.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/10.15, allocations: 1.902 MB / 4.056 GB, free: 66.03 MB / 0.7292 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.01693/10.17, allocations: 9.82 MB / 4.066 GB, free: 63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/10.17, allocations: 1.381 MB / 4.067 GB, free: 62.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/10.17, allocations: 1.175 MB / 4.068 GB, free: 61.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/10.17, allocations: 50.59 kB / 4.068 GB, free: 61.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=113): time 3.596e-06/10.17, allocations: 0.9062 kB / 4.068 GB, free: 61.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=115): time 0.009903/10.18, allocations: 6.213 MB / 4.074 GB, free: 59.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/10.18, allocations: 289.8 kB / 4.075 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/10.18, allocations: 3.01 MB / 4.078 GB, free: 59.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003775/10.18, allocations: 56.77 kB / 4.078 GB, free: 58.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/10.19, allocations: 1.408 MB / 4.079 GB, free: 58.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/10.19, allocations: 391.5 kB / 4.079 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/10.19, allocations: 31.28 kB / 4.079 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001206/10.19, allocations: 359 kB / 4.08 GB, free: 58.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/10.19, allocations: 1.021 MB / 4.081 GB, free: 58.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/10.19, allocations: 1.438 MB / 4.082 GB, free: 57.67 MB / 0.7292 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.004978/10.19, allocations: 2.956 MB / 4.085 GB, free: 56.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/10.19, allocations: 3.281 kB / 4.085 GB, free: 56.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004499/10.2, allocations: 3.086 MB / 4.088 GB, free: 56.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007324/10.2, allocations: 2.914 MB / 4.091 GB, free: 53.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/10.2, allocations: 7.469 kB / 4.091 GB, free: 53.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/10.2, allocations: 12.91 kB / 4.091 GB, free: 53.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/10.2, allocations: 257.4 kB / 4.091 GB, free: 53.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003434/10.2, allocations: 0.6183 MB / 4.092 GB, free: 52.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/10.2, allocations: 179.2 kB / 4.092 GB, free: 52.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/10.2, allocations: 84.34 kB / 4.092 GB, free: 52.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/10.2, allocations: 5.375 kB / 4.092 GB, free: 52.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003894/10.21, allocations: 3.179 MB / 4.095 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/10.21, allocations: 11.23 kB / 4.095 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/10.21, allocations: 13.16 kB / 4.095 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/10.21, allocations: 251.5 kB / 4.095 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/10.21, allocations: 16.44 kB / 4.095 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/10.21, allocations: 175.7 kB / 4.096 GB, free: 52.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/10.21, allocations: 81.12 kB / 4.096 GB, free: 52.24 MB / 0.7292 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.002495/10.21, allocations: 1.091 MB / 4.097 GB, free: 51.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/10.22, allocations: 309.5 kB / 4.097 GB, free: 51.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/10.22, allocations: 2.361 MB / 4.099 GB, free: 51.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/10.22, allocations: 16 kB / 4.099 GB, free: 51.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/10.22, allocations: 0 / 4.099 GB, free: 51.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002621/10.22, allocations: 2.146 MB / 4.101 GB, free: 50.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/10.24, allocations: 5.612 MB / 4.107 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/10.24, allocations: 7.688 kB / 4.107 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/10.24, allocations: 228.4 kB / 4.107 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/10.24, allocations: 14.06 kB / 4.107 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/10.24, allocations: 44.88 kB / 4.107 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002795/10.24, allocations: 0.6071 MB / 4.108 GB, free: 49.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/10.24, allocations: 7.812 kB / 4.108 GB, free: 49.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/10.24, allocations: 4.442 MB / 4.112 GB, free: 48.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/10.25, allocations: 0.6779 MB / 4.113 GB, free: 47.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/10.25, allocations: 51.31 kB / 4.113 GB, free: 47.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/10.25, allocations: 150.7 kB / 4.113 GB, free: 47.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/10.25, allocations: 156.4 kB / 4.113 GB, free: 47.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/10.25, allocations: 55.16 kB / 4.113 GB, free: 47.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006194/10.26, allocations: 2.341 MB / 4.115 GB, free: 47.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/10.26, allocations: 0 / 4.115 GB, free: 47.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008065/10.26, allocations: 1.456 MB / 4.117 GB, free: 47.64 MB / 0.7292 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.01272/10.28, allocations: 8.994 MB / 4.126 GB, free: 43.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007276/10.28, allocations: 5.346 MB / 4.131 GB, free: 42.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/10.28, allocations: 3.031 kB / 4.131 GB, free: 42.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/10.29, allocations: 1.85 MB / 4.133 GB, free: 41.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008837/10.3, allocations: 1.588 MB / 4.134 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/10.32, allocations: 12.23 MB / 4.146 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/10.32, allocations: 2.069 MB / 4.148 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004674/10.33, allocations: 0.6307 MB / 4.149 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002834/10.33, allocations: 1.274 MB / 4.15 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of SimCode: time 1.447e-05/10.33, allocations: 3.094 kB / 4.15 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7419/11.07, allocations: 121.4 MB / 4.269 GB, free: 85.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/11.07, allocations: 256.7 kB / 4.269 GB, free: 85.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/18.4, allocations: 0 / 4.269 GB, free: 85.14 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)