Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.006715/0.006715, allocations: 171.3 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7924/0.7924, 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.561/1.561, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.001001/0.001001, allocations: 94.48 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003472, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.422, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.102/5.524, allocations: 2.145 GB / 2.795 GB, free: 99.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/5.525, allocations: 108.8 kB / 2.795 GB, free: 99.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.872/8.396, allocations: 0.8835 GB / 3.678 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/8.397, allocations: 3.938 kB / 3.678 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00035/8.397, allocations: 50.19 kB / 3.678 GB, free: 12.73 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.008679/8.406, allocations: 2.762 MB / 3.681 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/8.406, allocations: 12.03 kB / 3.681 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007499/8.406, allocations: 198.3 kB / 3.681 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/8.409, allocations: 376.7 kB / 3.682 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/8.415, allocations: 2.059 MB / 3.684 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/8.415, allocations: 98.58 kB / 3.684 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/8.415, allocations: 151.9 kB / 3.684 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/8.419, allocations: 1.596 MB / 3.686 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/8.419, allocations: 3.844 kB / 3.686 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/8.419, allocations: 56 kB / 3.686 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/8.42, allocations: 49.88 kB / 3.686 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/8.422, allocations: 1.247 MB / 3.687 GB, free: 4.012 MB / 0.7136 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.4875/8.91, allocations: 6.456 MB / 3.693 GB, free: 84.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/8.911, allocations: 0.9357 MB / 3.694 GB, free: 84.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/8.912, allocations: 0.6859 MB / 3.695 GB, free: 83.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/8.912, allocations: 45.5 kB / 3.695 GB, free: 83.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.596e-06/8.912, allocations: 0.6875 kB / 3.695 GB, free: 83.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.007262/8.919, allocations: 3.915 MB / 3.699 GB, free: 82.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/8.919, allocations: 198.9 kB / 3.699 GB, free: 82.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/8.923, allocations: 1.795 MB / 3.701 GB, free: 82.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/8.923, allocations: 53.73 kB / 3.701 GB, free: 82.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006887/8.923, allocations: 0.8837 MB / 3.701 GB, free: 81.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/8.924, allocations: 293.7 kB / 3.702 GB, free: 81.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/8.924, allocations: 19.5 kB / 3.702 GB, free: 81.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/8.924, allocations: 346 kB / 3.702 GB, free: 81.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007734/8.925, allocations: 0.6046 MB / 3.703 GB, free: 81.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/8.926, allocations: 0.8729 MB / 3.704 GB, free: 81.16 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/8.93, allocations: 2.42 MB / 3.706 GB, free: 80.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/8.93, allocations: 5.344 kB / 3.706 GB, free: 80.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002634/8.932, allocations: 1.835 MB / 3.708 GB, free: 80.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003898/8.933, allocations: 1.662 MB / 3.709 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/8.933, allocations: 3.812 kB / 3.709 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/8.933, allocations: 7.469 kB / 3.709 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/8.933, allocations: 188 kB / 3.71 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/8.933, allocations: 14.5 kB / 3.71 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/8.935, allocations: 119.6 kB / 3.71 GB, free: 78.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/8.935, allocations: 51.52 kB / 3.71 GB, free: 78.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/8.935, allocations: 5 kB / 3.71 GB, free: 78.56 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002163/8.938, allocations: 1.841 MB / 3.711 GB, free: 78.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/8.938, allocations: 3.938 kB / 3.712 GB, free: 78.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/8.938, allocations: 7.719 kB / 3.712 GB, free: 78.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/8.938, allocations: 190.2 kB / 3.712 GB, free: 78.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/8.938, allocations: 7.844 kB / 3.712 GB, free: 78.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/8.94, allocations: 111.9 kB / 3.712 GB, free: 78.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/8.94, allocations: 57.95 kB / 3.712 GB, free: 78.34 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.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 (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001336/8.941, allocations: 0.7034 MB / 3.713 GB, free: 78.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/8.942, allocations: 194.7 kB / 3.713 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/8.944, allocations: 1.486 MB / 3.714 GB, free: 77.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/8.944, allocations: 9.797 kB / 3.714 GB, free: 77.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/8.944, allocations: 3.281 kB / 3.714 GB, free: 77.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/8.945, allocations: 1.559 MB / 3.716 GB, free: 77.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/8.951, allocations: 3.619 MB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/8.951, allocations: 9.156 kB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/8.952, allocations: 166.6 kB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/8.952, allocations: 7.719 kB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/8.952, allocations: 27.97 kB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/8.952, allocations: 13.86 kB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/8.952, allocations: 14.25 kB / 3.719 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/8.955, allocations: 2.793 MB / 3.722 GB, free: 75.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/8.957, allocations: 460.2 kB / 3.723 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/8.957, allocations: 33.3 kB / 3.723 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/8.958, allocations: 98.61 kB / 3.723 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/8.958, allocations: 102.5 kB / 3.723 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/8.958, allocations: 37.34 kB / 3.723 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002348/8.96, allocations: 1.405 MB / 3.724 GB, free: 75.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/8.96, allocations: 3.562 kB / 3.724 GB, free: 75.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003347/8.964, allocations: 0.9996 MB / 3.725 GB, free: 75.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007075/8.971, allocations: 6.708 MB / 3.732 GB, free: 72.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003447/8.974, allocations: 3.051 MB / 3.735 GB, free: 71.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/8.974, allocations: 5.953 kB / 3.735 GB, free: 71.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/8.976, allocations: 1.005 MB / 3.736 GB, free: 71.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/8.98, allocations: 0.9932 MB / 3.737 GB, free: 71.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008292/8.988, allocations: 7.813 MB / 3.744 GB, free: 66.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/8.989, allocations: 1.566 MB / 3.746 GB, free: 65.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001874/8.991, allocations: 438 kB / 3.746 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009419/8.992, allocations: 0.7669 MB / 3.747 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/8.992, allocations: 0 / 3.747 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/9.118, allocations: 83.02 MB / 3.828 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/9.118, allocations: 232.5 kB / 3.828 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.292/14.41, allocations: 5.312 kB / 3.828 GB, free: 62.15 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)