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.001012/0.001012, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00728/0.00728, allocations: 170 kB / 16.26 MB, free: 6.613 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.382/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.3 MB / 426.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 11.94 kB / 0.5076 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 82.3 MB / 0.588 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3512/0.5057, allocations: 75.27 MB / 0.6615 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02343/0.5292, allocations: 18.75 MB / 0.6798 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.5328, allocations: 97.66 kB / 0.6799 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.536, allocations: 1.015 MB / 0.6809 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.5468, allocations: 3.361 MB / 0.6841 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.5524, allocations: 1.9 MB / 0.686 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.5649, allocations: 8.885 MB / 0.6947 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/0.5685, allocations: 1.695 MB / 0.6963 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.5733, allocations: 1.88 MB / 0.6982 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.5772, allocations: 1.707 MB / 0.6998 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006408/0.5778, allocations: 73.62 kB / 0.6999 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.583, allocations: 1.439 MB / 0.7013 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.5841, allocations: 421.1 kB / 0.7017 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003386/0.5875, allocations: 1.123 MB / 0.7028 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.5962, allocations: 3.569 MB / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5962, allocations: 0 / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5963, allocations: 0 / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001541/0.5964, allocations: 3.938 kB / 0.7063 GB, free: 12.78 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.006322/0.6027, allocations: 2.291 MB / 0.7085 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6028, allocations: 13.56 kB / 0.7085 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6038, allocations: 267.6 kB / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.6075, allocations: 1.974 MB / 0.7107 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.6076, allocations: 109.1 kB / 0.7108 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.6078, allocations: 147.4 kB / 0.711 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.6107, allocations: 1.537 MB / 0.7125 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.6108, allocations: 1.875 kB / 0.7125 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.6109, allocations: 54.34 kB / 0.7125 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/0.611, allocations: 48.05 kB / 0.7126 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.6133, allocations: 1.164 MB / 0.7137 GB, free: 7.863 MB / 0.5294 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.00887/0.6222, allocations: 7.591 MB / 0.7211 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/0.6232, allocations: 0.4913 MB / 0.7216 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.6239, allocations: 356.6 kB / 0.7219 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008636/0.6248, allocations: 1.153 MB / 0.7231 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.6248, allocations: 42.44 kB / 0.7231 GB, free: 15.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.796e-06/0.6248, allocations: 4 kB / 0.7231 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002285/0.6271, allocations: 1.025 MB / 0.7241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6272, allocations: 62.34 kB / 0.7242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.6293, allocations: 1.755 MB / 0.7259 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.6294, allocations: 40.33 kB / 0.7259 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/0.6302, allocations: 0.9274 MB / 0.7268 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.6304, allocations: 221.8 kB / 0.727 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.6305, allocations: 94.38 kB / 0.7271 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6307, allocations: 353.4 kB / 0.7275 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.6314, allocations: 350 kB / 0.7278 GB, free: 12.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6324, allocations: 0.7134 MB / 0.7285 GB, free: 11.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.6341, allocations: 1.051 MB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6341, allocations: 0 / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002408/0.6365, allocations: 1.264 MB / 0.7308 GB, free: 8.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6366, allocations: 11.98 kB / 0.7308 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6366, allocations: 12 kB / 0.7308 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6366, allocations: 20.8 kB / 0.7308 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.6377, allocations: 315.6 kB / 0.7311 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.6377, allocations: 23.88 kB / 0.7311 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.6396, allocations: 250.4 kB / 0.7314 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/0.6397, allocations: 55.98 kB / 0.7314 GB, free: 8.055 MB / 0.545 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.0008983/0.6406, allocations: 449.3 kB / 0.7318 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.6409, allocations: 189.7 kB / 0.732 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.6429, allocations: 0.906 MB / 0.7329 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.6429, allocations: 8 kB / 0.7329 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6429, allocations: 0 / 0.7329 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/0.6443, allocations: 0.8386 MB / 0.7337 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.6489, allocations: 2.482 MB / 0.7362 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.6489, allocations: 7.938 kB / 0.7362 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.6497, allocations: 212 kB / 0.7364 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.6497, allocations: 8 kB / 0.7364 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.6498, allocations: 12 kB / 0.7364 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.6498, allocations: 8 kB / 0.7364 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6498, allocations: 0 / 0.7364 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.6523, allocations: 1.402 MB / 0.7378 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009817/0.6533, allocations: 402.3 kB / 0.7382 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.6536, allocations: 15.98 kB / 0.7382 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6548, allocations: 123.7 kB / 0.7383 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.6549, allocations: 56.44 kB / 0.7383 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.655, allocations: 35.97 kB / 0.7384 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00183/0.6568, allocations: 1.22 MB / 0.7396 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6569, allocations: 0 / 0.7396 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002081/0.6589, allocations: 0.6395 MB / 0.7402 GB, free: 14.84 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.001216/0.6602, allocations: 0.5799 MB / 0.7408 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.662, allocations: 0.8546 MB / 0.7416 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.662, allocations: 4 kB / 0.7416 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008524/0.6628, allocations: 376.4 kB / 0.742 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009896/0.6727, allocations: 1.215 MB / 0.7431 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/0.6812, allocations: 3.832 MB / 0.7469 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.6834, allocations: 1.401 MB / 0.7483 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002539/0.686, allocations: 380.5 kB / 0.7486 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.6866, allocations: 151.4 kB / 0.7488 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/0.6866, allocations: 0 / 0.7488 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of Templates: time 0.1144/0.801, allocations: 40.09 MB / 0.7879 GB, free: 14.38 MB / 0.6075 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)