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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5547/0.5547, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.001391, allocations: 94.61 kB / 420 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001085, allocations: 55.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3528, allocations: 70.06 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05952/0.4124, allocations: 76.65 MB / 0.6323 GB, free: 316 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02763/0.4401, allocations: 18.94 MB / 0.6508 GB, free: 13.32 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.4441, allocations: 103.3 kB / 0.6509 GB, free: 13.22 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.4475, allocations: 1.033 MB / 0.652 GB, free: 12.18 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009304/0.4568, allocations: 3.371 MB / 0.6552 GB, free: 8.797 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.4618, allocations: 1.9 MB / 0.6571 GB, free: 6.914 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4728, allocations: 8.931 MB / 0.6658 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003746/0.4766, allocations: 1.743 MB / 0.6675 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005566/0.4822, allocations: 1.968 MB / 0.6694 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.4864, allocations: 1.773 MB / 0.6712 GB, free: 8.414 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.4875, allocations: 96 kB / 0.6713 GB, free: 8.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005386/0.4929, allocations: 1.465 MB / 0.6727 GB, free: 6.852 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.4941, allocations: 458 kB / 0.6731 GB, free: 6.402 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.4978, allocations: 1.135 MB / 0.6742 GB, free: 5.262 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0074/0.5052, allocations: 3.645 MB / 0.6778 GB, free: 1.605 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5052, allocations: 0 / 0.6778 GB, free: 1.605 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5052, allocations: 0 / 0.6778 GB, free: 1.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.5054, allocations: 0 / 0.6778 GB, free: 1.605 MB / 490.7 MB 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.005806/0.5112, allocations: 2.719 MB / 0.6805 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5112, allocations: 8.031 kB / 0.6805 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.512, allocations: 266 kB / 0.6807 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.5156, allocations: 1.98 MB / 0.6827 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.5157, allocations: 106.7 kB / 0.6828 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.516, allocations: 140 kB / 0.6829 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.5192, allocations: 1.516 MB / 0.6844 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.5193, allocations: 0 / 0.6844 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.5195, allocations: 60 kB / 0.6844 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.5195, allocations: 43.92 kB / 0.6845 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.522, allocations: 1.122 MB / 0.6856 GB, free: 9.453 MB / 0.4948 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.01015/0.5321, allocations: 7.579 MB / 0.693 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5332, allocations: 476.6 kB / 0.6934 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/0.5338, allocations: 334.3 kB / 0.6937 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/0.5348, allocations: 1.152 MB / 0.6949 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.5349, allocations: 39.12 kB / 0.6949 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 3.126e-06/0.5349, allocations: 3.938 kB / 0.6949 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.002653/0.5376, allocations: 0.9651 MB / 0.6959 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.5376, allocations: 63.91 kB / 0.6959 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.5405, allocations: 1.752 MB / 0.6976 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.5406, allocations: 45.7 kB / 0.6977 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008058/0.5415, allocations: 0.9278 MB / 0.6986 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.5417, allocations: 224.9 kB / 0.6988 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.5421, allocations: 222.7 kB / 0.699 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5422, allocations: 349.9 kB / 0.6993 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.543, allocations: 334.4 kB / 0.6997 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.5441, allocations: 0.686 MB / 0.7003 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.5459, allocations: 1.012 MB / 0.7013 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.5459, allocations: 4 kB / 0.7013 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002873/0.5488, allocations: 1.214 MB / 0.7025 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.5489, allocations: 8.125 kB / 0.7025 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.5489, allocations: 16 kB / 0.7025 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.898e-05/0.549, allocations: 19.98 kB / 0.7025 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.55, allocations: 287.6 kB / 0.7028 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.695e-05/0.5501, allocations: 19.94 kB / 0.7028 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.5523, allocations: 234.5 kB / 0.7031 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5524, allocations: 51.98 kB / 0.7031 GB, free: 6.246 MB / 0.5105 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.0009517/0.5533, allocations: 449.3 kB / 0.7035 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006141/0.5539, allocations: 189.7 kB / 0.7037 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.5561, allocations: 0.8688 MB / 0.7046 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5562, allocations: 8 kB / 0.7046 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5562, allocations: 0 / 0.7046 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/0.5576, allocations: 0.7956 MB / 0.7054 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.5625, allocations: 2.431 MB / 0.7077 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.5625, allocations: 3.938 kB / 0.7077 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007695/0.5633, allocations: 188 kB / 0.7079 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.5633, allocations: 4 kB / 0.7079 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.5634, allocations: 16 kB / 0.7079 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5634, allocations: 4 kB / 0.7079 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.5634, allocations: 4 kB / 0.7079 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2955/0.859, allocations: 6.151 MB / 0.7139 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/0.8596, allocations: 365.5 kB / 0.7143 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.8598, allocations: 17.66 kB / 0.7143 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8608, allocations: 119.8 kB / 0.7144 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.8609, allocations: 46.36 kB / 0.7145 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.861, allocations: 37.55 kB / 0.7145 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001387/0.8624, allocations: 1.215 MB / 0.7157 GB, free: 141 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8624, allocations: 0 / 0.7157 GB, free: 141 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002918/0.8653, allocations: 0.9054 MB / 0.7166 GB, free: 140.9 MB / 0.5105 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.00115/0.8665, allocations: 0.5862 MB / 0.7171 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.8683, allocations: 0.8122 MB / 0.7179 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8683, allocations: 1.188 kB / 0.7179 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.869, allocations: 357.6 kB / 0.7183 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/0.8743, allocations: 1.201 MB / 0.7195 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.8788, allocations: 4.156 MB / 0.7235 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/0.8795, allocations: 1.425 MB / 0.7249 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001588/0.8811, allocations: 386 kB / 0.7253 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.8815, allocations: 146.5 kB / 0.7254 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/0.8815, allocations: 0 / 0.7254 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.05788/0.9394, allocations: 41.56 MB / 0.766 GB, free: 96.72 MB / 0.5105 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)