Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001242/0.001242, allocations: 96.83 kB / 16.26 MB, free: 5.934 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.001228/0.001228, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7721/0.7721, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3796, allocations: 77.93 MB / 0.5672 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07007/0.4497, allocations: 77.14 MB / 0.6425 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02907/0.4788, allocations: 18.89 MB / 0.661 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.4828, allocations: 111.4 kB / 0.6611 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.4868, allocations: 1.238 MB / 0.6623 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.4977, allocations: 3.625 MB / 0.6658 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006289/0.504, allocations: 2.088 MB / 0.6679 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.5142, allocations: 6.668 MB / 0.6744 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004284/0.5185, allocations: 2.092 MB / 0.6764 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00616/0.5247, allocations: 2.291 MB / 0.6787 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.5283, allocations: 1.754 MB / 0.6804 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008784/0.5292, allocations: 200 kB / 0.6806 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.5343, allocations: 1.614 MB / 0.6821 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.5356, allocations: 0.541 MB / 0.6827 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003636/0.5393, allocations: 1.244 MB / 0.6839 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009283/0.5486, allocations: 3.7 MB / 0.6875 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5486, allocations: 4 kB / 0.6875 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5486, allocations: 0 / 0.6875 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.456e-05/0.5487, allocations: 0 / 0.6875 GB, free: 15.27 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.005442/0.5542, allocations: 2.711 MB / 0.6901 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5542, allocations: 12.62 kB / 0.6902 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000787/0.555, allocations: 269.9 kB / 0.6904 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.5583, allocations: 1.909 MB / 0.6923 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5584, allocations: 106.7 kB / 0.6924 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.5587, allocations: 140 kB / 0.6925 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.5614, allocations: 1.524 MB / 0.694 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.5614, allocations: 0 / 0.694 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.5616, allocations: 63.98 kB / 0.6941 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.5616, allocations: 39.94 kB / 0.6941 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.5639, allocations: 1.122 MB / 0.6952 GB, free: 7.18 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.009911/0.5739, allocations: 7.657 MB / 0.7027 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5749, allocations: 472.6 kB / 0.7031 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.5756, allocations: 334.3 kB / 0.7034 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.5767, allocations: 1.148 MB / 0.7046 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.5768, allocations: 43.12 kB / 0.7046 GB, free: 12.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 5.28e-06/0.5768, allocations: 8 kB / 0.7046 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002475/0.5793, allocations: 0.9573 MB / 0.7056 GB, free: 11.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5793, allocations: 59.97 kB / 0.7056 GB, free: 11.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.5819, allocations: 1.783 MB / 0.7074 GB, free: 9.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.582, allocations: 41.7 kB / 0.7074 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007729/0.5827, allocations: 0.9432 MB / 0.7083 GB, free: 8.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.583, allocations: 209 kB / 0.7085 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.5833, allocations: 238.6 kB / 0.7087 GB, free: 8.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5835, allocations: 349.9 kB / 0.7091 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/0.5843, allocations: 338.4 kB / 0.7094 GB, free: 7.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5853, allocations: 0.6886 MB / 0.7101 GB, free: 6.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.5869, allocations: 1.012 MB / 0.7111 GB, free: 5.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5869, allocations: 4 kB / 0.7111 GB, free: 5.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002527/0.5895, allocations: 1.214 MB / 0.7122 GB, free: 4.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.5895, allocations: 14.19 kB / 0.7123 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5895, allocations: 8 kB / 0.7123 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.5896, allocations: 16 kB / 0.7123 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5906, allocations: 291.6 kB / 0.7126 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/0.5906, allocations: 19.92 kB / 0.7126 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.5919, allocations: 170.4 kB / 0.7127 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.592, allocations: 48 kB / 0.7128 GB, free: 3.93 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.0007306/0.5927, allocations: 446 kB / 0.7132 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/0.5931, allocations: 189.7 kB / 0.7134 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.595, allocations: 0.8618 MB / 0.7142 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.595, allocations: 19.97 kB / 0.7143 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.595, allocations: 0 / 0.7143 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/0.5965, allocations: 0.7917 MB / 0.715 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/0.6009, allocations: 2.443 MB / 0.7174 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.601, allocations: 7.938 kB / 0.7174 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.6018, allocations: 180 kB / 0.7176 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.6018, allocations: 4 kB / 0.7176 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.6019, allocations: 23.98 kB / 0.7176 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.6019, allocations: 4 kB / 0.7176 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6019, allocations: 4 kB / 0.7176 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.6045, allocations: 1.335 MB / 0.7189 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006965/0.6052, allocations: 370.5 kB / 0.7193 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.6054, allocations: 16 kB / 0.7193 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.6064, allocations: 59.83 kB / 0.7194 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6066, allocations: 48.5 kB / 0.7194 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.6067, allocations: 43.91 kB / 0.7194 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001802/0.6085, allocations: 1.243 MB / 0.7207 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6085, allocations: 3.938 kB / 0.7207 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002021/0.6105, allocations: 0.659 MB / 0.7213 GB, free: 10.97 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.001287/0.6118, allocations: 0.6 MB / 0.7219 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.614, allocations: 0.8906 MB / 0.7228 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6141, allocations: 0 / 0.7228 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.6148, allocations: 355 kB / 0.7231 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005588/0.6204, allocations: 1.215 MB / 0.7243 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.6254, allocations: 3.105 MB / 0.7273 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/0.6264, allocations: 1.401 MB / 0.7287 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001782/0.6282, allocations: 383.7 kB / 0.7291 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.6285, allocations: 155.3 kB / 0.7292 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.6285, allocations: 0 / 0.7292 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of Templates: time 0.3259/0.9545, allocations: 41.76 MB / 0.77 GB, free: 152.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)