Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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: translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01127/0.01127, allocations: 170.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7931/0.7931, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.533/1.533, allocations: 223.2 MB / 406.9 MB, free: 3.188 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.0009705/0.0009705, allocations: 96.12 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4559, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.839/5.295, allocations: 2.149 GB / 2.798 GB, free: 96.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/5.295, allocations: 95.88 kB / 2.798 GB, free: 96.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.351/8.646, allocations: 0.9563 GB / 3.755 GB, free: 92.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/8.646, allocations: 0 / 3.755 GB, free: 92.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001558/8.646, allocations: 42.95 kB / 3.755 GB, free: 92.43 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006736/8.653, allocations: 2.379 MB / 3.757 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/8.653, allocations: 8.375 kB / 3.757 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/8.656, allocations: 0.5476 MB / 3.758 GB, free: 91.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/8.66, allocations: 1.39 MB / 3.759 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000626/8.661, allocations: 216 kB / 3.759 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/8.661, allocations: 112.7 kB / 3.759 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/8.664, allocations: 1.367 MB / 3.761 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/8.664, allocations: 0 / 3.761 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/8.664, allocations: 41.56 kB / 3.761 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/8.664, allocations: 56.83 kB / 3.761 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/8.667, allocations: 1.354 MB / 3.762 GB, free: 90.81 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.009447/8.676, allocations: 5.516 MB / 3.767 GB, free: 88.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/8.679, allocations: 1.149 MB / 3.769 GB, free: 88.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008392/8.68, allocations: 0.7553 MB / 3.769 GB, free: 87.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/8.681, allocations: 0.6643 MB / 3.77 GB, free: 87.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.749e-06/8.681, allocations: 112 / 3.77 GB, free: 87.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.00441/8.685, allocations: 1.746 MB / 3.772 GB, free: 87.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/8.685, allocations: 111.2 kB / 3.772 GB, free: 87.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/8.687, allocations: 1.161 MB / 3.773 GB, free: 87.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/8.687, allocations: 50.45 kB / 3.773 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/8.688, allocations: 0.6302 MB / 3.774 GB, free: 87.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/8.688, allocations: 280.5 kB / 3.774 GB, free: 87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/8.688, allocations: 27.34 kB / 3.774 GB, free: 87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/8.688, allocations: 342.6 kB / 3.774 GB, free: 86.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/8.69, allocations: 0.5481 MB / 3.775 GB, free: 86.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/8.691, allocations: 0.8562 MB / 3.776 GB, free: 86.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/8.692, allocations: 0.6309 MB / 3.776 GB, free: 86.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/8.692, allocations: 2.156 kB / 3.776 GB, free: 86.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003539/8.696, allocations: 1.569 MB / 3.778 GB, free: 86.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004466/8.696, allocations: 1.901 MB / 3.78 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/8.696, allocations: 6.438 kB / 3.78 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/8.696, allocations: 8.969 kB / 3.78 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/8.698, allocations: 356.2 kB / 3.78 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005873/8.699, allocations: 1.194 MB / 3.781 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/8.701, allocations: 243.6 kB / 3.781 GB, free: 83.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/8.701, allocations: 60.42 kB / 3.781 GB, free: 83.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/8.701, allocations: 13.53 kB / 3.781 GB, free: 83.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003124/8.704, allocations: 1.41 MB / 3.783 GB, free: 82.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/8.704, allocations: 4 kB / 3.783 GB, free: 82.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/8.704, allocations: 9.656 kB / 3.783 GB, free: 82.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/8.706, allocations: 334.7 kB / 3.783 GB, free: 82.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/8.706, allocations: 15.23 kB / 3.783 GB, free: 82.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/8.708, allocations: 236 kB / 3.783 GB, free: 82.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/8.708, allocations: 56.47 kB / 3.783 GB, free: 82.89 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009268/8.709, allocations: 411.3 kB / 3.784 GB, free: 82.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/8.709, allocations: 159.1 kB / 3.784 GB, free: 82.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/8.712, allocations: 1.434 MB / 3.785 GB, free: 82.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/8.712, allocations: 13.75 kB / 3.785 GB, free: 82.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/8.713, allocations: 2.219 kB / 3.785 GB, free: 82.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/8.713, allocations: 2.766 kB / 3.785 GB, free: 82.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005831/8.718, allocations: 2.965 MB / 3.788 GB, free: 82.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/8.718, allocations: 5.062 kB / 3.788 GB, free: 82.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/8.72, allocations: 245.3 kB / 3.788 GB, free: 82.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/8.72, allocations: 7.656 kB / 3.788 GB, free: 82.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/8.72, allocations: 39.06 kB / 3.789 GB, free: 82.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00045/8.72, allocations: 1.183 MB / 3.79 GB, free: 80.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/8.72, allocations: 3.969 kB / 3.79 GB, free: 80.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/8.725, allocations: 2.432 MB / 3.792 GB, free: 80.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/8.727, allocations: 371.1 kB / 3.792 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/8.727, allocations: 27.7 kB / 3.792 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/8.729, allocations: 149.2 kB / 3.793 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/8.729, allocations: 72.02 kB / 3.793 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/8.729, allocations: 42.59 kB / 3.793 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00163/8.731, allocations: 0.8859 MB / 3.794 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/8.731, allocations: 0 / 3.794 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003902/8.734, allocations: 0.9998 MB / 3.795 GB, free: 79.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003656/8.738, allocations: 2.094 MB / 3.797 GB, free: 79.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005118/8.743, allocations: 2.198 MB / 3.799 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/8.743, allocations: 0 / 3.799 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/8.745, allocations: 0.6783 MB / 3.799 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/8.748, allocations: 0.6723 MB / 3.8 GB, free: 79.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/8.754, allocations: 3.254 MB / 3.803 GB, free: 77.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/8.754, allocations: 1.264 MB / 3.804 GB, free: 76.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002168/8.757, allocations: 422.8 kB / 3.805 GB, free: 76.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/8.757, allocations: 129.7 kB / 3.805 GB, free: 76.89 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/8.757, allocations: 0 / 3.805 GB, free: 76.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.07304/8.83, allocations: 48.72 MB / 3.853 GB, free: 74.13 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)