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.00153/0.00153, allocations: 117.8 kB / 17.08 MB, free: 6.012 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.001853/0.001853, allocations: 192.1 kB / 18.01 MB, free: 5.094 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 60.75 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.077/0.2343, allocations: 77.14 MB / 0.7081 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.2612, allocations: 18.88 MB / 0.7265 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/0.2653, allocations: 111.4 kB / 0.7266 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.2693, allocations: 1.25 MB / 0.7278 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.2796, allocations: 3.633 MB / 0.7314 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005865/0.2855, allocations: 2.091 MB / 0.7334 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009864/0.2953, allocations: 6.676 MB / 0.74 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.2992, allocations: 2.094 MB / 0.742 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005935/0.3052, allocations: 2.369 MB / 0.7443 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3729/0.6781, allocations: 1.76 MB / 0.746 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009651/0.6791, allocations: 199.5 kB / 0.7462 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.6839, allocations: 1.615 MB / 0.7478 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.6849, allocations: 0.5376 MB / 0.7483 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.6875, allocations: 1.248 MB / 0.7495 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.6961, allocations: 3.733 MB / 0.7532 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.6962, allocations: 0.5625 kB / 0.7532 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6962, allocations: 1.562 kB / 0.7532 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001165/0.6963, allocations: 0 / 0.7532 GB, free: 11.34 MB / 0.5762 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.006576/0.7029, allocations: 2.712 MB / 0.7558 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.703, allocations: 9.969 kB / 0.7558 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008421/0.7038, allocations: 270.7 kB / 0.7561 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.7079, allocations: 2.014 MB / 0.7581 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.708, allocations: 110.6 kB / 0.7582 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.7083, allocations: 148.6 kB / 0.7583 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.7118, allocations: 1.517 MB / 0.7598 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.7118, allocations: 1.5 kB / 0.7598 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.712, allocations: 63.39 kB / 0.7599 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/0.7121, allocations: 44.8 kB / 0.7599 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.7144, allocations: 1.126 MB / 0.761 GB, free: 9.23 MB / 0.5762 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.009322/0.7237, allocations: 7.589 MB / 0.7684 GB, free: 20.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/0.7247, allocations: 474.5 kB / 0.7689 GB, free: 20.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/0.7254, allocations: 338.3 kB / 0.7692 GB, free: 20.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009603/0.7264, allocations: 1.154 MB / 0.7703 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.7264, allocations: 44.06 kB / 0.7704 GB, free: 19.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.497e-06/0.7264, allocations: 4 kB / 0.7704 GB, free: 19.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002536/0.729, allocations: 0.9653 MB / 0.7713 GB, free: 19.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.729, allocations: 56.78 kB / 0.7714 GB, free: 19.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.7315, allocations: 1.787 MB / 0.7731 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.7317, allocations: 42.45 kB / 0.7731 GB, free: 19.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.7324, allocations: 0.9246 MB / 0.774 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.7326, allocations: 225.8 kB / 0.7743 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.7329, allocations: 223.5 kB / 0.7745 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7331, allocations: 344.6 kB / 0.7748 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/0.7338, allocations: 336.7 kB / 0.7751 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.7347, allocations: 0.6885 MB / 0.7758 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.7362, allocations: 1.009 MB / 0.7768 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.7362, allocations: 2.531 kB / 0.7768 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002417/0.7386, allocations: 1.22 MB / 0.778 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.7386, allocations: 13.59 kB / 0.778 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.7387, allocations: 10.25 kB / 0.778 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.7387, allocations: 17.58 kB / 0.778 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009621/0.7397, allocations: 284.7 kB / 0.7783 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.7397, allocations: 22.47 kB / 0.7783 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.7414, allocations: 166.2 kB / 0.7785 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7415, allocations: 55.2 kB / 0.7785 GB, free: 17.29 MB / 0.5919 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.0008993/0.7424, allocations: 440.1 kB / 0.7789 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.7429, allocations: 194.3 kB / 0.7791 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.7447, allocations: 0.8678 MB / 0.78 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.7447, allocations: 9.172 kB / 0.78 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7448, allocations: 0 / 0.78 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.746, allocations: 0.7999 MB / 0.7808 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.7504, allocations: 2.443 MB / 0.7831 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7505, allocations: 5.719 kB / 0.7832 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.7512, allocations: 179.4 kB / 0.7833 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7512, allocations: 5.812 kB / 0.7833 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.7513, allocations: 23.77 kB / 0.7834 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.7513, allocations: 7.609 kB / 0.7834 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7513, allocations: 2.562 kB / 0.7834 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.7537, allocations: 1.331 MB / 0.7847 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00094/0.7547, allocations: 368.2 kB / 0.785 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/0.755, allocations: 14.16 kB / 0.785 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7561, allocations: 69.75 kB / 0.7851 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7562, allocations: 50.48 kB / 0.7851 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.7563, allocations: 36.14 kB / 0.7852 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001722/0.7581, allocations: 1.242 MB / 0.7864 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7581, allocations: 0 / 0.7864 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002423/0.7605, allocations: 0.6574 MB / 0.787 GB, free: 15.48 MB / 0.5919 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.001357/0.7619, allocations: 0.6091 MB / 0.7876 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.7636, allocations: 0.823 MB / 0.7884 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7636, allocations: 0 / 0.7884 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006477/0.7642, allocations: 360.9 kB / 0.7888 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/0.7701, allocations: 1.196 MB / 0.7899 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.7747, allocations: 3.08 MB / 0.793 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/0.7757, allocations: 1.394 MB / 0.7943 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.7762, allocations: 157.7 kB / 0.7945 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/0.7762, allocations: 0 / 0.7945 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.05044/0.8266, allocations: 35.05 MB / 0.8287 GB, free: 5.066 MB / 0.6075 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)