Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_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.001696/0.001696, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.2 MB / 422.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 60.12 kB / 0.5019 GB, free: 8.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1505, allocations: 80.2 MB / 0.5802 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3379/0.4884, allocations: 77.15 MB / 0.6555 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.5116, allocations: 18.85 MB / 0.6739 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.5159, allocations: 112.7 kB / 0.674 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.5194, allocations: 1.245 MB / 0.6753 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009938/0.5293, allocations: 3.618 MB / 0.6788 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.5352, allocations: 2.066 MB / 0.6808 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.5468, allocations: 6.659 MB / 0.6873 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004444/0.5513, allocations: 2.105 MB / 0.6894 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.5581, allocations: 2.287 MB / 0.6916 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/0.5622, allocations: 1.754 MB / 0.6933 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008045/0.563, allocations: 199.7 kB / 0.6935 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.5684, allocations: 1.618 MB / 0.6951 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.5695, allocations: 0.5379 MB / 0.6956 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003652/0.5732, allocations: 1.25 MB / 0.6968 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009047/0.5823, allocations: 3.714 MB / 0.7005 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5823, allocations: 1.438 kB / 0.7005 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5823, allocations: 0 / 0.7005 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001467/0.5825, allocations: 0 / 0.7005 GB, free: 15.34 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.007312/0.5898, allocations: 2.713 MB / 0.7031 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5898, allocations: 10.03 kB / 0.7031 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005158/0.5904, allocations: 203.2 kB / 0.7033 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5915, allocations: 266.6 kB / 0.7036 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/0.595, allocations: 1.897 MB / 0.7054 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-05/0.5951, allocations: 113.7 kB / 0.7055 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.5954, allocations: 146.6 kB / 0.7057 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.5981, allocations: 1.524 MB / 0.7072 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.5982, allocations: 6.094 kB / 0.7072 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5983, allocations: 57.31 kB / 0.7072 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/0.5984, allocations: 40.86 kB / 0.7073 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.6006, allocations: 1.129 MB / 0.7084 GB, free: 11 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.009959/0.6106, allocations: 7.652 MB / 0.7158 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.6116, allocations: 475.5 kB / 0.7163 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.6122, allocations: 334.6 kB / 0.7166 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/0.6131, allocations: 1.152 MB / 0.7177 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.6131, allocations: 43.5 kB / 0.7178 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.555e-06/0.6132, allocations: 0 / 0.7178 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002494/0.6157, allocations: 0.9644 MB / 0.7187 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6157, allocations: 57.38 kB / 0.7188 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.618, allocations: 1.783 MB / 0.7205 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.6182, allocations: 49.89 kB / 0.7206 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007533/0.619, allocations: 0.9294 MB / 0.7215 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.6192, allocations: 217.6 kB / 0.7217 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.6195, allocations: 230.3 kB / 0.7219 GB, free: 15.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6196, allocations: 353.8 kB / 0.7222 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.6203, allocations: 329.1 kB / 0.7225 GB, free: 15.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.6212, allocations: 0.6902 MB / 0.7232 GB, free: 14.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.6228, allocations: 1.013 MB / 0.7242 GB, free: 13.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6228, allocations: 2.719 kB / 0.7242 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002395/0.6252, allocations: 1.22 MB / 0.7254 GB, free: 12.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6252, allocations: 8 kB / 0.7254 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6253, allocations: 8 kB / 0.7254 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.6253, allocations: 16.75 kB / 0.7254 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6263, allocations: 291.5 kB / 0.7257 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.6264, allocations: 23.92 kB / 0.7257 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.6279, allocations: 170.4 kB / 0.7259 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.628, allocations: 52 kB / 0.7259 GB, free: 12.43 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.0007317/0.6288, allocations: 441.4 kB / 0.7264 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.6291, allocations: 189.7 kB / 0.7265 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.6309, allocations: 0.8623 MB / 0.7274 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.631, allocations: 11.98 kB / 0.7274 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.631, allocations: 4 kB / 0.7274 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.6323, allocations: 0.7995 MB / 0.7282 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.6368, allocations: 2.451 MB / 0.7306 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6369, allocations: 0 / 0.7306 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.6376, allocations: 184 kB / 0.7307 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.6377, allocations: 4 kB / 0.7308 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.6377, allocations: 19.98 kB / 0.7308 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.6377, allocations: 4 kB / 0.7308 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6377, allocations: 4 kB / 0.7308 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.6403, allocations: 1.339 MB / 0.7321 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/0.6412, allocations: 362.5 kB / 0.7324 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6414, allocations: 20 kB / 0.7325 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6425, allocations: 60.94 kB / 0.7325 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6426, allocations: 52.44 kB / 0.7326 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-05/0.6427, allocations: 35.91 kB / 0.7326 GB, free: 5.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001656/0.6443, allocations: 1.243 MB / 0.7338 GB, free: 4.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6443, allocations: 0 / 0.7338 GB, free: 4.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002118/0.6464, allocations: 0.6629 MB / 0.7345 GB, free: 3.477 MB / 0.545 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.003823/0.6503, allocations: 2.388 MB / 0.7368 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.6524, allocations: 0.8857 MB / 0.7377 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.6524, allocations: 0 / 0.7377 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000699/0.6531, allocations: 360.5 kB / 0.738 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00575/0.6589, allocations: 1.205 MB / 0.7392 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.6779, allocations: 14.23 MB / 0.7531 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.6788, allocations: 1.405 MB / 0.7544 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001616/0.6804, allocations: 381 kB / 0.7548 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/0.6813, allocations: 0.7648 MB / 0.7556 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.6813, allocations: 4 kB / 0.7556 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09851/0.7799, allocations: 57.28 MB / 0.8115 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.176/9.956, allocations: 9.875 kB / 0.8115 GB, free: 4.152 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)