Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004891/0.00489, allocations: 97.73 kB / 15.73 MB, free: 6.051 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.00129/0.00129, allocations: 200 kB / 16.68 MB, free: 5.98 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7539/0.7539, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 0.5814 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4155, allocations: 80.2 MB / 0.6597 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06847/0.484, allocations: 77.15 MB / 0.735 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.5098, allocations: 18.84 MB / 0.7534 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.5141, allocations: 107.4 kB / 0.7535 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004594/0.5187, allocations: 1.254 MB / 0.7548 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.5311, allocations: 3.615 MB / 0.7583 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005802/0.5369, allocations: 2.093 MB / 0.7603 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009503/0.5464, allocations: 6.674 MB / 0.7669 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.5499, allocations: 2.09 MB / 0.7689 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005719/0.5556, allocations: 2.322 MB / 0.7712 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.5591, allocations: 1.749 MB / 0.7729 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008012/0.5599, allocations: 200 kB / 0.7731 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.5643, allocations: 1.618 MB / 0.7746 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008094/0.5651, allocations: 0.5411 MB / 0.7752 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.5673, allocations: 1.252 MB / 0.7764 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006853/0.5741, allocations: 3.765 MB / 0.7801 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5741, allocations: 0 / 0.7801 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5742, allocations: 0 / 0.7801 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001103/0.5743, allocations: 3.938 kB / 0.7801 GB, free: 10.71 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.005388/0.5797, allocations: 2.789 MB / 0.7828 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5797, allocations: 12.03 kB / 0.7828 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006791/0.5804, allocations: 278.7 kB / 0.7831 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.5836, allocations: 2.04 MB / 0.7851 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.5836, allocations: 110.7 kB / 0.7852 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.5838, allocations: 144 kB / 0.7853 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.5868, allocations: 1.516 MB / 0.7868 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.5869, allocations: 7.938 kB / 0.7868 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.587, allocations: 60 kB / 0.7869 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-05/0.587, allocations: 47.92 kB / 0.7869 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.5893, allocations: 1.122 MB / 0.788 GB, free: 2.395 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.008687/0.598, allocations: 7.616 MB / 0.7954 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.5989, allocations: 474.5 kB / 0.7959 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.5996, allocations: 336.4 kB / 0.7962 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.6006, allocations: 1.152 MB / 0.7973 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.6006, allocations: 43.16 kB / 0.7974 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 3.196e-06/0.6006, allocations: 4 kB / 0.7974 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002332/0.603, allocations: 0.9701 MB / 0.7983 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.603, allocations: 55.97 kB / 0.7984 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.6053, allocations: 1.791 MB / 0.8001 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.6054, allocations: 41.7 kB / 0.8002 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007482/0.6061, allocations: 0.949 MB / 0.8011 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.6063, allocations: 226.1 kB / 0.8013 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.6066, allocations: 222.8 kB / 0.8015 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6068, allocations: 353.9 kB / 0.8019 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.6074, allocations: 334.4 kB / 0.8022 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.6084, allocations: 0.686 MB / 0.8028 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.6099, allocations: 1.005 MB / 0.8038 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6099, allocations: 8 kB / 0.8038 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002146/0.6121, allocations: 1.231 MB / 0.805 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6121, allocations: 12.03 kB / 0.805 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.6121, allocations: 12 kB / 0.8051 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.6122, allocations: 19.94 kB / 0.8051 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.6131, allocations: 283.6 kB / 0.8053 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.6132, allocations: 19.94 kB / 0.8054 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6143, allocations: 178.7 kB / 0.8055 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.6144, allocations: 51.98 kB / 0.8056 GB, free: 15.15 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.0006219/0.615, allocations: 441.4 kB / 0.806 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.6153, allocations: 202.7 kB / 0.8062 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.617, allocations: 0.872 MB / 0.8071 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.617, allocations: 4 kB / 0.8071 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.617, allocations: 0 / 0.8071 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/0.6183, allocations: 0.7995 MB / 0.8078 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.6218, allocations: 2.451 MB / 0.8102 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6219, allocations: 4 kB / 0.8102 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.6226, allocations: 176 kB / 0.8104 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.6226, allocations: 4 kB / 0.8104 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.6227, allocations: 20 kB / 0.8104 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.6227, allocations: 11.92 kB / 0.8104 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6227, allocations: 4 kB / 0.8104 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.6249, allocations: 1.345 MB / 0.8118 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.6254, allocations: 375.6 kB / 0.8121 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.6257, allocations: 23.97 kB / 0.8121 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/0.6266, allocations: 59.92 kB / 0.8122 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6267, allocations: 52.44 kB / 0.8122 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.6268, allocations: 39.97 kB / 0.8123 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001525/0.6283, allocations: 1.232 MB / 0.8135 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6283, allocations: 0 / 0.8135 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001496/0.6298, allocations: 0.6626 MB / 0.8141 GB, free: 6.164 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.001027/0.6309, allocations: 0.608 MB / 0.8147 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.6325, allocations: 0.8273 MB / 0.8155 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6325, allocations: 3.938 kB / 0.8155 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.6332, allocations: 360.4 kB / 0.8159 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/0.638, allocations: 1.192 MB / 0.817 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.6423, allocations: 3.112 MB / 0.8201 GB, free: 84 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/0.6432, allocations: 1.409 MB / 0.8215 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001165/0.6444, allocations: 378.7 kB / 0.8218 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6446, allocations: 147.4 kB / 0.822 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of SimCode: time 8.72e-07/0.6446, allocations: 0 / 0.822 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.06624/0.7109, allocations: 41.94 MB / 0.8629 GB, free: 4.676 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)