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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111.4 kB / 16.41 MB, free: 6.488 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.001233/0.001233, allocations: 189.2 kB / 17.34 MB, free: 5.762 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7961/0.7961, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 64.81 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1679, allocations: 78.87 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1065/0.2745, allocations: 77.28 MB / 0.726 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03035/0.3049, allocations: 18.89 MB / 0.7445 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.309, allocations: 115.4 kB / 0.7446 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.313, allocations: 1.242 MB / 0.7458 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3743/0.6873, allocations: 3.618 MB / 0.7493 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006071/0.6934, allocations: 2.087 MB / 0.7514 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.7051, allocations: 6.684 MB / 0.7579 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/0.7098, allocations: 2.094 MB / 0.7599 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008627/0.7185, allocations: 2.602 MB / 0.7625 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/0.7234, allocations: 1.739 MB / 0.7642 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000795/0.7242, allocations: 199.1 kB / 0.7644 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005852/0.73, allocations: 1.61 MB / 0.7659 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008713/0.7309, allocations: 0.5327 MB / 0.7665 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003387/0.7343, allocations: 1.254 MB / 0.7677 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.7425, allocations: 3.752 MB / 0.7713 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7425, allocations: 3.516 kB / 0.7713 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7425, allocations: 2.156 kB / 0.7714 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.353e-05/0.7426, allocations: 3.375 kB / 0.7714 GB, free: 3.496 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.006272/0.7489, allocations: 2.793 MB / 0.7741 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.749, allocations: 10.92 kB / 0.7741 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/0.7492, allocations: 199.8 kB / 0.7743 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.7501, allocations: 276.8 kB / 0.7745 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.7537, allocations: 2.038 MB / 0.7765 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/0.7538, allocations: 110.1 kB / 0.7766 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.754, allocations: 144.1 kB / 0.7768 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.7569, allocations: 1.522 MB / 0.7783 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.757, allocations: 12.38 kB / 0.7783 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.7571, allocations: 58.06 kB / 0.7783 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.115e-05/0.7572, allocations: 41.66 kB / 0.7784 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.7593, allocations: 1.123 MB / 0.7795 GB, free: 17.17 MB / 0.5919 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.01014/0.7695, allocations: 7.938 MB / 0.7872 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.7706, allocations: 481 kB / 0.7877 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.7712, allocations: 334.4 kB / 0.788 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.7723, allocations: 1.151 MB / 0.7891 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.7724, allocations: 43.5 kB / 0.7892 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.715e-06/0.7724, allocations: 4 kB / 0.7892 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002445/0.7748, allocations: 0.9802 MB / 0.7901 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.7749, allocations: 55.38 kB / 0.7902 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.7773, allocations: 1.784 MB / 0.7919 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.7775, allocations: 42.14 kB / 0.792 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007399/0.7782, allocations: 0.9467 MB / 0.7929 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.7785, allocations: 227.5 kB / 0.7931 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.7788, allocations: 228.2 kB / 0.7933 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.779, allocations: 348.3 kB / 0.7937 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.7796, allocations: 329.1 kB / 0.794 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.7806, allocations: 0.6909 MB / 0.7946 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.7822, allocations: 1.013 MB / 0.7956 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.7822, allocations: 2.375 kB / 0.7956 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002365/0.7846, allocations: 1.224 MB / 0.7968 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.7846, allocations: 17.86 kB / 0.7968 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7846, allocations: 10.81 kB / 0.7969 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.7847, allocations: 13.84 kB / 0.7969 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/0.7856, allocations: 287.1 kB / 0.7971 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/0.7856, allocations: 22.56 kB / 0.7972 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.7872, allocations: 168.4 kB / 0.7973 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.7873, allocations: 53.19 kB / 0.7974 GB, free: 8.777 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.0007639/0.7881, allocations: 441.2 kB / 0.7978 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.7885, allocations: 207 kB / 0.798 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.7901, allocations: 0.8612 MB / 0.7988 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.7901, allocations: 7.625 kB / 0.7988 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7902, allocations: 0 / 0.7988 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/0.7915, allocations: 0.8015 MB / 0.7996 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/0.7961, allocations: 2.451 MB / 0.802 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7962, allocations: 0 / 0.802 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.7969, allocations: 183.1 kB / 0.8022 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.797, allocations: 6.875 kB / 0.8022 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.797, allocations: 20.27 kB / 0.8022 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.797, allocations: 5.031 kB / 0.8022 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.797, allocations: 6.094 kB / 0.8022 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.7995, allocations: 1.345 MB / 0.8035 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008161/0.8004, allocations: 377.7 kB / 0.8039 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.8006, allocations: 11.91 kB / 0.8039 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009482/0.8016, allocations: 70.11 kB / 0.804 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8017, allocations: 46.25 kB / 0.804 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/0.8018, allocations: 41.67 kB / 0.8041 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001771/0.8035, allocations: 1.24 MB / 0.8053 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8036, allocations: 0 / 0.8053 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002127/0.8057, allocations: 0.6719 MB / 0.8059 GB, free: 4.672 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.003984/0.8097, allocations: 2.403 MB / 0.8083 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.8115, allocations: 0.8161 MB / 0.8091 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8115, allocations: 4.031 kB / 0.8091 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.8122, allocations: 356.8 kB / 0.8094 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005508/0.8177, allocations: 1.196 MB / 0.8106 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.8387, allocations: 12.63 MB / 0.8229 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.84, allocations: 1.405 MB / 0.8243 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001687/0.8417, allocations: 379.6 kB / 0.8247 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.8428, allocations: 0.7609 MB / 0.8254 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of SimCode: time 9.51e-07/0.8428, allocations: 4 kB / 0.8254 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/0.95, allocations: 57.58 MB / 0.8816 GB, free: 10.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.24, allocations: 6.094 kB / 0.8816 GB, free: 10.7 MB / 0.67 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)