Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008464/0.008464, allocations: 172 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/package.mo): time 0.7719/0.7719, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 403.2 MB, free: 6.785 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.0008631/0.000863, allocations: 99.56 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 12 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4173, allocations: 81.58 MB / 0.6437 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.965/5.382, allocations: 2.158 GB / 2.801 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.382, allocations: 90.27 kB / 2.801 GB, free: 63.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.457/8.839, allocations: 0.9276 GB / 3.729 GB, free: 95.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/8.839, allocations: 0 / 3.729 GB, free: 95.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001303/8.84, allocations: 43.12 kB / 3.729 GB, free: 95.17 MB / 0.698 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.006651/8.846, allocations: 2.17 MB / 3.731 GB, free: 94.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/8.846, allocations: 14.78 kB / 3.731 GB, free: 94.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/8.85, allocations: 0.5179 MB / 3.732 GB, free: 94.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/8.853, allocations: 1.238 MB / 3.733 GB, free: 93.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000606/8.854, allocations: 212.2 kB / 3.733 GB, free: 93.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/8.854, allocations: 99.7 kB / 3.733 GB, free: 93.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/8.856, allocations: 1.29 MB / 3.735 GB, free: 93.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/8.856, allocations: 3.953 kB / 3.735 GB, free: 93.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/8.856, allocations: 39.62 kB / 3.735 GB, free: 93.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/8.856, allocations: 35.31 kB / 3.735 GB, free: 93.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/8.859, allocations: 1.287 MB / 3.736 GB, free: 93.66 MB / 0.698 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.008503/8.868, allocations: 5.101 MB / 3.741 GB, free: 91.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/8.87, allocations: 1.081 MB / 3.742 GB, free: 91.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009764/8.871, allocations: 0.8428 MB / 3.743 GB, free: 90.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/8.873, allocations: 0.7338 MB / 3.743 GB, free: 90.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.115e-06/8.873, allocations: 0 / 3.743 GB, free: 90.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.004602/8.877, allocations: 2.03 MB / 3.745 GB, free: 90.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/8.877, allocations: 118.1 kB / 3.746 GB, free: 90.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/8.879, allocations: 0.9027 MB / 3.746 GB, free: 90.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/8.879, allocations: 50.97 kB / 3.746 GB, free: 90 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/8.879, allocations: 0.5339 MB / 3.747 GB, free: 89.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/8.88, allocations: 264.4 kB / 3.747 GB, free: 89.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/8.88, allocations: 18.72 kB / 3.747 GB, free: 89.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/8.88, allocations: 343.6 kB / 3.748 GB, free: 89.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/8.881, allocations: 0.5395 MB / 3.748 GB, free: 89.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/8.883, allocations: 0.7493 MB / 3.749 GB, free: 89.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/8.884, allocations: 0.6365 MB / 3.749 GB, free: 89.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/8.884, allocations: 2.688 kB / 3.749 GB, free: 89.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003565/8.888, allocations: 1.569 MB / 3.751 GB, free: 88.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/8.888, allocations: 1.118 MB / 3.752 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/8.888, allocations: 2.781 kB / 3.752 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/8.888, allocations: 10.44 kB / 3.752 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/8.889, allocations: 268.7 kB / 3.752 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/8.889, allocations: 5.656 kB / 3.752 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/8.891, allocations: 223.1 kB / 3.753 GB, free: 87.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/8.891, allocations: 59.27 kB / 3.753 GB, free: 87.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/8.891, allocations: 7.266 kB / 3.753 GB, free: 87.65 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003132/8.894, allocations: 1.481 MB / 3.754 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/8.894, allocations: 0 / 3.754 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/8.894, allocations: 8.781 kB / 3.754 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/8.896, allocations: 266 kB / 3.754 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/8.896, allocations: 12.62 kB / 3.754 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/8.897, allocations: 202.8 kB / 3.755 GB, free: 87.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/8.898, allocations: 58.55 kB / 3.755 GB, free: 87.52 MB / 0.698 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.0008453/8.898, allocations: 463.5 kB / 3.755 GB, free: 87.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/8.899, allocations: 131.6 kB / 3.755 GB, free: 87.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/8.902, allocations: 1.578 MB / 3.757 GB, free: 87.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/8.902, allocations: 9.625 kB / 3.757 GB, free: 87.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/8.902, allocations: 1.562 kB / 3.757 GB, free: 87.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/8.902, allocations: 5.953 kB / 3.757 GB, free: 87.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/8.907, allocations: 3.072 MB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/8.907, allocations: 3.062 kB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/8.908, allocations: 204.2 kB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/8.909, allocations: 9.344 kB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/8.909, allocations: 35.33 kB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/8.909, allocations: 14.02 kB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/8.909, allocations: 3.938 kB / 3.76 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/8.913, allocations: 2.563 MB / 3.762 GB, free: 85.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/8.914, allocations: 374 kB / 3.763 GB, free: 85.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/8.914, allocations: 27.22 kB / 3.763 GB, free: 85.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/8.915, allocations: 132.8 kB / 3.763 GB, free: 85.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/8.916, allocations: 66.38 kB / 3.763 GB, free: 85.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/8.916, allocations: 47.75 kB / 3.763 GB, free: 85.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009486/8.917, allocations: 0.7072 MB / 3.764 GB, free: 85.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/8.917, allocations: 0 / 3.764 GB, free: 85.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003251/8.92, allocations: 1.015 MB / 3.765 GB, free: 85.51 MB / 0.698 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.003645/8.924, allocations: 2.214 MB / 3.767 GB, free: 84.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004893/8.929, allocations: 2.314 MB / 3.769 GB, free: 84.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/8.929, allocations: 0 / 3.769 GB, free: 84.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/8.93, allocations: 0.8021 MB / 3.77 GB, free: 84.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/8.933, allocations: 0.5016 MB / 3.77 GB, free: 84.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/8.938, allocations: 2.825 MB / 3.773 GB, free: 83.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/8.938, allocations: 1.186 MB / 3.774 GB, free: 82.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00184/8.94, allocations: 364.7 kB / 3.775 GB, free: 82.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/8.94, allocations: 104.9 kB / 3.775 GB, free: 82.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/8.94, allocations: 0 / 3.775 GB, free: 82.5 MB / 0.698 GB Notification: Performance of Templates: time 0.06121/9.002, allocations: 45.68 MB / 3.819 GB, free: 75.28 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)