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.001653/0.001652, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001801/0.001801, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3536, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0628/0.4165, allocations: 77.15 MB / 0.6568 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0263/0.4428, allocations: 18.85 MB / 0.6752 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/0.4465, allocations: 111.4 kB / 0.6754 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.45, allocations: 1.246 MB / 0.6766 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0097/0.4597, allocations: 3.626 MB / 0.6801 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005285/0.465, allocations: 2.081 MB / 0.6821 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009458/0.4745, allocations: 6.677 MB / 0.6887 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.4778, allocations: 2.106 MB / 0.6907 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005364/0.4831, allocations: 2.318 MB / 0.693 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.4861, allocations: 1.751 MB / 0.6947 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.4865, allocations: 200 kB / 0.6949 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.491, allocations: 1.626 MB / 0.6965 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.4917, allocations: 0.5371 MB / 0.697 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.4935, allocations: 1.252 MB / 0.6982 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005744/0.4993, allocations: 3.741 MB / 0.7019 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4993, allocations: 3.938 kB / 0.7019 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4993, allocations: 0 / 0.7019 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.424e-05/0.4994, allocations: 0 / 0.7019 GB, free: 2.617 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.004797/0.5042, allocations: 2.711 MB / 0.7045 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5042, allocations: 12.03 kB / 0.7045 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.5049, allocations: 265.6 kB / 0.7048 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.5082, allocations: 2.022 MB / 0.7068 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.5083, allocations: 106.7 kB / 0.7069 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.5085, allocations: 147.9 kB / 0.707 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.5109, allocations: 1.513 MB / 0.7085 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.5109, allocations: 7.938 kB / 0.7085 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.511, allocations: 56 kB / 0.7085 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.5111, allocations: 43.98 kB / 0.7086 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5132, allocations: 1.126 MB / 0.7097 GB, free: 10.42 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.0078/0.521, allocations: 7.595 MB / 0.7171 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/0.5219, allocations: 478.9 kB / 0.7176 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.5225, allocations: 338.3 kB / 0.7179 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/0.5234, allocations: 1.152 MB / 0.719 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.5234, allocations: 43.12 kB / 0.719 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.5234, allocations: 0 / 0.719 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002152/0.5256, allocations: 0.9652 MB / 0.72 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.5256, allocations: 55.97 kB / 0.72 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.5278, allocations: 1.798 MB / 0.7218 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.5279, allocations: 37.7 kB / 0.7218 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/0.5286, allocations: 0.9317 MB / 0.7227 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.5288, allocations: 216.9 kB / 0.723 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.5291, allocations: 226.7 kB / 0.7232 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5292, allocations: 349.9 kB / 0.7235 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.5299, allocations: 330.4 kB / 0.7238 GB, free: 11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.5308, allocations: 0.6899 MB / 0.7245 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.5323, allocations: 1.008 MB / 0.7255 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.5323, allocations: 4 kB / 0.7255 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002138/0.5345, allocations: 1.218 MB / 0.7267 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5345, allocations: 8 kB / 0.7267 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5345, allocations: 12 kB / 0.7267 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.5345, allocations: 16 kB / 0.7267 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.5355, allocations: 287.5 kB / 0.727 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.5355, allocations: 32.11 kB / 0.727 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.5366, allocations: 162.4 kB / 0.7272 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.5367, allocations: 51.94 kB / 0.7272 GB, free: 7.227 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.0006229/0.5373, allocations: 441.4 kB / 0.7276 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.5376, allocations: 193.6 kB / 0.7278 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.5393, allocations: 0.8657 MB / 0.7287 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5393, allocations: 4 kB / 0.7287 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5393, allocations: 4 kB / 0.7287 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.5406, allocations: 0.7917 MB / 0.7294 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.5444, allocations: 2.455 MB / 0.7318 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5445, allocations: 4 kB / 0.7318 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.5452, allocations: 180 kB / 0.732 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.5452, allocations: 4 kB / 0.732 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.5453, allocations: 19.98 kB / 0.732 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.5453, allocations: 4 kB / 0.732 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5453, allocations: 7.938 kB / 0.7321 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.5476, allocations: 1.34 MB / 0.7334 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.5482, allocations: 358.5 kB / 0.7337 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.5485, allocations: 20 kB / 0.7337 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/0.5494, allocations: 63.86 kB / 0.7338 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.5496, allocations: 52.44 kB / 0.7338 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.5497, allocations: 35.97 kB / 0.7339 GB, free: 200 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002023/0.5517, allocations: 1.239 MB / 0.7351 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5517, allocations: 0 / 0.7351 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00211/0.5538, allocations: 0.659 MB / 0.7357 GB, free: 14.28 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.001298/0.5552, allocations: 0.605 MB / 0.7363 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.5568, allocations: 0.8204 MB / 0.7371 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5569, allocations: 0 / 0.7371 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.5576, allocations: 363.5 kB / 0.7375 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004506/0.5621, allocations: 1.204 MB / 0.7386 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.5669, allocations: 3.046 MB / 0.7416 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.5681, allocations: 1.405 MB / 0.743 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001267/0.5694, allocations: 385.6 kB / 0.7434 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.5697, allocations: 147.4 kB / 0.7435 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5697, allocations: 0 / 0.7435 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.3263/0.896, allocations: 41.63 MB / 0.7841 GB, free: 135.3 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)