Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001568/0.001568, allocations: 101.9 kB / 16.4 MB, free: 6.492 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.001833/0.001833, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.388/1.388, 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.7892/0.7892, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 72.7 kB / 0.568 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 77.92 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04616/0.2029, allocations: 41.56 MB / 0.6846 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.2179, allocations: 10.4 MB / 0.6948 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.2201, allocations: 59.69 kB / 0.6949 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.2222, allocations: 0.656 MB / 0.6955 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.228, allocations: 1.978 MB / 0.6974 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.2315, allocations: 1.186 MB / 0.6986 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.237, allocations: 3.407 MB / 0.7019 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.2391, allocations: 1.056 MB / 0.7029 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.2431, allocations: 1.278 MB / 0.7042 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.2451, allocations: 0.8828 MB / 0.7051 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.2455, allocations: 100 kB / 0.7052 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.2485, allocations: 0.8656 MB / 0.706 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006999/0.2492, allocations: 283 kB / 0.7063 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.2509, allocations: 0.6221 MB / 0.7069 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.2561, allocations: 1.935 MB / 0.7088 GB, free: 7.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.2561, allocations: 4 kB / 0.7088 GB, free: 7.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2561, allocations: 0 / 0.7088 GB, free: 7.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.148e-05/0.2562, allocations: 0 / 0.7088 GB, free: 7.062 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004001/0.2602, allocations: 1.544 MB / 0.7103 GB, free: 5.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/0.2603, allocations: 12.62 kB / 0.7103 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/0.2606, allocations: 118.7 kB / 0.7104 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.2612, allocations: 140.1 kB / 0.7105 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.2637, allocations: 1.116 MB / 0.7116 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.2638, allocations: 54 kB / 0.7117 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.264, allocations: 75.98 kB / 0.7117 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.2657, allocations: 0.7905 MB / 0.7125 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.2658, allocations: 0 / 0.7125 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.2659, allocations: 36 kB / 0.7126 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.2659, allocations: 20 kB / 0.7126 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2672, allocations: 0.5633 MB / 0.7131 GB, free: 2.461 MB / 0.545 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.005246/0.2724, allocations: 3.56 MB / 0.7166 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.2732, allocations: 267.3 kB / 0.7169 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.2736, allocations: 176.8 kB / 0.717 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.2741, allocations: 0.6609 MB / 0.7177 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.2742, allocations: 38.56 kB / 0.7177 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/0.2742, allocations: 0 / 0.7177 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001434/0.2756, allocations: 0.5129 MB / 0.7182 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2757, allocations: 59.41 kB / 0.7183 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.2772, allocations: 0.9456 MB / 0.7192 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.2774, allocations: 33.7 kB / 0.7192 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.2778, allocations: 0.4926 MB / 0.7197 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.278, allocations: 123 kB / 0.7198 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.2782, allocations: 122.1 kB / 0.7199 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2783, allocations: 333.8 kB / 0.7203 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.2787, allocations: 165 kB / 0.7204 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.2792, allocations: 346.9 kB / 0.7207 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.2801, allocations: 0.511 MB / 0.7212 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2802, allocations: 0 / 0.7212 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001421/0.2816, allocations: 0.618 MB / 0.7218 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2816, allocations: 8 kB / 0.7218 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2817, allocations: 8 kB / 0.7219 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.2817, allocations: 8 kB / 0.7219 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.2822, allocations: 127.7 kB / 0.722 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.2822, allocations: 8 kB / 0.722 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.283, allocations: 91.62 kB / 0.7221 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.2831, allocations: 31.94 kB / 0.7221 GB, free: 8.641 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004944/0.2836, allocations: 277.6 kB / 0.7224 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.284, allocations: 107.3 kB / 0.7225 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.2851, allocations: 488.5 kB / 0.7229 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2852, allocations: 4 kB / 0.7229 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2852, allocations: 0 / 0.7229 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007404/0.2859, allocations: 457 kB / 0.7234 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.2886, allocations: 1.371 MB / 0.7247 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2887, allocations: 0 / 0.7247 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.2891, allocations: 83.81 kB / 0.7248 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.2891, allocations: 4 kB / 0.7248 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.2891, allocations: 12.16 kB / 0.7248 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2891, allocations: 4 kB / 0.7248 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2891, allocations: 0 / 0.7248 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.2907, allocations: 0.7638 MB / 0.7256 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/0.2912, allocations: 236.3 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.2914, allocations: 8 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.2921, allocations: 28.03 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.2922, allocations: 23.97 kB / 0.7259 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.2923, allocations: 19.98 kB / 0.7259 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001121/0.2934, allocations: 0.6666 MB / 0.7265 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.033e-06/0.2934, allocations: 0 / 0.7265 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001296/0.2947, allocations: 343.2 kB / 0.7268 GB, free: 3.609 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002823/0.2976, allocations: 1.623 MB / 0.7284 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.2987, allocations: 420.2 kB / 0.7288 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2987, allocations: 0 / 0.7288 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.2991, allocations: 183.8 kB / 0.729 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/0.3026, allocations: 0.6058 MB / 0.7296 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3153, allocations: 6.837 MB / 0.7363 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.3161, allocations: 1.04 MB / 0.7373 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009215/0.3171, allocations: 200.3 kB / 0.7375 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.3177, allocations: 375.3 kB / 0.7378 GB, free: 8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/0.3177, allocations: 0 / 0.7378 GB, free: 8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4093/0.727, allocations: 29.74 MB / 0.7669 GB, free: 90.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.74, allocations: 8.547 kB / 0.7669 GB, free: 90.52 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_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_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)