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.001055/0.001055, allocations: 109.8 kB / 17.03 MB, free: 5.699 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.001095/0.001095, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3395, allocations: 76.14 MB / 0.5576 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06341/0.403, allocations: 77.14 MB / 0.6329 GB, free: 7.207 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.4274, allocations: 18.89 MB / 0.6513 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.431, allocations: 107.4 kB / 0.6514 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.4344, allocations: 1.25 MB / 0.6527 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009672/0.4441, allocations: 3.618 MB / 0.6562 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005859/0.45, allocations: 2.098 MB / 0.6582 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.4613, allocations: 6.674 MB / 0.6648 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.4643, allocations: 2.09 MB / 0.6668 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00493/0.4692, allocations: 2.313 MB / 0.6691 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.4724, allocations: 1.76 MB / 0.6708 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004552/0.4728, allocations: 204 kB / 0.671 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.4769, allocations: 1.614 MB / 0.6725 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006831/0.4776, allocations: 0.5371 MB / 0.6731 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.4794, allocations: 1.248 MB / 0.6743 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005826/0.4852, allocations: 3.748 MB / 0.678 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.4853, allocations: 0 / 0.678 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4853, allocations: 4 kB / 0.678 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.146e-05/0.4853, allocations: 0 / 0.678 GB, free: 8.934 MB / 0.5137 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.004536/0.4899, allocations: 2.721 MB / 0.6806 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4899, allocations: 8.031 kB / 0.6806 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/0.4906, allocations: 273.9 kB / 0.6809 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.4939, allocations: 2.022 MB / 0.6829 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/0.494, allocations: 106.7 kB / 0.683 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.4942, allocations: 144 kB / 0.6831 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.4967, allocations: 1.52 MB / 0.6846 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.4968, allocations: 4 kB / 0.6846 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4969, allocations: 52 kB / 0.6846 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.4969, allocations: 43.94 kB / 0.6847 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.499, allocations: 1.126 MB / 0.6858 GB, free: 0.7266 MB / 0.5137 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.007903/0.5069, allocations: 7.595 MB / 0.6932 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.5079, allocations: 480.6 kB / 0.6937 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.5085, allocations: 338.2 kB / 0.694 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008269/0.5093, allocations: 1.156 MB / 0.6951 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5093, allocations: 39.12 kB / 0.6951 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.5093, allocations: 0 / 0.6951 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002075/0.5114, allocations: 0.9573 MB / 0.6961 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5115, allocations: 63.97 kB / 0.6961 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.5137, allocations: 1.783 MB / 0.6979 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.5138, allocations: 41.7 kB / 0.6979 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.5146, allocations: 0.9316 MB / 0.6988 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.5148, allocations: 224.9 kB / 0.699 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.5151, allocations: 222.7 kB / 0.6993 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5152, allocations: 357.9 kB / 0.6996 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.5159, allocations: 330.3 kB / 0.6999 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.5168, allocations: 0.6899 MB / 0.7006 GB, free: 484 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5183, allocations: 1.012 MB / 0.7016 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5183, allocations: 4 kB / 0.7016 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002172/0.5205, allocations: 1.218 MB / 0.7028 GB, free: 14.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5205, allocations: 15.98 kB / 0.7028 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5206, allocations: 8 kB / 0.7028 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.5206, allocations: 16 kB / 0.7028 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.5215, allocations: 292.1 kB / 0.7031 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.5215, allocations: 19.94 kB / 0.7031 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.5227, allocations: 162.4 kB / 0.7033 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.24e-05/0.5228, allocations: 51.98 kB / 0.7033 GB, free: 13.53 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.0007311/0.5236, allocations: 450 kB / 0.7037 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.5239, allocations: 189.7 kB / 0.7039 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.5256, allocations: 0.862 MB / 0.7048 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.5256, allocations: 8 kB / 0.7048 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5257, allocations: 0 / 0.7048 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.5269, allocations: 0.7995 MB / 0.7055 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.5311, allocations: 2.443 MB / 0.7079 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5311, allocations: 3.938 kB / 0.7079 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.5319, allocations: 188 kB / 0.7081 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.5319, allocations: 4 kB / 0.7081 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.532, allocations: 16 kB / 0.7081 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.532, allocations: 7.984 kB / 0.7081 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.532, allocations: 4 kB / 0.7081 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.5343, allocations: 1.332 MB / 0.7094 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/0.535, allocations: 370.4 kB / 0.7098 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.5352, allocations: 15.98 kB / 0.7098 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.5361, allocations: 59.92 kB / 0.7099 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5362, allocations: 48.5 kB / 0.7099 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.5363, allocations: 43.91 kB / 0.71 GB, free: 6.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001695/0.538, allocations: 1.243 MB / 0.7112 GB, free: 5.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.538, allocations: 0 / 0.7112 GB, free: 5.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001809/0.5398, allocations: 0.655 MB / 0.7118 GB, free: 4.59 MB / 0.545 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.001164/0.541, allocations: 0.6067 MB / 0.7124 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.5426, allocations: 0.8201 MB / 0.7132 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5426, allocations: 4.312 kB / 0.7132 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006785/0.5433, allocations: 350.9 kB / 0.7135 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/0.5477, allocations: 1.2 MB / 0.7147 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.552, allocations: 3.07 MB / 0.7177 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/0.5529, allocations: 1.401 MB / 0.7191 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00123/0.5542, allocations: 379.3 kB / 0.7194 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.5544, allocations: 147.4 kB / 0.7196 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.5545, allocations: 0 / 0.7196 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.2976/0.852, allocations: 41.63 MB / 0.7602 GB, free: 153.4 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)