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.00178/0.00178, allocations: 107.4 kB / 16.27 MB, free: 5.98 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.002108/0.002108, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7435/0.7435, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.12 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07419/0.3986, allocations: 77.15 MB / 0.6426 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02778/0.4264, allocations: 18.88 MB / 0.6611 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.4304, allocations: 115.3 kB / 0.6612 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003983/0.4344, allocations: 1.242 MB / 0.6624 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.4461, allocations: 3.626 MB / 0.6659 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.4515, allocations: 2.081 MB / 0.6679 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009642/0.4612, allocations: 6.666 MB / 0.6745 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.4655, allocations: 2.1 MB / 0.6765 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.472, allocations: 2.289 MB / 0.6787 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00378/0.4758, allocations: 1.746 MB / 0.6805 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006706/0.4765, allocations: 196 kB / 0.6806 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.4817, allocations: 1.618 MB / 0.6822 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007674/0.4825, allocations: 0.5449 MB / 0.6828 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.4848, allocations: 1.248 MB / 0.684 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005722/0.4905, allocations: 3.696 MB / 0.6876 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4905, allocations: 7.938 kB / 0.6876 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4905, allocations: 4 kB / 0.6876 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.508e-05/0.4906, allocations: 0 / 0.6876 GB, free: 15.16 MB / 0.5294 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.005376/0.496, allocations: 2.711 MB / 0.6902 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4961, allocations: 8.625 kB / 0.6902 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.4963, allocations: 210.8 kB / 0.6904 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/0.4971, allocations: 262 kB / 0.6907 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.5, allocations: 1.906 MB / 0.6926 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.5001, allocations: 110.7 kB / 0.6927 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.5002, allocations: 140 kB / 0.6928 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.5026, allocations: 1.524 MB / 0.6943 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.5027, allocations: 4 kB / 0.6943 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.5028, allocations: 60 kB / 0.6943 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.5028, allocations: 36 kB / 0.6944 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5049, allocations: 1.13 MB / 0.6955 GB, free: 6.867 MB / 0.5294 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.007976/0.5129, allocations: 7.657 MB / 0.703 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.5138, allocations: 468.6 kB / 0.7034 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.5145, allocations: 330.3 kB / 0.7037 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/0.5154, allocations: 1.152 MB / 0.7048 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5154, allocations: 47.16 kB / 0.7049 GB, free: 12.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/0.5154, allocations: 0 / 0.7049 GB, free: 12.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002301/0.5177, allocations: 0.9612 MB / 0.7058 GB, free: 11.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.5178, allocations: 59.97 kB / 0.7059 GB, free: 11.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.52, allocations: 1.783 MB / 0.7076 GB, free: 9.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.5201, allocations: 41.7 kB / 0.7077 GB, free: 9.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.5209, allocations: 0.9277 MB / 0.7086 GB, free: 8.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.5211, allocations: 213 kB / 0.7088 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.5214, allocations: 242.6 kB / 0.709 GB, free: 8.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5215, allocations: 349.9 kB / 0.7093 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.5222, allocations: 326.4 kB / 0.7097 GB, free: 7.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/0.5232, allocations: 0.7015 MB / 0.7103 GB, free: 6.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.5247, allocations: 1.005 MB / 0.7113 GB, free: 5.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.5247, allocations: 4 kB / 0.7113 GB, free: 5.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002197/0.5269, allocations: 1.218 MB / 0.7125 GB, free: 4.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.527, allocations: 10.03 kB / 0.7125 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.527, allocations: 12 kB / 0.7125 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.527, allocations: 19.94 kB / 0.7126 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/0.528, allocations: 291.9 kB / 0.7128 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.528, allocations: 23.92 kB / 0.7129 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.5292, allocations: 167.4 kB / 0.713 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.5292, allocations: 51.98 kB / 0.7131 GB, free: 3.617 MB / 0.545 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.0006326/0.5299, allocations: 438.1 kB / 0.7135 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.5302, allocations: 193.7 kB / 0.7137 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.5318, allocations: 0.8727 MB / 0.7145 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5319, allocations: 8 kB / 0.7145 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5319, allocations: 0 / 0.7145 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/0.5331, allocations: 0.7918 MB / 0.7153 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/0.5367, allocations: 2.455 MB / 0.7177 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5368, allocations: 3.984 kB / 0.7177 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.5375, allocations: 175.8 kB / 0.7179 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5376, allocations: 4 kB / 0.7179 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.5376, allocations: 20 kB / 0.7179 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.5376, allocations: 12.03 kB / 0.7179 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5376, allocations: 4 kB / 0.7179 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.5399, allocations: 1.339 MB / 0.7192 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.5405, allocations: 366.5 kB / 0.7196 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.5408, allocations: 16 kB / 0.7196 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.5417, allocations: 63.91 kB / 0.7196 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5418, allocations: 48.5 kB / 0.7197 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.5419, allocations: 35.97 kB / 0.7197 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001609/0.5435, allocations: 1.243 MB / 0.7209 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5435, allocations: 0 / 0.7209 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001623/0.5452, allocations: 0.6551 MB / 0.7216 GB, free: 10.67 MB / 0.5606 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.003625/0.5488, allocations: 2.381 MB / 0.7239 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.5508, allocations: 0.8936 MB / 0.7248 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5508, allocations: 0 / 0.7248 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.5516, allocations: 356.4 kB / 0.7251 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007217/0.5589, allocations: 1.211 MB / 0.7263 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/0.5842, allocations: 14.23 MB / 0.7402 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.5852, allocations: 1.405 MB / 0.7416 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00161/0.5868, allocations: 383.2 kB / 0.7419 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009636/0.5878, allocations: 0.7687 MB / 0.7427 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.5878, allocations: 0 / 0.7427 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3123/0.9001, allocations: 57.3 MB / 0.7986 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.658, allocations: 2.75 kB / 0.7986 GB, free: 129.3 MB / 0.5762 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)