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.001418/0.001418, allocations: 109.8 kB / 17.08 MB, free: 5.82 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.001658/0.001658, allocations: 197.8 kB / 18.02 MB, free: 4.965 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.309/1.309, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.28 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1513, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07642/0.2277, allocations: 77.14 MB / 0.7081 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02794/0.2557, allocations: 18.88 MB / 0.7265 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.2607, allocations: 111.4 kB / 0.7266 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004174/0.2649, allocations: 1.254 MB / 0.7278 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.2762, allocations: 3.625 MB / 0.7314 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006239/0.2824, allocations: 2.102 MB / 0.7334 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01053/0.293, allocations: 6.675 MB / 0.74 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/0.2972, allocations: 2.094 MB / 0.742 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006804/0.3041, allocations: 2.376 MB / 0.7443 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.395/0.6991, allocations: 1.752 MB / 0.746 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.7002, allocations: 199.5 kB / 0.7462 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005703/0.7059, allocations: 1.615 MB / 0.7478 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009598/0.7069, allocations: 0.5302 MB / 0.7483 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.7093, allocations: 1.251 MB / 0.7495 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008032/0.7173, allocations: 3.741 MB / 0.7532 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7174, allocations: 0.9688 kB / 0.7532 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7174, allocations: 0 / 0.7532 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-05/0.7175, allocations: 1.125 kB / 0.7532 GB, free: 11.37 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.005738/0.7232, allocations: 2.706 MB / 0.7558 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.7233, allocations: 12.22 kB / 0.7558 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008203/0.7241, allocations: 263.4 kB / 0.7561 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.7277, allocations: 2.014 MB / 0.7581 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.7278, allocations: 112.6 kB / 0.7582 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.728, allocations: 145.3 kB / 0.7583 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.7312, allocations: 1.517 MB / 0.7598 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.7313, allocations: 6.062 kB / 0.7598 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.7314, allocations: 59.36 kB / 0.7599 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-05/0.7315, allocations: 38.16 kB / 0.7599 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.7338, allocations: 1.13 MB / 0.761 GB, free: 9.266 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.008988/0.7428, allocations: 7.6 MB / 0.7684 GB, free: 21.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.7438, allocations: 475.6 kB / 0.7689 GB, free: 20.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.7444, allocations: 332.4 kB / 0.7692 GB, free: 20.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009715/0.7454, allocations: 1.163 MB / 0.7703 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.7454, allocations: 42.28 kB / 0.7704 GB, free: 19.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.156e-06/0.7455, allocations: 0 / 0.7704 GB, free: 19.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002356/0.7478, allocations: 0.9662 MB / 0.7713 GB, free: 19.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7479, allocations: 58.72 kB / 0.7714 GB, free: 19.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.7501, allocations: 1.782 MB / 0.7731 GB, free: 19.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.7502, allocations: 46.64 kB / 0.7731 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006454/0.7509, allocations: 0.9255 MB / 0.7741 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.7511, allocations: 218.5 kB / 0.7743 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.7514, allocations: 227 kB / 0.7745 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7516, allocations: 346.3 kB / 0.7748 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.7522, allocations: 329.1 kB / 0.7751 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/0.7531, allocations: 0.6867 MB / 0.7758 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.7544, allocations: 1.017 MB / 0.7768 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7544, allocations: 7.5 kB / 0.7768 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002122/0.7566, allocations: 1.217 MB / 0.778 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7566, allocations: 7.875 kB / 0.778 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.7566, allocations: 11.75 kB / 0.778 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.7567, allocations: 15.41 kB / 0.778 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.7576, allocations: 289.9 kB / 0.7783 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.7576, allocations: 23.31 kB / 0.7783 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.7591, allocations: 168.1 kB / 0.7785 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.7591, allocations: 51.59 kB / 0.7785 GB, free: 17.32 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.0008127/0.76, allocations: 435.7 kB / 0.7789 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.7603, allocations: 194.6 kB / 0.7791 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.7619, allocations: 0.8701 MB / 0.78 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.7619, allocations: 8.25 kB / 0.78 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7619, allocations: 0 / 0.78 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.7631, allocations: 0.7916 MB / 0.7808 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.7668, allocations: 2.451 MB / 0.7831 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7668, allocations: 2.906 kB / 0.7831 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.7676, allocations: 180.3 kB / 0.7833 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.7676, allocations: 4.812 kB / 0.7833 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.7676, allocations: 18.31 kB / 0.7833 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.7676, allocations: 17.73 kB / 0.7834 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7677, allocations: 0 / 0.7834 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.7697, allocations: 1.338 MB / 0.7847 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.7704, allocations: 368.3 kB / 0.785 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.7706, allocations: 14.34 kB / 0.785 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.7715, allocations: 64.86 kB / 0.7851 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7717, allocations: 55.8 kB / 0.7851 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.7717, allocations: 35.89 kB / 0.7852 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001487/0.7732, allocations: 1.238 MB / 0.7864 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7732, allocations: 0 / 0.7864 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001893/0.7751, allocations: 0.6553 MB / 0.787 GB, free: 15.52 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.001181/0.7763, allocations: 0.6117 MB / 0.7876 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.7779, allocations: 0.8155 MB / 0.7884 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7779, allocations: 9.531 kB / 0.7884 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.7785, allocations: 352.3 kB / 0.7888 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/0.7832, allocations: 1.204 MB / 0.7899 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.7876, allocations: 3.088 MB / 0.793 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.7885, allocations: 1.387 MB / 0.7943 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.7889, allocations: 158.8 kB / 0.7945 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/0.7889, allocations: 2.625 kB / 0.7945 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Templates: time 0.05649/0.8454, allocations: 35.33 MB / 0.829 GB, free: 4.879 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)