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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 64.75 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3906, allocations: 80.2 MB / 0.5801 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07756/0.4682, allocations: 77.14 MB / 0.6554 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02731/0.4956, allocations: 18.87 MB / 0.6739 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006838/0.5025, allocations: 107.4 kB / 0.674 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00412/0.5066, allocations: 1.25 MB / 0.6752 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.5171, allocations: 3.61 MB / 0.6787 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.5223, allocations: 2.069 MB / 0.6807 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008946/0.5313, allocations: 6.661 MB / 0.6872 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003292/0.5346, allocations: 2.1 MB / 0.6893 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.5408, allocations: 2.304 MB / 0.6915 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.5443, allocations: 1.762 MB / 0.6932 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007596/0.5451, allocations: 200 kB / 0.6934 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.55, allocations: 1.614 MB / 0.695 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.5512, allocations: 0.5332 MB / 0.6955 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.5538, allocations: 1.256 MB / 0.6968 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006694/0.5605, allocations: 3.708 MB / 0.7004 GB, free: 6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5605, allocations: 4 kB / 0.7004 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5605, allocations: 0 / 0.7004 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001201/0.5606, allocations: 0 / 0.7004 GB, free: 5.996 MB / 0.5294 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.00651/0.5672, allocations: 2.711 MB / 0.703 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5672, allocations: 12.03 kB / 0.703 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009752/0.5682, allocations: 273.5 kB / 0.7033 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/0.572, allocations: 1.902 MB / 0.7052 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-05/0.5721, allocations: 106.6 kB / 0.7053 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.5724, allocations: 147.9 kB / 0.7054 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.5757, allocations: 1.52 MB / 0.7069 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.5758, allocations: 4 kB / 0.7069 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.5759, allocations: 56 kB / 0.7069 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/0.576, allocations: 40 kB / 0.707 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.5785, allocations: 1.134 MB / 0.7081 GB, free: 13.89 MB / 0.545 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.009267/0.5877, allocations: 7.641 MB / 0.7156 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.5887, allocations: 483.4 kB / 0.716 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.5894, allocations: 334.3 kB / 0.7163 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/0.5902, allocations: 1.152 MB / 0.7175 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.5903, allocations: 43.12 kB / 0.7175 GB, free: 3.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.425e-06/0.5903, allocations: 0 / 0.7175 GB, free: 3.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002329/0.5926, allocations: 0.9612 MB / 0.7184 GB, free: 2.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5927, allocations: 55.97 kB / 0.7185 GB, free: 2.371 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.5951, allocations: 1.798 MB / 0.7202 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.5952, allocations: 37.7 kB / 0.7203 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007763/0.596, allocations: 0.9317 MB / 0.7212 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.5963, allocations: 213 kB / 0.7214 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.5966, allocations: 234.6 kB / 0.7216 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5967, allocations: 353.9 kB / 0.722 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.5974, allocations: 330.3 kB / 0.7223 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.5984, allocations: 0.6899 MB / 0.7229 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6, allocations: 1.012 MB / 0.7239 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.6, allocations: 0 / 0.7239 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002537/0.6025, allocations: 1.218 MB / 0.7251 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.6026, allocations: 13.25 kB / 0.7251 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6026, allocations: 8 kB / 0.7251 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.6026, allocations: 16 kB / 0.7252 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.6036, allocations: 287.8 kB / 0.7254 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/0.6037, allocations: 27.92 kB / 0.7255 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.605, allocations: 162.4 kB / 0.7256 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.6051, allocations: 51.94 kB / 0.7257 GB, free: 10.66 MB / 0.5606 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.000727/0.6059, allocations: 437.4 kB / 0.7261 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.6064, allocations: 197.7 kB / 0.7263 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.6083, allocations: 0.8663 MB / 0.7271 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.6083, allocations: 11.98 kB / 0.7271 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6083, allocations: 0 / 0.7271 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/0.6097, allocations: 0.7957 MB / 0.7279 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.615, allocations: 2.447 MB / 0.7303 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.615, allocations: 4.031 kB / 0.7303 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.6158, allocations: 179.8 kB / 0.7305 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.6158, allocations: 4 kB / 0.7305 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.6158, allocations: 19.98 kB / 0.7305 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.6158, allocations: 11.94 kB / 0.7305 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6159, allocations: 8 kB / 0.7305 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.6184, allocations: 1.339 MB / 0.7318 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/0.6193, allocations: 362.5 kB / 0.7322 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/0.6198, allocations: 12 kB / 0.7322 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.6212, allocations: 67.86 kB / 0.7322 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6213, allocations: 56.42 kB / 0.7323 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.6215, allocations: 31.98 kB / 0.7323 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002649/0.6241, allocations: 1.243 MB / 0.7335 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6241, allocations: 0 / 0.7335 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002495/0.6266, allocations: 0.6551 MB / 0.7342 GB, free: 1.703 MB / 0.5606 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.001444/0.6281, allocations: 0.6088 MB / 0.7348 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.6303, allocations: 0.8903 MB / 0.7356 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6303, allocations: 4 kB / 0.7356 GB, free: 220 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.6311, allocations: 354.9 kB / 0.736 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006513/0.6376, allocations: 1.198 MB / 0.7372 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.6433, allocations: 3.097 MB / 0.7402 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.6445, allocations: 1.409 MB / 0.7416 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00182/0.6464, allocations: 387.5 kB / 0.7419 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.6468, allocations: 143.4 kB / 0.7421 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of SimCode: time 2.385e-06/0.6468, allocations: 0 / 0.7421 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of Templates: time 0.07004/0.7169, allocations: 41.77 MB / 0.7829 GB, free: 400 kB / 0.6075 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)