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.00599/0.00599, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001398/0.001398, allocations: 202 kB / 16.68 MB, free: 5.977 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8647/0.8647, allocations: 132.2 MB / 422.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.56 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1996, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0834/0.283, allocations: 77.14 MB / 0.7345 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03059/0.3137, allocations: 18.85 MB / 0.7529 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005157/0.3189, allocations: 115.3 kB / 0.753 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004614/0.3236, allocations: 1.254 MB / 0.7543 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.3362, allocations: 3.613 MB / 0.7578 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006972/0.3432, allocations: 2.093 MB / 0.7598 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.3564, allocations: 6.67 MB / 0.7664 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/0.3606, allocations: 2.098 MB / 0.7684 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006765/0.3674, allocations: 2.309 MB / 0.7707 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.3715, allocations: 1.763 MB / 0.7724 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006569/0.3722, allocations: 200 kB / 0.7726 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.3785, allocations: 1.618 MB / 0.7742 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009657/0.3795, allocations: 0.5371 MB / 0.7747 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003291/0.3828, allocations: 1.252 MB / 0.7759 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3932, allocations: 3.768 MB / 0.7796 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3932, allocations: 0 / 0.7796 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3932, allocations: 0 / 0.7796 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001481/0.3934, allocations: 4 kB / 0.7796 GB, free: 2.332 MB / 0.6075 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.008279/0.4017, allocations: 2.796 MB / 0.7823 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.4018, allocations: 8.031 kB / 0.7823 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006756/0.4024, allocations: 202.8 kB / 0.7825 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.4038, allocations: 286.5 kB / 0.7828 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/0.4094, allocations: 2.028 MB / 0.7848 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.4096, allocations: 102.7 kB / 0.7849 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.4102, allocations: 148 kB / 0.785 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.4143, allocations: 1.524 MB / 0.7865 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.4144, allocations: 3.938 kB / 0.7865 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.4147, allocations: 60 kB / 0.7866 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.831e-05/0.4148, allocations: 43.92 kB / 0.7866 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.4178, allocations: 1.126 MB / 0.7877 GB, free: 9.809 MB / 0.6231 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.0127/0.4305, allocations: 7.608 MB / 0.7951 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4318, allocations: 489.7 kB / 0.7956 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.4326, allocations: 338.3 kB / 0.7959 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.4337, allocations: 1.148 MB / 0.797 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.4338, allocations: 43.12 kB / 0.7971 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 3.005e-06/0.4338, allocations: 4 kB / 0.7971 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002854/0.4367, allocations: 0.9701 MB / 0.798 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4367, allocations: 59.97 kB / 0.7981 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/0.4403, allocations: 1.791 MB / 0.7998 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.4404, allocations: 41.7 kB / 0.7999 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.4415, allocations: 0.9528 MB / 0.8008 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.4418, allocations: 226.1 kB / 0.801 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.4423, allocations: 230.8 kB / 0.8012 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4425, allocations: 345.9 kB / 0.8016 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/0.4433, allocations: 330.4 kB / 0.8019 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.4445, allocations: 0.686 MB / 0.8026 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.4464, allocations: 1.016 MB / 0.8036 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.4464, allocations: 0 / 0.8036 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002957/0.4494, allocations: 1.218 MB / 0.8047 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4495, allocations: 12 kB / 0.8048 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.4495, allocations: 12.88 kB / 0.8048 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.924e-05/0.4495, allocations: 16 kB / 0.8048 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4506, allocations: 291.6 kB / 0.8051 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.342e-05/0.4507, allocations: 27.86 kB / 0.8051 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4523, allocations: 174.8 kB / 0.8053 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4524, allocations: 52 kB / 0.8053 GB, free: 6.551 MB / 0.6387 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.000958/0.4534, allocations: 433.4 kB / 0.8057 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007683/0.4542, allocations: 202.7 kB / 0.8059 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.4566, allocations: 0.8641 MB / 0.8068 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.4566, allocations: 8 kB / 0.8068 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.4566, allocations: 3.984 kB / 0.8068 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/0.4582, allocations: 0.8034 MB / 0.8076 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006274/0.4645, allocations: 2.447 MB / 0.8099 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4645, allocations: 0 / 0.8099 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.4654, allocations: 179.7 kB / 0.8101 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.4654, allocations: 4 kB / 0.8101 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.4655, allocations: 20.14 kB / 0.8101 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.4655, allocations: 8 kB / 0.8101 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4655, allocations: 0 / 0.8101 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.4688, allocations: 1.353 MB / 0.8115 GB, free: 52 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4456/0.9144, allocations: 370.9 kB / 0.8118 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.9147, allocations: 15.42 kB / 0.8118 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.9159, allocations: 64.05 kB / 0.8119 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.916, allocations: 58.83 kB / 0.812 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/0.9161, allocations: 36.12 kB / 0.812 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00208/0.9182, allocations: 1.241 MB / 0.8132 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9182, allocations: 1 kB / 0.8132 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002/0.9202, allocations: 0.655 MB / 0.8138 GB, free: 146.4 MB / 0.6387 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.004425/0.9247, allocations: 2.393 MB / 0.8162 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.927, allocations: 0.8225 MB / 0.817 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.927, allocations: 1.156 kB / 0.817 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.9278, allocations: 358.1 kB / 0.8173 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006243/0.934, allocations: 1.199 MB / 0.8185 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.9547, allocations: 12.63 MB / 0.8308 GB, free: 138.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/0.9555, allocations: 1.405 MB / 0.8322 GB, free: 137.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001676/0.9572, allocations: 377.8 kB / 0.8326 GB, free: 137.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007985/0.958, allocations: 0.7692 MB / 0.8333 GB, free: 137.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/0.958, allocations: 0 / 0.8333 GB, free: 137.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09257/1.051, allocations: 57.57 MB / 0.8895 GB, free: 84.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.18, allocations: 4.547 kB / 0.8895 GB, free: 84.12 MB / 0.6387 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)