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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008712, allocations: 100.5 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.000914/0.000914, allocations: 177.3 kB / 15.94 MB, free: 228 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.236/1.236, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8412/0.8412, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 13.34 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.3951/0.5408, allocations: 172.2 MB / 0.7553 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.5556, allocations: 11.94 MB / 0.767 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.557, allocations: 43.69 kB / 0.767 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.5588, allocations: 0.7115 MB / 0.7677 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.5637, allocations: 2.006 MB / 0.7697 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.568, allocations: 1.73 MB / 0.7714 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.571, allocations: 1.917 MB / 0.7733 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.5725, allocations: 0.9094 MB / 0.7741 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.5753, allocations: 1.39 MB / 0.7755 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.5766, allocations: 0.7158 MB / 0.7762 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.5768, allocations: 56 kB / 0.7763 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.5806, allocations: 2.04 MB / 0.7782 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.5811, allocations: 318.9 kB / 0.7785 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.5815, allocations: 305 kB / 0.7788 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.5843, allocations: 2.028 MB / 0.7808 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.5843, allocations: 4 kB / 0.7808 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5843, allocations: 0 / 0.7808 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.131e-05/0.5844, allocations: 0 / 0.7808 GB, free: 6.504 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.003828/0.5882, allocations: 1.804 MB / 0.7826 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5882, allocations: 12.03 kB / 0.7826 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.5912, allocations: 0.5601 MB / 0.7831 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.5931, allocations: 1.017 MB / 0.7841 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006349/0.5938, allocations: 210.1 kB / 0.7843 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.594, allocations: 99.98 kB / 0.7844 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.5964, allocations: 1.275 MB / 0.7857 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5964, allocations: 0 / 0.7857 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.5965, allocations: 39.98 kB / 0.7857 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.5966, allocations: 38 kB / 0.7858 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.5995, allocations: 1.327 MB / 0.7871 GB, free: 15.98 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.007588/0.6071, allocations: 4.909 MB / 0.7918 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.6098, allocations: 1.062 MB / 0.7929 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.6108, allocations: 0.6916 MB / 0.7936 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.6123, allocations: 0.7466 MB / 0.7943 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.546e-06/0.6123, allocations: 3.938 kB / 0.7943 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.004432/0.6168, allocations: 1.941 MB / 0.7962 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.6169, allocations: 145.1 kB / 0.7963 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.6184, allocations: 1.042 MB / 0.7973 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.6185, allocations: 41.7 kB / 0.7974 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.6191, allocations: 0.5242 MB / 0.7979 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.6193, allocations: 276 kB / 0.7982 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.6194, allocations: 20 kB / 0.7982 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6196, allocations: 349.9 kB / 0.7985 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.6208, allocations: 0.5056 MB / 0.799 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.6222, allocations: 0.7076 MB / 0.7997 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.6235, allocations: 0.6075 MB / 0.8003 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6235, allocations: 0 / 0.8003 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00313/0.6266, allocations: 1.495 MB / 0.8017 GB, free: 248 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004587/0.6271, allocations: 1.122 MB / 0.8028 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6271, allocations: 0 / 0.8028 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.6272, allocations: 8 kB / 0.8029 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.6284, allocations: 259.7 kB / 0.8031 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.6284, allocations: 16.55 kB / 0.8031 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6298, allocations: 219.5 kB / 0.8033 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6299, allocations: 51.92 kB / 0.8034 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.63, allocations: 4 kB / 0.8034 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002953/0.6329, allocations: 1.414 MB / 0.8048 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6329, allocations: 4 kB / 0.8048 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.633, allocations: 11.94 kB / 0.8048 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6341, allocations: 263.7 kB / 0.805 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6342, allocations: 4 kB / 0.805 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6354, allocations: 199 kB / 0.8052 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.6355, allocations: 47.97 kB / 0.8053 GB, free: 12.55 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.0006408/0.6362, allocations: 468.2 kB / 0.8057 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.6364, allocations: 130.5 kB / 0.8058 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.6395, allocations: 1.51 MB / 0.8073 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.6396, allocations: 8 kB / 0.8073 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6396, allocations: 0 / 0.8073 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6396, allocations: 3.984 kB / 0.8073 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.6447, allocations: 3.052 MB / 0.8103 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6447, allocations: 8.344 kB / 0.8103 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/0.6457, allocations: 203.7 kB / 0.8105 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.6457, allocations: 4 kB / 0.8105 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/0.6458, allocations: 43.86 kB / 0.8105 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.6458, allocations: 4 kB / 0.8106 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6458, allocations: 7.938 kB / 0.8106 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.6501, allocations: 2.463 MB / 0.813 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.6508, allocations: 351.1 kB / 0.8133 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.651, allocations: 24 kB / 0.8133 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.6521, allocations: 131.9 kB / 0.8134 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6523, allocations: 60.44 kB / 0.8135 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.635e-05/0.6523, allocations: 43.97 kB / 0.8135 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000957/0.6533, allocations: 0.6971 MB / 0.8142 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6533, allocations: 0 / 0.8142 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002002/0.6553, allocations: 0.7916 MB / 0.815 GB, free: 2.281 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.001201/0.6565, allocations: 0.5162 MB / 0.8155 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00455/0.6611, allocations: 2.266 MB / 0.8177 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6611, allocations: 0 / 0.8177 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.6625, allocations: 0.784 MB / 0.8185 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.665, allocations: 0.5019 MB / 0.819 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.6699, allocations: 2.835 MB / 0.8217 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/0.6707, allocations: 1.184 MB / 0.8229 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001566/0.6723, allocations: 363 kB / 0.8232 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.6726, allocations: 107.4 kB / 0.8233 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.6726, allocations: 0 / 0.8233 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of Templates: time 0.03996/0.7126, allocations: 24.77 MB / 0.8475 GB, free: 1.121 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: