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.001088/0.001088, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 130.6 MB / 143.8 MB, free: 13.58 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.577/1.577, allocations: 221.3 MB / 396.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009247, allocations: 104.4 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.493e-05, allocations: 4 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/5.871, allocations: 2.158 GB / 2.792 GB, free: 59.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/5.871, allocations: 87.95 kB / 2.792 GB, free: 59.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.375/10.25, allocations: 0.9262 GB / 3.719 GB, free: 94.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/10.25, allocations: 2.516 kB / 3.719 GB, free: 94.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001181/10.25, allocations: 38.8 kB / 3.719 GB, free: 94.39 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.005494/10.25, allocations: 1.941 MB / 3.721 GB, free: 93.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/10.25, allocations: 15.44 kB / 3.721 GB, free: 93.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/10.25, allocations: 0.5196 MB / 3.721 GB, free: 93.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/10.26, allocations: 1.227 MB / 3.722 GB, free: 93.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006398/10.26, allocations: 206.6 kB / 3.722 GB, free: 93.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/10.26, allocations: 97.16 kB / 3.723 GB, free: 93.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/10.26, allocations: 1.15 MB / 3.724 GB, free: 93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/10.26, allocations: 3.953 kB / 3.724 GB, free: 93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/10.26, allocations: 37.42 kB / 3.724 GB, free: 93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/10.26, allocations: 42.44 kB / 3.724 GB, free: 93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/10.26, allocations: 1.014 MB / 3.725 GB, free: 92.99 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.008473/10.27, allocations: 5.11 MB / 3.73 GB, free: 91.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/10.27, allocations: 0.7877 MB / 3.73 GB, free: 91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/10.27, allocations: 477.9 kB / 3.731 GB, free: 90.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/10.27, allocations: 0.8358 MB / 3.732 GB, free: 90.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007837/10.27, allocations: 0.6036 MB / 3.732 GB, free: 90.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.228e-06/10.27, allocations: 2.906 kB / 3.732 GB, free: 90.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002061/10.28, allocations: 1.109 MB / 3.733 GB, free: 89.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/10.28, allocations: 118.3 kB / 3.734 GB, free: 89.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/10.28, allocations: 0.8879 MB / 3.734 GB, free: 89.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/10.28, allocations: 45.86 kB / 3.734 GB, free: 89.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/10.28, allocations: 0.5294 MB / 3.735 GB, free: 89.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/10.28, allocations: 277 kB / 3.735 GB, free: 89.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/10.28, allocations: 19.94 kB / 3.735 GB, free: 89.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/10.28, allocations: 345.6 kB / 3.736 GB, free: 88.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/10.28, allocations: 409.4 kB / 3.736 GB, free: 88.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007768/10.28, allocations: 0.6163 MB / 3.737 GB, free: 88.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/10.28, allocations: 0.5006 MB / 3.737 GB, free: 88.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/10.28, allocations: 3.938 kB / 3.737 GB, free: 88.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002261/10.28, allocations: 1.292 MB / 3.738 GB, free: 88.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003281/10.28, allocations: 1.118 MB / 3.739 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/10.28, allocations: 3.938 kB / 3.739 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/10.28, allocations: 13.03 kB / 3.739 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/10.29, allocations: 263.6 kB / 3.74 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/10.29, allocations: 10.88 kB / 3.74 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/10.29, allocations: 228 kB / 3.74 GB, free: 87.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/10.29, allocations: 47.92 kB / 3.74 GB, free: 87.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/10.29, allocations: 7.672 kB / 3.74 GB, free: 87.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002093/10.29, allocations: 1.205 MB / 3.741 GB, free: 87.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/10.29, allocations: 3.219 kB / 3.741 GB, free: 87.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/10.29, allocations: 5.688 kB / 3.741 GB, free: 87.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/10.29, allocations: 269.2 kB / 3.741 GB, free: 87.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/10.29, allocations: 11.41 kB / 3.741 GB, free: 87.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/10.29, allocations: 196.8 kB / 3.742 GB, free: 87.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/10.29, allocations: 54.7 kB / 3.742 GB, free: 87.06 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 () * 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.0004109/10.29, allocations: 236.1 kB / 3.742 GB, free: 86.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/10.29, allocations: 137.3 kB / 3.742 GB, free: 86.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/10.3, allocations: 1.323 MB / 3.743 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/10.3, allocations: 11.17 kB / 3.743 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/10.3, allocations: 2.719 kB / 3.743 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/10.3, allocations: 3.703 kB / 3.743 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/10.3, allocations: 2.802 MB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/10.3, allocations: 5.625 kB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/10.3, allocations: 206 kB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/10.3, allocations: 14.92 kB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/10.3, allocations: 32.31 kB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/10.3, allocations: 9.656 kB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/10.3, allocations: 6.359 kB / 3.746 GB, free: 86.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/10.3, allocations: 2.181 MB / 3.748 GB, free: 85.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/10.3, allocations: 348.7 kB / 3.749 GB, free: 85.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/10.3, allocations: 27.81 kB / 3.749 GB, free: 85.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/10.31, allocations: 145.2 kB / 3.749 GB, free: 85.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/10.31, allocations: 63.12 kB / 3.749 GB, free: 85.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/10.31, allocations: 49.88 kB / 3.749 GB, free: 85.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001118/10.31, allocations: 0.6837 MB / 3.75 GB, free: 85.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/10.31, allocations: 2.094 kB / 3.75 GB, free: 85.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003916/10.31, allocations: 1.008 MB / 3.751 GB, free: 85.12 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.004024/10.32, allocations: 2.243 MB / 3.753 GB, free: 84.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002907/10.32, allocations: 1.944 MB / 3.755 GB, free: 84.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/10.32, allocations: 1.719 kB / 3.755 GB, free: 84.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007881/10.32, allocations: 0.6709 MB / 3.755 GB, free: 84.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/10.32, allocations: 0.5012 MB / 3.756 GB, free: 84.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/10.33, allocations: 1.801 MB / 3.758 GB, free: 83.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/10.33, allocations: 1.182 MB / 3.759 GB, free: 82.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00261/10.33, allocations: 439.9 kB / 3.759 GB, free: 82.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/10.33, allocations: 90.2 kB / 3.759 GB, free: 82.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/10.33, allocations: 3.125 kB / 3.759 GB, free: 82.79 MB / 0.698 GB Notification: Performance of Templates: time 0.07356/10.4, allocations: 52.29 MB / 3.81 GB, free: 77.12 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)