Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004952/0.004952, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001125/0.001125, allocations: 187 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9257/0.9257, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.5856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4058, allocations: 80.91 MB / 0.6647 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07013/0.476, allocations: 77.15 MB / 0.74 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.501, allocations: 18.84 MB / 0.7584 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/0.5051, allocations: 115.3 kB / 0.7585 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/0.5086, allocations: 1.285 MB / 0.7598 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.5209, allocations: 3.8 MB / 0.7635 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00577/0.5267, allocations: 2.093 MB / 0.7655 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009727/0.5365, allocations: 6.69 MB / 0.772 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004142/0.5406, allocations: 2.102 MB / 0.7741 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005762/0.5464, allocations: 2.375 MB / 0.7764 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.5497, allocations: 1.768 MB / 0.7781 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006561/0.5504, allocations: 196 kB / 0.7783 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/0.5554, allocations: 1.63 MB / 0.7799 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009349/0.5563, allocations: 0.5371 MB / 0.7804 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.5586, allocations: 1.252 MB / 0.7817 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006822/0.5654, allocations: 3.749 MB / 0.7853 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5654, allocations: 0 / 0.7853 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5654, allocations: 0 / 0.7853 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.086e-05/0.5655, allocations: 0 / 0.7853 GB, free: 5.656 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004271/0.5698, allocations: 2.715 MB / 0.788 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5698, allocations: 8.031 kB / 0.788 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/0.5705, allocations: 269.4 kB / 0.7882 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.5734, allocations: 2.015 MB / 0.7902 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.5735, allocations: 102.7 kB / 0.7903 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.5737, allocations: 155.8 kB / 0.7905 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.5762, allocations: 1.516 MB / 0.7919 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.5763, allocations: 0 / 0.7919 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.5764, allocations: 64 kB / 0.792 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.5765, allocations: 47.86 kB / 0.7921 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.5786, allocations: 1.119 MB / 0.7931 GB, free: 13.45 MB / 0.6231 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.008236/0.5868, allocations: 7.595 MB / 0.8006 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.5878, allocations: 480.6 kB / 0.801 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.5885, allocations: 334.3 kB / 0.8013 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/0.5894, allocations: 1.152 MB / 0.8025 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5895, allocations: 43.12 kB / 0.8025 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.906e-06/0.5895, allocations: 0 / 0.8025 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002211/0.5917, allocations: 0.9612 MB / 0.8034 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5917, allocations: 63.91 kB / 0.8035 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.5939, allocations: 1.787 MB / 0.8052 GB, free: 148 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.594, allocations: 45.7 kB / 0.8053 GB, free: 96 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007868/0.5948, allocations: 0.92 MB / 0.8062 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5951, allocations: 220.9 kB / 0.8064 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.5954, allocations: 222.7 kB / 0.8066 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5955, allocations: 353.9 kB / 0.807 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/0.5963, allocations: 330.4 kB / 0.8073 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/0.5973, allocations: 0.686 MB / 0.8079 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.5988, allocations: 1.016 MB / 0.8089 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.5989, allocations: 4 kB / 0.8089 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002234/0.6011, allocations: 1.21 MB / 0.8101 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.6011, allocations: 16.12 kB / 0.8101 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.6012, allocations: 11.94 kB / 0.8101 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.6012, allocations: 19.94 kB / 0.8102 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.6022, allocations: 287.6 kB / 0.8104 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.6022, allocations: 19.94 kB / 0.8105 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.6034, allocations: 170.4 kB / 0.8106 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.6034, allocations: 55.98 kB / 0.8107 GB, free: 10.27 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006781/0.6041, allocations: 441.3 kB / 0.8111 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.6044, allocations: 189.7 kB / 0.8113 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.6061, allocations: 0.861 MB / 0.8121 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.6062, allocations: 8 kB / 0.8121 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.6062, allocations: 0 / 0.8121 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.6074, allocations: 0.8073 MB / 0.8129 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.6112, allocations: 2.451 MB / 0.8153 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6112, allocations: 0 / 0.8153 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.612, allocations: 184 kB / 0.8155 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.612, allocations: 4 kB / 0.8155 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.612, allocations: 16 kB / 0.8155 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.612, allocations: 7.984 kB / 0.8155 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.612, allocations: 7.984 kB / 0.8155 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.6143, allocations: 1.332 MB / 0.8168 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.6149, allocations: 362.5 kB / 0.8172 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.6151, allocations: 19.98 kB / 0.8172 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.616, allocations: 63.92 kB / 0.8172 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6161, allocations: 52.38 kB / 0.8173 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.6162, allocations: 35.97 kB / 0.8173 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001638/0.6178, allocations: 1.239 MB / 0.8185 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6179, allocations: 0 / 0.8185 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001718/0.6196, allocations: 0.6551 MB / 0.8192 GB, free: 1.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.6207, allocations: 0.6062 MB / 0.8198 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.6224, allocations: 0.8234 MB / 0.8206 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6224, allocations: 0 / 0.8206 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.6231, allocations: 356.4 kB / 0.8209 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/0.6274, allocations: 1.197 MB / 0.8221 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.632, allocations: 3.062 MB / 0.8251 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.6331, allocations: 1.405 MB / 0.8264 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001182/0.6342, allocations: 376.1 kB / 0.8268 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.6345, allocations: 151.4 kB / 0.8269 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.6346, allocations: 0 / 0.8269 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of Templates: time 0.3922/1.027, allocations: 41.92 MB / 0.8679 GB, free: 184.4 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)