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.001132/0.001131, allocations: 108.4 kB / 16.41 MB, free: 6.5 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.001129/0.001129, 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.284/1.284, allocations: 222.9 MB / 241 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.765/0.765, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.17 kB / 0.568 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1544, allocations: 77.94 MB / 0.6441 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08394/0.2384, allocations: 77.14 MB / 0.7194 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02846/0.2669, allocations: 18.88 MB / 0.7378 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004847/0.2718, allocations: 107.4 kB / 0.7379 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004736/0.2766, allocations: 1.293 MB / 0.7392 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.2885, allocations: 3.812 MB / 0.7429 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005976/0.2945, allocations: 2.099 MB / 0.745 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4072/0.7018, allocations: 6.68 MB / 0.7515 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004626/0.7064, allocations: 2.094 MB / 0.7535 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007763/0.7143, allocations: 2.376 MB / 0.7559 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004563/0.7189, allocations: 1.762 MB / 0.7576 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.7199, allocations: 199.8 kB / 0.7578 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00603/0.726, allocations: 1.622 MB / 0.7594 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.7277, allocations: 0.5344 MB / 0.7599 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00457/0.7323, allocations: 1.249 MB / 0.7611 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.7437, allocations: 3.745 MB / 0.7648 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7438, allocations: 3.469 kB / 0.7648 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.387e-06/0.7438, allocations: 1.312 kB / 0.7648 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001468/0.7439, allocations: 0 / 0.7648 GB, free: 6.203 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.01087/0.7548, allocations: 2.787 MB / 0.7675 GB, free: 20.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/0.7549, allocations: 10.72 kB / 0.7675 GB, free: 20.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007265/0.7556, allocations: 203.7 kB / 0.7677 GB, free: 20.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.7572, allocations: 281.2 kB / 0.768 GB, free: 20.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/0.7628, allocations: 2.039 MB / 0.77 GB, free: 20.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.763, allocations: 112.6 kB / 0.7701 GB, free: 20.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.7635, allocations: 143.4 kB / 0.7702 GB, free: 20.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/0.767, allocations: 1.521 MB / 0.7717 GB, free: 19.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.7671, allocations: 5.594 kB / 0.7717 GB, free: 19.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.7673, allocations: 56.09 kB / 0.7717 GB, free: 19.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.659e-05/0.7674, allocations: 44.11 kB / 0.7718 GB, free: 19.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.7699, allocations: 1.127 MB / 0.7729 GB, free: 19.88 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.01148/0.7815, allocations: 7.616 MB / 0.7803 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.7826, allocations: 478 kB / 0.7808 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.7833, allocations: 330.4 kB / 0.7811 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.7841, allocations: 1.156 MB / 0.7822 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.7842, allocations: 46.88 kB / 0.7823 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.755e-06/0.7842, allocations: 0 / 0.7823 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002659/0.7869, allocations: 0.9657 MB / 0.7832 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.7869, allocations: 59.81 kB / 0.7833 GB, free: 14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.79, allocations: 1.783 MB / 0.785 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.7903, allocations: 45.33 kB / 0.785 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/0.7911, allocations: 0.9473 MB / 0.786 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.7915, allocations: 235.7 kB / 0.7862 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.7919, allocations: 223.5 kB / 0.7864 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.792, allocations: 347.2 kB / 0.7867 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.7927, allocations: 324.6 kB / 0.7871 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/0.7936, allocations: 0.6888 MB / 0.7877 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.7951, allocations: 1.012 MB / 0.7887 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.7952, allocations: 5 kB / 0.7887 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002702/0.7979, allocations: 1.236 MB / 0.7899 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7979, allocations: 8.688 kB / 0.7899 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.798, allocations: 9.562 kB / 0.7899 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/0.798, allocations: 16.28 kB / 0.79 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.799, allocations: 290.4 kB / 0.7902 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/0.7991, allocations: 27.72 kB / 0.7903 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.8013, allocations: 160.9 kB / 0.7904 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.8015, allocations: 50.33 kB / 0.7905 GB, free: 11.88 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.001084/0.8026, allocations: 449.7 kB / 0.7909 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/0.8034, allocations: 205.6 kB / 0.7911 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.8053, allocations: 0.866 MB / 0.7919 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.8053, allocations: 7.969 kB / 0.7919 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8053, allocations: 0 / 0.7919 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/0.8066, allocations: 0.7998 MB / 0.7927 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004811/0.8114, allocations: 2.444 MB / 0.7951 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8115, allocations: 4 kB / 0.7951 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.8123, allocations: 182.4 kB / 0.7953 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.8123, allocations: 7.797 kB / 0.7953 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.8123, allocations: 20.81 kB / 0.7953 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.8123, allocations: 6.312 kB / 0.7953 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8124, allocations: 6.125 kB / 0.7953 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.815, allocations: 1.34 MB / 0.7966 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.8163, allocations: 382.1 kB / 0.797 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005804/0.8169, allocations: 17.53 kB / 0.797 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.8184, allocations: 68.09 kB / 0.7971 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.8185, allocations: 50.28 kB / 0.7971 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.332e-05/0.8186, allocations: 37.7 kB / 0.7972 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002114/0.8207, allocations: 1.239 MB / 0.7984 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8208, allocations: 0.5 kB / 0.7984 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003042/0.8238, allocations: 0.6583 MB / 0.799 GB, free: 10.02 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.004603/0.8284, allocations: 2.412 MB / 0.8014 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.8305, allocations: 0.8184 MB / 0.8022 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.8306, allocations: 3.906 kB / 0.8022 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/0.8314, allocations: 352.6 kB / 0.8025 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007184/0.8386, allocations: 1.2 MB / 0.8037 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/0.8644, allocations: 12.62 MB / 0.816 GB, free: 8 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.8657, allocations: 1.409 MB / 0.8174 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002045/0.8677, allocations: 379.5 kB / 0.8177 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.8693, allocations: 0.772 MB / 0.8185 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of SimCode: time 1.724e-06/0.8693, allocations: 0 / 0.8185 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/0.9829, allocations: 57.58 MB / 0.8747 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.33, allocations: 5.359 kB / 0.8747 GB, free: 4.574 MB / 0.6544 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)