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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009515, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008826/0.0008825, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8506/0.8506, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 0.5068 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 82.32 MB / 0.5872 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.3824/0.522, allocations: 172.2 MB / 0.7553 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.5373, allocations: 11.95 MB / 0.767 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.539, allocations: 39.69 kB / 0.767 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.541, allocations: 0.7076 MB / 0.7677 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.5461, allocations: 2.006 MB / 0.7697 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.5505, allocations: 1.734 MB / 0.7714 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.5536, allocations: 1.917 MB / 0.7733 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.5547, allocations: 0.903 MB / 0.7741 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.5572, allocations: 1.39 MB / 0.7755 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008323/0.5581, allocations: 0.7197 MB / 0.7762 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.5582, allocations: 60 kB / 0.7763 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.5617, allocations: 2.04 MB / 0.7783 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.5621, allocations: 314.9 kB / 0.7786 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.5624, allocations: 305 kB / 0.7788 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.5647, allocations: 2.032 MB / 0.7808 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.5648, allocations: 0 / 0.7808 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5648, allocations: 0 / 0.7808 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.5648, allocations: 4 kB / 0.7808 GB, free: 6.418 MB / 0.5919 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.003472/0.5683, allocations: 1.795 MB / 0.7826 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.5683, allocations: 12.03 kB / 0.7826 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.571, allocations: 0.5601 MB / 0.7831 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.5727, allocations: 1.029 MB / 0.7841 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005917/0.5733, allocations: 202.1 kB / 0.7843 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.5735, allocations: 103.9 kB / 0.7844 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.5757, allocations: 1.268 MB / 0.7857 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5758, allocations: 4 kB / 0.7857 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.5759, allocations: 36 kB / 0.7857 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.5759, allocations: 41.98 kB / 0.7858 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.5787, allocations: 1.319 MB / 0.787 GB, free: 15.91 MB / 0.6075 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.006955/0.5857, allocations: 4.922 MB / 0.7919 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.5882, allocations: 1.066 MB / 0.7929 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009054/0.5891, allocations: 0.6877 MB / 0.7936 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.5904, allocations: 0.7465 MB / 0.7943 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.5904, allocations: 0 / 0.7943 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.003925/0.5944, allocations: 1.937 MB / 0.7962 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.5944, allocations: 153.1 kB / 0.7963 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.5956, allocations: 1.038 MB / 0.7973 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/0.5957, allocations: 49.7 kB / 0.7974 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.5961, allocations: 0.5242 MB / 0.7979 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.5963, allocations: 272 kB / 0.7982 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.5963, allocations: 20 kB / 0.7982 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5964, allocations: 345.9 kB / 0.7985 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.5976, allocations: 0.5094 MB / 0.799 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.5989, allocations: 0.7076 MB / 0.7997 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.6001, allocations: 0.6036 MB / 0.8003 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6001, allocations: 0 / 0.8003 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002943/0.603, allocations: 1.503 MB / 0.8018 GB, free: 156 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.6034, allocations: 1.116 MB / 0.8028 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6034, allocations: 4.625 kB / 0.8029 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6035, allocations: 8 kB / 0.8029 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6046, allocations: 259.7 kB / 0.8031 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6046, allocations: 11.94 kB / 0.8031 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.6059, allocations: 215.5 kB / 0.8033 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.606, allocations: 51.92 kB / 0.8034 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.6061, allocations: 4 kB / 0.8034 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002808/0.6089, allocations: 1.409 MB / 0.8048 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6089, allocations: 7.938 kB / 0.8048 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-06/0.6089, allocations: 4 kB / 0.8048 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.61, allocations: 267.7 kB / 0.805 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.61, allocations: 12.62 kB / 0.805 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.6112, allocations: 199 kB / 0.8052 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.6113, allocations: 39.97 kB / 0.8053 GB, free: 12.47 MB / 0.6231 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.0005792/0.6119, allocations: 468.2 kB / 0.8057 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.6121, allocations: 130.5 kB / 0.8058 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.6151, allocations: 1.513 MB / 0.8073 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6151, allocations: 8 kB / 0.8073 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6151, allocations: 0 / 0.8073 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.6151, allocations: 3.984 kB / 0.8073 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/0.6198, allocations: 3.056 MB / 0.8103 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.6198, allocations: 7.922 kB / 0.8103 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/0.6207, allocations: 204.1 kB / 0.8105 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.6208, allocations: 8 kB / 0.8105 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.6208, allocations: 39.88 kB / 0.8106 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.6208, allocations: 4 kB / 0.8106 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6209, allocations: 7.938 kB / 0.8106 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/0.6249, allocations: 2.455 MB / 0.813 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/0.6255, allocations: 361.4 kB / 0.8133 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.6257, allocations: 24 kB / 0.8133 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6267, allocations: 123.9 kB / 0.8134 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.6269, allocations: 68.44 kB / 0.8135 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.627, allocations: 43.97 kB / 0.8136 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008785/0.6278, allocations: 0.6971 MB / 0.8142 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6278, allocations: 0 / 0.8142 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001723/0.6296, allocations: 0.7916 MB / 0.815 GB, free: 2.199 MB / 0.6231 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.0009663/0.6306, allocations: 0.506 MB / 0.8155 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004203/0.6348, allocations: 2.263 MB / 0.8177 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6348, allocations: 4 kB / 0.8177 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.6362, allocations: 0.7877 MB / 0.8185 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.6384, allocations: 0.5063 MB / 0.819 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.6426, allocations: 2.839 MB / 0.8218 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.6432, allocations: 1.184 MB / 0.8229 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001442/0.6447, allocations: 362.5 kB / 0.8233 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.645, allocations: 99.41 kB / 0.8233 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.645, allocations: 0 / 0.8233 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of Templates: time 0.03521/0.6802, allocations: 24.77 MB / 0.8475 GB, free: 1.043 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: