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.005264/0.005263, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001155/0.001155, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7902/0.7902, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.5 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1538, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0755/0.2293, allocations: 77.15 MB / 0.735 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3599/0.5893, allocations: 18.84 MB / 0.7534 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.5932, allocations: 112.5 kB / 0.7535 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.5963, allocations: 1.288 MB / 0.7548 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009588/0.606, allocations: 3.801 MB / 0.7585 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.6112, allocations: 2.093 MB / 0.7605 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.6217, allocations: 6.686 MB / 0.7671 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.6246, allocations: 2.102 MB / 0.7691 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005171/0.6298, allocations: 2.371 MB / 0.7714 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.6326, allocations: 1.765 MB / 0.7732 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.6329, allocations: 198.8 kB / 0.7733 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.6368, allocations: 1.619 MB / 0.7749 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.6372, allocations: 0.5363 MB / 0.7754 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.6386, allocations: 1.255 MB / 0.7767 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005027/0.6437, allocations: 3.748 MB / 0.7803 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6437, allocations: 5.875 kB / 0.7803 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6437, allocations: 0 / 0.7803 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.217e-05/0.6437, allocations: 1 kB / 0.7803 GB, free: 1.637 MB / 0.5762 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.003897/0.6476, allocations: 2.716 MB / 0.783 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6477, allocations: 9.719 kB / 0.783 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/0.6483, allocations: 265.2 kB / 0.7833 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.651, allocations: 2.018 MB / 0.7852 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.6511, allocations: 104.9 kB / 0.7853 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.6512, allocations: 150.1 kB / 0.7855 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.6535, allocations: 1.515 MB / 0.7869 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.6535, allocations: 6.188 kB / 0.787 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.6536, allocations: 56.44 kB / 0.787 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.6537, allocations: 40.41 kB / 0.787 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.6555, allocations: 1.127 MB / 0.7881 GB, free: 15.45 MB / 0.5919 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.007573/0.6631, allocations: 7.603 MB / 0.7956 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6642, allocations: 486.5 kB / 0.796 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.6649, allocations: 336.7 kB / 0.7964 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009466/0.6658, allocations: 1.148 MB / 0.7975 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.6659, allocations: 44.06 kB / 0.7975 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.315e-06/0.6659, allocations: 0 / 0.7975 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002066/0.668, allocations: 0.9629 MB / 0.7985 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.668, allocations: 61.25 kB / 0.7985 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.67, allocations: 1.788 MB / 0.8003 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.67, allocations: 43.08 kB / 0.8003 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.6708, allocations: 0.9336 MB / 0.8012 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.671, allocations: 217.9 kB / 0.8014 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.6713, allocations: 226.9 kB / 0.8016 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6714, allocations: 348.9 kB / 0.802 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.672, allocations: 335.4 kB / 0.8023 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.6729, allocations: 0.6853 MB / 0.803 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.6743, allocations: 1.013 MB / 0.804 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.6743, allocations: 2.938 kB / 0.804 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002034/0.6763, allocations: 1.213 MB / 0.8051 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6764, allocations: 11.03 kB / 0.8052 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6764, allocations: 10.06 kB / 0.8052 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.6764, allocations: 19.97 kB / 0.8052 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/0.6773, allocations: 288.8 kB / 0.8055 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.6774, allocations: 23.39 kB / 0.8055 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6787, allocations: 162.8 kB / 0.8056 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.6787, allocations: 56.34 kB / 0.8057 GB, free: 3.121 MB / 0.5919 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.0007512/0.6795, allocations: 433.2 kB / 0.8061 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.6798, allocations: 195.4 kB / 0.8063 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.6814, allocations: 0.8663 MB / 0.8071 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6814, allocations: 9.203 kB / 0.8071 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6815, allocations: 2.562 kB / 0.8071 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/0.6827, allocations: 0.7956 MB / 0.8079 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.6865, allocations: 2.451 MB / 0.8103 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.6865, allocations: 2.5 kB / 0.8103 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/0.6872, allocations: 177.8 kB / 0.8105 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.6873, allocations: 9.75 kB / 0.8105 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.6873, allocations: 20.2 kB / 0.8105 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.6873, allocations: 4.656 kB / 0.8105 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6873, allocations: 2.906 kB / 0.8105 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.6896, allocations: 1.336 MB / 0.8118 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.6904, allocations: 368 kB / 0.8122 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.6907, allocations: 17 kB / 0.8122 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.6917, allocations: 69.58 kB / 0.8123 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6918, allocations: 45.84 kB / 0.8123 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.6919, allocations: 34.5 kB / 0.8123 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001764/0.6936, allocations: 1.251 MB / 0.8136 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.1e-07/0.6937, allocations: 0 / 0.8136 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002267/0.6959, allocations: 0.6521 MB / 0.8142 GB, free: 13.91 MB / 0.6075 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.001189/0.6971, allocations: 0.61 MB / 0.8148 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.6988, allocations: 0.8157 MB / 0.8156 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.6989, allocations: 0 / 0.8156 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.6996, allocations: 357.1 kB / 0.8159 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/0.7047, allocations: 1.201 MB / 0.8171 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.7097, allocations: 3.051 MB / 0.8201 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/0.7107, allocations: 1.405 MB / 0.8215 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001574/0.7123, allocations: 379.7 kB / 0.8218 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.7126, allocations: 155.4 kB / 0.822 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.7126, allocations: 0 / 0.822 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.068/0.7806, allocations: 41.91 MB / 0.8629 GB, free: 13.64 MB / 0.6544 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)