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.001069/0.001069, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 130.7 MB / 138.7 MB, free: 3.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 391.8 MB, free: 14.2 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.00086/0.0008599, allocations: 89.42 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.728e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5351, allocations: 81.58 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.21/6.745, allocations: 2.157 GB / 2.785 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/6.745, allocations: 84.2 kB / 2.785 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.988/10.73, allocations: 0.9173 GB / 3.702 GB, free: 95.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/10.73, allocations: 0 / 3.702 GB, free: 95.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000215/10.73, allocations: 33.98 kB / 3.703 GB, free: 95.16 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.006714/10.74, allocations: 1.949 MB / 3.704 GB, free: 94.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/10.74, allocations: 14.3 kB / 3.704 GB, free: 94.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/10.74, allocations: 0.5235 MB / 3.705 GB, free: 94.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/10.75, allocations: 1.224 MB / 3.706 GB, free: 94.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006444/10.75, allocations: 169 kB / 3.706 GB, free: 94.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/10.75, allocations: 60.97 kB / 3.706 GB, free: 94.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001859/10.75, allocations: 0.9304 MB / 3.707 GB, free: 94.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/10.75, allocations: 1.037 MB / 3.708 GB, free: 94.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/10.75, allocations: 0 / 3.708 GB, free: 94.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/10.75, allocations: 7.797 kB / 3.708 GB, free: 94.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/10.75, allocations: 41.78 kB / 3.708 GB, free: 94.01 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00925/10.76, allocations: 4.892 MB / 3.713 GB, free: 92.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/10.76, allocations: 0.8237 MB / 3.714 GB, free: 91.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/10.76, allocations: 445 kB / 3.714 GB, free: 91.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009753/10.76, allocations: 0.8393 MB / 3.715 GB, free: 91.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007882/10.77, allocations: 0.6139 MB / 3.716 GB, free: 91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 2.655e-06/10.77, allocations: 5.438 kB / 3.716 GB, free: 91 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002897/10.77, allocations: 1.126 MB / 3.717 GB, free: 90.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/10.77, allocations: 150.4 kB / 3.717 GB, free: 90.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/10.77, allocations: 0.737 MB / 3.718 GB, free: 90.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/10.77, allocations: 29.52 kB / 3.718 GB, free: 90.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/10.77, allocations: 0.5324 MB / 3.718 GB, free: 90.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/10.77, allocations: 267.9 kB / 3.719 GB, free: 90.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/10.77, allocations: 0 / 3.719 GB, free: 90.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/10.77, allocations: 341.9 kB / 3.719 GB, free: 89.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/10.77, allocations: 388.6 kB / 3.719 GB, free: 89.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/10.77, allocations: 0.5962 MB / 3.72 GB, free: 89.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/10.77, allocations: 0.5361 MB / 3.72 GB, free: 89.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/10.77, allocations: 6.375 kB / 3.72 GB, free: 89.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002692/10.78, allocations: 1.295 MB / 3.722 GB, free: 89.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003433/10.78, allocations: 1.197 MB / 3.723 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/10.78, allocations: 6.812 kB / 3.723 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/10.78, allocations: 8.406 kB / 3.723 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/10.78, allocations: 271.7 kB / 3.723 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/10.78, allocations: 12.7 kB / 3.723 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/10.78, allocations: 180.3 kB / 3.723 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/10.78, allocations: 52.89 kB / 3.723 GB, free: 88.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/10.78, allocations: 4.188 kB / 3.723 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/10.78, allocations: 1.177 MB / 3.724 GB, free: 88.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/10.78, allocations: 7.266 kB / 3.724 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/10.78, allocations: 6.344 kB / 3.724 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/10.78, allocations: 268.9 kB / 3.725 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/10.78, allocations: 7.469 kB / 3.725 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/10.79, allocations: 173.6 kB / 3.725 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/10.79, allocations: 60.58 kB / 3.725 GB, free: 88.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * 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.0003341/10.79, allocations: 199 kB / 3.725 GB, free: 88.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/10.79, allocations: 117.1 kB / 3.725 GB, free: 88.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/10.79, allocations: 1.282 MB / 3.726 GB, free: 87.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/10.79, allocations: 9.906 kB / 3.727 GB, free: 87.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/10.79, allocations: 3.797 kB / 3.727 GB, free: 87.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/10.79, allocations: 3.75 kB / 3.727 GB, free: 87.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/10.79, allocations: 2.705 MB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/10.79, allocations: 3.969 kB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/10.79, allocations: 208.5 kB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/10.79, allocations: 10.23 kB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/10.8, allocations: 28.19 kB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/10.8, allocations: 3.875 kB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/10.8, allocations: 9.016 kB / 3.729 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/10.8, allocations: 2.126 MB / 3.731 GB, free: 86.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/10.8, allocations: 346.1 kB / 3.732 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/10.8, allocations: 14.55 kB / 3.732 GB, free: 86.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/10.8, allocations: 137.9 kB / 3.732 GB, free: 86.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/10.8, allocations: 59.83 kB / 3.732 GB, free: 86.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/10.8, allocations: 48.8 kB / 3.732 GB, free: 86.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008486/10.8, allocations: 0.5601 MB / 3.733 GB, free: 86.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/10.8, allocations: 1.688 kB / 3.733 GB, free: 86.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003779/10.81, allocations: 0.9357 MB / 3.734 GB, free: 86.58 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) * 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.006095/10.81, allocations: 2.435 MB / 3.736 GB, free: 85.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00331/10.82, allocations: 1.849 MB / 3.738 GB, free: 85.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/10.82, allocations: 0 / 3.738 GB, free: 85.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008227/10.82, allocations: 0.6414 MB / 3.738 GB, free: 85.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/10.82, allocations: 427.8 kB / 3.739 GB, free: 85.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/10.82, allocations: 1.732 MB / 3.74 GB, free: 85.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/10.82, allocations: 1.186 MB / 3.742 GB, free: 84.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002275/10.83, allocations: 393.1 kB / 3.742 GB, free: 84.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/10.83, allocations: 93.27 kB / 3.742 GB, free: 84.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/10.83, allocations: 2.062 kB / 3.742 GB, free: 84.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05652/10.88, allocations: 33.56 MB / 3.775 GB, free: 82.54 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)