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.001546/0.001546, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001891/0.001891, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 80.92 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06693/0.4029, allocations: 77.15 MB / 0.6611 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02837/0.4313, allocations: 18.84 MB / 0.6795 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004307/0.4357, allocations: 107.4 kB / 0.6796 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.4399, allocations: 1.254 MB / 0.6808 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.4513, allocations: 3.618 MB / 0.6844 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.4574, allocations: 2.088 MB / 0.6864 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008965/0.4664, allocations: 6.663 MB / 0.6929 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.4698, allocations: 2.1 MB / 0.695 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.4749, allocations: 2.31 MB / 0.6972 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.478, allocations: 1.77 MB / 0.6989 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006301/0.4786, allocations: 200 kB / 0.6991 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.4828, allocations: 1.614 MB / 0.7007 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.4838, allocations: 0.541 MB / 0.7012 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.486, allocations: 1.244 MB / 0.7025 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006915/0.4929, allocations: 3.758 MB / 0.7061 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.493, allocations: 0 / 0.7061 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.493, allocations: 0 / 0.7061 GB, free: 15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001176/0.4931, allocations: 0 / 0.7061 GB, free: 15 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.006598/0.4997, allocations: 2.711 MB / 0.7088 GB, free: 12.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.4998, allocations: 9.109 kB / 0.7088 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/0.5006, allocations: 273.5 kB / 0.709 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.5045, allocations: 2.016 MB / 0.711 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.5046, allocations: 106.7 kB / 0.7111 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.5048, allocations: 144 kB / 0.7113 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.5075, allocations: 1.516 MB / 0.7127 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.5075, allocations: 3.984 kB / 0.7127 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.5077, allocations: 63.98 kB / 0.7128 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.5077, allocations: 40 kB / 0.7128 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.5099, allocations: 1.122 MB / 0.7139 GB, free: 6.809 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.009446/0.5194, allocations: 7.595 MB / 0.7213 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5204, allocations: 484.5 kB / 0.7218 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.5211, allocations: 344.8 kB / 0.7221 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009529/0.522, allocations: 1.152 MB / 0.7233 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.5221, allocations: 43.12 kB / 0.7233 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 3.086e-06/0.5221, allocations: 0 / 0.7233 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002275/0.5244, allocations: 0.9573 MB / 0.7242 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5244, allocations: 63.97 kB / 0.7243 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.5268, allocations: 1.791 MB / 0.7261 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.5269, allocations: 49.64 kB / 0.7261 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000821/0.5278, allocations: 0.9239 MB / 0.727 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.528, allocations: 221 kB / 0.7272 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.5283, allocations: 226.6 kB / 0.7274 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5285, allocations: 349.9 kB / 0.7278 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.5292, allocations: 334.3 kB / 0.7281 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/0.5302, allocations: 0.686 MB / 0.7287 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.5318, allocations: 1.012 MB / 0.7297 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.5318, allocations: 0 / 0.7297 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002378/0.5342, allocations: 1.214 MB / 0.7309 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.5342, allocations: 12 kB / 0.7309 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5343, allocations: 8 kB / 0.7309 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.5343, allocations: 20.03 kB / 0.731 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.5353, allocations: 287.6 kB / 0.7312 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.5353, allocations: 23.92 kB / 0.7313 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5367, allocations: 166.4 kB / 0.7314 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.5368, allocations: 55.94 kB / 0.7315 GB, free: 3.598 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.0007399/0.5375, allocations: 438.3 kB / 0.7319 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.5379, allocations: 189.7 kB / 0.7321 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.5397, allocations: 0.8646 MB / 0.7329 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.5397, allocations: 11.98 kB / 0.7329 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5397, allocations: 4 kB / 0.7329 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.541, allocations: 0.7957 MB / 0.7337 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004405/0.5454, allocations: 2.455 MB / 0.7361 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.5455, allocations: 0 / 0.7361 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000782/0.5462, allocations: 175.8 kB / 0.7363 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.5463, allocations: 8.25 kB / 0.7363 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.5463, allocations: 19.98 kB / 0.7363 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.5463, allocations: 7.938 kB / 0.7363 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5463, allocations: 4 kB / 0.7363 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.5489, allocations: 1.344 MB / 0.7376 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007763/0.5497, allocations: 362.5 kB / 0.738 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.55, allocations: 12 kB / 0.738 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.5509, allocations: 71.86 kB / 0.738 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.551, allocations: 48.44 kB / 0.7381 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.5511, allocations: 35.97 kB / 0.7381 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00173/0.5529, allocations: 1.243 MB / 0.7393 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5529, allocations: 0 / 0.7393 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001656/0.5545, allocations: 0.6512 MB / 0.74 GB, free: 10.66 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.001047/0.5556, allocations: 0.6087 MB / 0.7406 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.5572, allocations: 0.8195 MB / 0.7414 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5572, allocations: 0 / 0.7414 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006797/0.5579, allocations: 356.4 kB / 0.7417 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/0.5627, allocations: 1.205 MB / 0.7429 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.5672, allocations: 3.042 MB / 0.7459 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009571/0.5681, allocations: 1.409 MB / 0.7472 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001291/0.5694, allocations: 378.8 kB / 0.7476 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.5698, allocations: 155.4 kB / 0.7477 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of SimCode: time 2.094e-06/0.5698, allocations: 0 / 0.7477 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of Templates: time 0.3205/0.8903, allocations: 41.63 MB / 0.7884 GB, free: 127.6 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)