Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008209/0.008209, allocations: 171.3 kB / 15.11 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.7466/0.7466, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.529/1.529, allocations: 223.2 MB / 406.9 MB, free: 3.191 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.0009947/0.000995, allocations: 99.23 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 8 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4439, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.95/5.394, allocations: 2.158 GB / 2.807 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/5.394, allocations: 96.8 kB / 2.807 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.422/8.817, allocations: 0.9276 GB / 3.735 GB, free: 99.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.744e-06/8.817, allocations: 0 / 3.735 GB, free: 99.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001204/8.817, allocations: 36.34 kB / 3.735 GB, free: 99.15 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006666/8.823, allocations: 2.177 MB / 3.737 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/8.824, allocations: 15.78 kB / 3.737 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/8.827, allocations: 0.5248 MB / 3.738 GB, free: 98.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/8.831, allocations: 1.23 MB / 3.739 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006255/8.832, allocations: 215.4 kB / 3.739 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/8.832, allocations: 97.12 kB / 3.739 GB, free: 98.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/8.835, allocations: 1.284 MB / 3.74 GB, free: 97.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/8.835, allocations: 3.375 kB / 3.74 GB, free: 97.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/8.835, allocations: 45.22 kB / 3.741 GB, free: 97.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/8.835, allocations: 36.2 kB / 3.741 GB, free: 97.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/8.838, allocations: 1.289 MB / 3.742 GB, free: 97.91 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.008531/8.846, allocations: 5.101 MB / 3.747 GB, free: 95.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/8.849, allocations: 1.084 MB / 3.748 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009482/8.85, allocations: 0.8363 MB / 3.749 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/8.851, allocations: 0.7395 MB / 3.749 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 2.575e-06/8.851, allocations: 4.141 kB / 3.749 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.004395/8.856, allocations: 2.019 MB / 3.751 GB, free: 94.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/8.856, allocations: 122.4 kB / 3.751 GB, free: 94.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/8.857, allocations: 0.9017 MB / 3.752 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/8.857, allocations: 47.67 kB / 3.752 GB, free: 94.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/8.858, allocations: 0.5303 MB / 3.753 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/8.858, allocations: 271.8 kB / 3.753 GB, free: 94.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/8.858, allocations: 16.84 kB / 3.753 GB, free: 94.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001167/8.858, allocations: 341.2 kB / 3.754 GB, free: 93.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/8.86, allocations: 0.5347 MB / 3.754 GB, free: 93.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/8.861, allocations: 0.7566 MB / 3.755 GB, free: 93.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/8.863, allocations: 0.6341 MB / 3.755 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/8.863, allocations: 6.562 kB / 3.755 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003769/8.866, allocations: 1.573 MB / 3.757 GB, free: 93.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/8.867, allocations: 1.116 MB / 3.758 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/8.867, allocations: 4.656 kB / 3.758 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/8.867, allocations: 7.875 kB / 3.758 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/8.868, allocations: 272.4 kB / 3.758 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/8.868, allocations: 9.656 kB / 3.758 GB, free: 92.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/8.87, allocations: 219.4 kB / 3.759 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/8.87, allocations: 61.3 kB / 3.759 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/8.87, allocations: 3.812 kB / 3.759 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003098/8.873, allocations: 1.482 MB / 3.76 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/8.873, allocations: 3.969 kB / 3.76 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/8.873, allocations: 3.844 kB / 3.76 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/8.875, allocations: 269.1 kB / 3.76 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/8.875, allocations: 14.8 kB / 3.76 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/8.876, allocations: 206.1 kB / 3.761 GB, free: 91.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/8.876, allocations: 51.34 kB / 3.761 GB, free: 91.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.0008246/8.877, allocations: 463 kB / 3.761 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/8.878, allocations: 128.8 kB / 3.761 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/8.881, allocations: 1.587 MB / 3.763 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/8.881, allocations: 11.14 kB / 3.763 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/8.881, allocations: 6.688 kB / 3.763 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/8.881, allocations: 3.609 kB / 3.763 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/8.886, allocations: 3.061 MB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/8.886, allocations: 3.375 kB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/8.887, allocations: 209.3 kB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/8.887, allocations: 8.906 kB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/8.888, allocations: 32.06 kB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/8.888, allocations: 10.53 kB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/8.888, allocations: 5.844 kB / 3.766 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/8.892, allocations: 2.568 MB / 3.768 GB, free: 90.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007646/8.893, allocations: 354 kB / 3.769 GB, free: 90.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/8.893, allocations: 26.86 kB / 3.769 GB, free: 90.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/8.894, allocations: 142.4 kB / 3.769 GB, free: 90.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/8.894, allocations: 63.19 kB / 3.769 GB, free: 90.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/8.895, allocations: 52.53 kB / 3.769 GB, free: 90.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009168/8.895, allocations: 0.6991 MB / 3.77 GB, free: 90.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.132e-06/8.895, allocations: 0 / 3.77 GB, free: 90.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003012/8.898, allocations: 1.016 MB / 3.771 GB, free: 90.01 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * 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.003308/8.902, allocations: 2.231 MB / 3.773 GB, free: 89.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004582/8.906, allocations: 2.315 MB / 3.775 GB, free: 89.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/8.906, allocations: 0 / 3.775 GB, free: 89.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/8.908, allocations: 0.8 MB / 3.776 GB, free: 89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/8.91, allocations: 0.5015 MB / 3.776 GB, free: 89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/8.915, allocations: 2.828 MB / 3.779 GB, free: 87.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/8.916, allocations: 1.177 MB / 3.78 GB, free: 87.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001836/8.918, allocations: 371.4 kB / 3.781 GB, free: 87.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/8.918, allocations: 106.8 kB / 3.781 GB, free: 87.04 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/8.918, allocations: 0 / 3.781 GB, free: 87.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.06278/8.981, allocations: 45.67 MB / 3.825 GB, free: 84.79 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)