Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.001121/0.001121, 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.001139/0.001139, allocations: 195.2 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.321/1.321, 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-master/package.mo): time 0.9097/0.9097, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 64.23 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1538, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2971/0.4509, allocations: 77.13 MB / 0.6598 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02633/0.4773, allocations: 18.85 MB / 0.6782 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.4807, allocations: 112.5 kB / 0.6783 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.4842, allocations: 1.249 MB / 0.6795 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.4945, allocations: 3.615 MB / 0.6831 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.5, allocations: 2.07 MB / 0.6851 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009046/0.509, allocations: 6.66 MB / 0.6916 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.5124, allocations: 2.102 MB / 0.6936 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005588/0.518, allocations: 2.292 MB / 0.6959 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.5216, allocations: 1.755 MB / 0.6976 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008193/0.5225, allocations: 199.4 kB / 0.6978 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005856/0.5283, allocations: 1.618 MB / 0.6994 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.5297, allocations: 0.535 MB / 0.6999 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.533, allocations: 1.249 MB / 0.7011 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007682/0.5407, allocations: 3.715 MB / 0.7047 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5408, allocations: 1.188 kB / 0.7047 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5408, allocations: 0 / 0.7047 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.776e-05/0.5409, allocations: 4 kB / 0.7047 GB, free: 10.61 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.006168/0.547, allocations: 2.72 MB / 0.7074 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5471, allocations: 13.88 kB / 0.7074 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000254/0.5474, allocations: 208.4 kB / 0.7076 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/0.5482, allocations: 266 kB / 0.7079 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.5514, allocations: 1.9 MB / 0.7097 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.5515, allocations: 104 kB / 0.7098 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.5517, allocations: 144.4 kB / 0.7099 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.5543, allocations: 1.518 MB / 0.7114 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.5543, allocations: 1.344 kB / 0.7114 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.5545, allocations: 66 kB / 0.7115 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.5545, allocations: 41.41 kB / 0.7115 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.5568, allocations: 1.128 MB / 0.7126 GB, free: 5.691 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.007991/0.5648, allocations: 7.652 MB / 0.7201 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.5657, allocations: 480.4 kB / 0.7206 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.5663, allocations: 334.2 kB / 0.7209 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008082/0.5672, allocations: 1.152 MB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.5672, allocations: 48.16 kB / 0.7221 GB, free: 13.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.174e-06/0.5672, allocations: 0 / 0.7221 GB, free: 13.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002278/0.5695, allocations: 0.9611 MB / 0.723 GB, free: 12.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.5696, allocations: 61.19 kB / 0.7231 GB, free: 12.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.5717, allocations: 1.783 MB / 0.7248 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-05/0.5717, allocations: 44.92 kB / 0.7248 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007299/0.5725, allocations: 0.9296 MB / 0.7257 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.5727, allocations: 209.3 kB / 0.7259 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.573, allocations: 240.1 kB / 0.7262 GB, free: 10.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5731, allocations: 347.2 kB / 0.7265 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.5738, allocations: 331.8 kB / 0.7268 GB, free: 9.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.5747, allocations: 0.6838 MB / 0.7275 GB, free: 9.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.5763, allocations: 1.019 MB / 0.7285 GB, free: 8.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5764, allocations: 0 / 0.7285 GB, free: 8.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002389/0.5787, allocations: 1.218 MB / 0.7297 GB, free: 6.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5788, allocations: 12 kB / 0.7297 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.5788, allocations: 8 kB / 0.7297 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.5788, allocations: 16 kB / 0.7297 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5799, allocations: 283.8 kB / 0.73 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.5799, allocations: 27.92 kB / 0.73 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5814, allocations: 170.4 kB / 0.7302 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.5816, allocations: 48 kB / 0.7302 GB, free: 6.359 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.0007295/0.5823, allocations: 445.3 kB / 0.7306 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.5827, allocations: 189.7 kB / 0.7308 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.5845, allocations: 0.8731 MB / 0.7317 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.5846, allocations: 8 kB / 0.7317 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5846, allocations: 7.984 kB / 0.7317 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.586, allocations: 0.7956 MB / 0.7325 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.5901, allocations: 2.443 MB / 0.7348 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5901, allocations: 4.25 kB / 0.7349 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008056/0.5909, allocations: 179.7 kB / 0.735 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.5909, allocations: 4 kB / 0.735 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.591, allocations: 23.98 kB / 0.7351 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.591, allocations: 4 kB / 0.7351 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.591, allocations: 8 kB / 0.7351 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.5936, allocations: 1.339 MB / 0.7364 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/0.5944, allocations: 366.5 kB / 0.7367 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.5946, allocations: 16 kB / 0.7367 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.5956, allocations: 57.17 kB / 0.7368 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5957, allocations: 52.44 kB / 0.7368 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.5958, allocations: 43.91 kB / 0.7369 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001692/0.5975, allocations: 1.235 MB / 0.7381 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5975, allocations: 0 / 0.7381 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001794/0.5993, allocations: 0.6551 MB / 0.7387 GB, free: 13.41 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.00371/0.603, allocations: 2.384 MB / 0.7411 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.605, allocations: 0.8977 MB / 0.7419 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.605, allocations: 0 / 0.7419 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.6057, allocations: 356.2 kB / 0.7423 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/0.6109, allocations: 1.224 MB / 0.7435 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.6301, allocations: 14.2 MB / 0.7573 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.6312, allocations: 1.409 MB / 0.7587 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001592/0.6328, allocations: 376.5 kB / 0.7591 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/0.6338, allocations: 0.7726 MB / 0.7598 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.6338, allocations: 0 / 0.7598 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09732/0.7311, allocations: 57.28 MB / 0.8158 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.107/9.838, allocations: 14.02 kB / 0.8158 GB, free: 13.94 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)