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.006213/0.006213, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001247/0.001247, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7988/0.7988, allocations: 132.2 MB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 0.5814 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3947, allocations: 80.19 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07164/0.4664, allocations: 77.15 MB / 0.735 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.4916, allocations: 18.85 MB / 0.7534 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.4958, allocations: 111.3 kB / 0.7535 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.4995, allocations: 1.281 MB / 0.7548 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0095/0.509, allocations: 3.805 MB / 0.7585 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/0.5144, allocations: 2.094 MB / 0.7605 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008869/0.5233, allocations: 6.685 MB / 0.7671 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.5264, allocations: 2.102 MB / 0.7691 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.5317, allocations: 2.379 MB / 0.7714 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.5346, allocations: 1.755 MB / 0.7732 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003941/0.535, allocations: 204 kB / 0.7734 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.5387, allocations: 1.622 MB / 0.7749 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.5393, allocations: 0.5371 MB / 0.7755 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.5408, allocations: 1.252 MB / 0.7767 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005/0.5458, allocations: 3.749 MB / 0.7803 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5458, allocations: 7.984 kB / 0.7804 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5458, allocations: 0 / 0.7804 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.024e-05/0.5458, allocations: 0 / 0.7804 GB, free: 10.32 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.004203/0.5501, allocations: 2.703 MB / 0.783 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5501, allocations: 8.031 kB / 0.783 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.5508, allocations: 273.3 kB / 0.7833 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.5539, allocations: 2.023 MB / 0.7852 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.554, allocations: 106.6 kB / 0.7853 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.5542, allocations: 140 kB / 0.7855 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.5568, allocations: 1.515 MB / 0.787 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.5569, allocations: 11.92 kB / 0.787 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.557, allocations: 67.97 kB / 0.787 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.5571, allocations: 39.94 kB / 0.7871 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.5593, allocations: 1.119 MB / 0.7882 GB, free: 2.121 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.007715/0.567, allocations: 7.599 MB / 0.7956 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.568, allocations: 477.2 kB / 0.796 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.5687, allocations: 342.2 kB / 0.7964 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008462/0.5696, allocations: 1.145 MB / 0.7975 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.5696, allocations: 47.12 kB / 0.7975 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.835e-06/0.5696, allocations: 4 kB / 0.7975 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002266/0.5719, allocations: 0.9612 MB / 0.7985 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5719, allocations: 59.97 kB / 0.7985 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.5743, allocations: 1.783 MB / 0.8003 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.5744, allocations: 41.7 kB / 0.8003 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/0.5751, allocations: 0.9317 MB / 0.8012 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.5753, allocations: 216.9 kB / 0.8014 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.5756, allocations: 226.7 kB / 0.8016 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5758, allocations: 353.9 kB / 0.802 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.5765, allocations: 326.4 kB / 0.8023 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/0.5775, allocations: 0.6938 MB / 0.803 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.5791, allocations: 1.008 MB / 0.804 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5791, allocations: 4 kB / 0.804 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002373/0.5815, allocations: 1.218 MB / 0.8051 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5815, allocations: 23.88 kB / 0.8052 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.5815, allocations: 8 kB / 0.8052 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.5816, allocations: 16 kB / 0.8052 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5826, allocations: 283.6 kB / 0.8055 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.5826, allocations: 23.92 kB / 0.8055 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.5838, allocations: 174.4 kB / 0.8056 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.5839, allocations: 48 kB / 0.8057 GB, free: 14.93 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.0006792/0.5846, allocations: 441.3 kB / 0.8061 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.5849, allocations: 193.7 kB / 0.8063 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.5867, allocations: 0.8509 MB / 0.8071 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.5867, allocations: 15.98 kB / 0.8071 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5867, allocations: 0 / 0.8071 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/0.5881, allocations: 0.7995 MB / 0.8079 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.592, allocations: 2.447 MB / 0.8103 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.592, allocations: 0 / 0.8103 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/0.5928, allocations: 184 kB / 0.8105 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.5928, allocations: 4 kB / 0.8105 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.5929, allocations: 19.98 kB / 0.8105 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.5929, allocations: 7.984 kB / 0.8105 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5929, allocations: 0 / 0.8105 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.5953, allocations: 1.344 MB / 0.8118 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/0.596, allocations: 358.5 kB / 0.8122 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.5962, allocations: 16 kB / 0.8122 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5972, allocations: 63.92 kB / 0.8123 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5974, allocations: 52.38 kB / 0.8123 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.5975, allocations: 35.97 kB / 0.8123 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001704/0.5992, allocations: 1.243 MB / 0.8136 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5992, allocations: 0 / 0.8136 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001726/0.6009, allocations: 0.659 MB / 0.8142 GB, free: 5.98 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.001261/0.6022, allocations: 0.6171 MB / 0.8148 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.604, allocations: 0.8156 MB / 0.8156 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.604, allocations: 0 / 0.8156 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.605, allocations: 360.4 kB / 0.8159 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/0.6111, allocations: 1.19 MB / 0.8171 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.6166, allocations: 3.054 MB / 0.8201 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.6178, allocations: 1.413 MB / 0.8215 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001457/0.6193, allocations: 377.8 kB / 0.8218 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.6197, allocations: 155.3 kB / 0.822 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of SimCode: time 7.32e-07/0.6197, allocations: 0 / 0.822 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.06865/0.6883, allocations: 41.92 MB / 0.8629 GB, free: 4.555 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)