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.001068/0.001068, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001214/0.001214, allocations: 191 kB / 17.29 MB, free: 5.516 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7702/0.7702, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.5067 GB, free: 7.617 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06833/0.4184, allocations: 77.14 MB / 0.6611 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.4443, allocations: 18.85 MB / 0.6795 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.4481, allocations: 115.3 kB / 0.6796 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.4514, allocations: 1.242 MB / 0.6808 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009051/0.4605, allocations: 3.622 MB / 0.6844 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.4664, allocations: 2.088 MB / 0.6864 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.4769, allocations: 6.666 MB / 0.6929 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004714/0.4817, allocations: 2.104 MB / 0.695 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007131/0.4889, allocations: 2.313 MB / 0.6972 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.4928, allocations: 1.759 MB / 0.6989 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006109/0.4934, allocations: 200 kB / 0.6991 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004566/0.498, allocations: 1.622 MB / 0.7007 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008541/0.4989, allocations: 0.5371 MB / 0.7012 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.5009, allocations: 1.252 MB / 0.7025 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005842/0.5067, allocations: 3.747 MB / 0.7061 GB, free: 14.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5068, allocations: 0 / 0.7061 GB, free: 14.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5068, allocations: 0 / 0.7061 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.99e-05/0.5069, allocations: 0 / 0.7061 GB, free: 14.98 MB / 0.545 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.004504/0.5114, allocations: 2.711 MB / 0.7088 GB, free: 12.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5114, allocations: 13.11 kB / 0.7088 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.5122, allocations: 265.6 kB / 0.709 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.5156, allocations: 2.024 MB / 0.711 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.5157, allocations: 106.7 kB / 0.7111 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.5159, allocations: 136 kB / 0.7112 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.5186, allocations: 1.524 MB / 0.7127 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.5186, allocations: 3.938 kB / 0.7127 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.5187, allocations: 63.98 kB / 0.7128 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.5188, allocations: 40 kB / 0.7128 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5209, allocations: 1.134 MB / 0.7139 GB, free: 6.766 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.008402/0.5293, allocations: 7.583 MB / 0.7213 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.5302, allocations: 484.5 kB / 0.7218 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.5309, allocations: 334.3 kB / 0.7221 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009446/0.5318, allocations: 1.156 MB / 0.7233 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.5319, allocations: 43.12 kB / 0.7233 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.474e-06/0.5319, allocations: 0 / 0.7233 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002214/0.5341, allocations: 0.9652 MB / 0.7242 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5342, allocations: 55.97 kB / 0.7243 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.5364, allocations: 1.791 MB / 0.726 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.5365, allocations: 41.7 kB / 0.7261 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.5373, allocations: 0.9317 MB / 0.727 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.5375, allocations: 217 kB / 0.7272 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.5378, allocations: 230.6 kB / 0.7274 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.538, allocations: 349.9 kB / 0.7278 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.5387, allocations: 330.4 kB / 0.7281 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.5396, allocations: 0.686 MB / 0.7287 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.5411, allocations: 1.008 MB / 0.7297 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.5412, allocations: 4 kB / 0.7297 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002219/0.5434, allocations: 1.222 MB / 0.7309 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5434, allocations: 8 kB / 0.7309 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5434, allocations: 12 kB / 0.7309 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.5435, allocations: 12 kB / 0.7309 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.5444, allocations: 295.8 kB / 0.7312 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.5445, allocations: 27.88 kB / 0.7313 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.5457, allocations: 162.4 kB / 0.7314 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.5458, allocations: 55.92 kB / 0.7315 GB, free: 3.566 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.0008145/0.5466, allocations: 438.3 kB / 0.7319 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.547, allocations: 189.7 kB / 0.7321 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.5487, allocations: 0.8632 MB / 0.7329 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5488, allocations: 12 kB / 0.7329 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.5488, allocations: 0 / 0.7329 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/0.55, allocations: 0.7917 MB / 0.7337 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.5543, allocations: 2.455 MB / 0.7361 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5543, allocations: 0 / 0.7361 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.5551, allocations: 184 kB / 0.7363 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.5551, allocations: 4 kB / 0.7363 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.5551, allocations: 20 kB / 0.7363 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.5551, allocations: 4 kB / 0.7363 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5552, allocations: 4 kB / 0.7363 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.5575, allocations: 1.34 MB / 0.7376 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/0.5584, allocations: 366.5 kB / 0.738 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.5586, allocations: 16 kB / 0.738 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.5595, allocations: 63.91 kB / 0.738 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5596, allocations: 56.38 kB / 0.7381 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.5597, allocations: 35.97 kB / 0.7381 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001771/0.5615, allocations: 1.239 MB / 0.7393 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5615, allocations: 0 / 0.7393 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001795/0.5633, allocations: 0.659 MB / 0.74 GB, free: 10.62 MB / 0.5762 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.001118/0.5644, allocations: 0.6049 MB / 0.7406 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.5661, allocations: 0.8203 MB / 0.7414 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.5662, allocations: 4 kB / 0.7414 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.5668, allocations: 355.4 kB / 0.7417 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/0.5716, allocations: 1.195 MB / 0.7429 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/0.5766, allocations: 3.054 MB / 0.7459 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009204/0.5776, allocations: 1.405 MB / 0.7472 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001575/0.5792, allocations: 379.1 kB / 0.7476 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.5796, allocations: 159.3 kB / 0.7477 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.5796, allocations: 0 / 0.7477 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.3002/0.8798, allocations: 41.63 MB / 0.7884 GB, free: 128.1 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)