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.007523/0.007523, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001806/0.001806, allocations: 189.7 kB / 16.67 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.962/0.962, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 0.5858 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4756, allocations: 81.01 MB / 0.6649 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08415/0.5598, allocations: 77.14 MB / 0.7402 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03119/0.5911, allocations: 18.85 MB / 0.7586 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004525/0.5957, allocations: 107.4 kB / 0.7587 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.5998, allocations: 1.25 MB / 0.7599 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.6113, allocations: 3.611 MB / 0.7635 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00604/0.6173, allocations: 2.09 MB / 0.7655 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.6288, allocations: 6.676 MB / 0.772 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.6328, allocations: 2.094 MB / 0.7741 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006858/0.6397, allocations: 2.319 MB / 0.7763 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003958/0.6437, allocations: 1.755 MB / 0.7781 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006483/0.6444, allocations: 204 kB / 0.7783 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.6495, allocations: 1.622 MB / 0.7798 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009537/0.6505, allocations: 0.541 MB / 0.7804 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.6529, allocations: 1.244 MB / 0.7816 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008017/0.6609, allocations: 3.766 MB / 0.7853 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.661, allocations: 0 / 0.7853 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.285e-06/0.661, allocations: 3.938 kB / 0.7853 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.663e-05/0.6611, allocations: 0 / 0.7853 GB, free: 5.242 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.005561/0.6667, allocations: 2.79 MB / 0.788 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6667, allocations: 12.03 kB / 0.788 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/0.667, allocations: 206.8 kB / 0.7882 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.6679, allocations: 282.5 kB / 0.7885 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.6718, allocations: 2.032 MB / 0.7904 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.6719, allocations: 110.7 kB / 0.7906 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.6721, allocations: 143.9 kB / 0.7907 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.675, allocations: 1.522 MB / 0.7922 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.6751, allocations: 0 / 0.7922 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.6753, allocations: 60 kB / 0.7922 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.6753, allocations: 43.92 kB / 0.7923 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.6777, allocations: 1.126 MB / 0.7934 GB, free: 12.72 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.01088/0.6886, allocations: 7.628 MB / 0.8008 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.6897, allocations: 472.6 kB / 0.8013 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008904/0.6907, allocations: 334.3 kB / 0.8016 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.6917, allocations: 1.156 MB / 0.8027 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.6918, allocations: 43.12 kB / 0.8028 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/0.6918, allocations: 0 / 0.8028 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002767/0.6946, allocations: 0.9701 MB / 0.8037 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.6947, allocations: 55.97 kB / 0.8038 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.6978, allocations: 1.787 MB / 0.8055 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.698, allocations: 45.7 kB / 0.8056 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009906/0.699, allocations: 0.9529 MB / 0.8065 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.6993, allocations: 226 kB / 0.8067 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.6997, allocations: 226.8 kB / 0.8069 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6999, allocations: 341.9 kB / 0.8072 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008114/0.7007, allocations: 334.3 kB / 0.8076 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.7019, allocations: 0.686 MB / 0.8082 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.7038, allocations: 1.008 MB / 0.8092 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.7039, allocations: 8 kB / 0.8092 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002907/0.7068, allocations: 1.23 MB / 0.8104 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.7068, allocations: 8 kB / 0.8104 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.7069, allocations: 15.94 kB / 0.8104 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.7069, allocations: 12 kB / 0.8105 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.708, allocations: 292.2 kB / 0.8107 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.436e-05/0.708, allocations: 23.92 kB / 0.8108 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.7095, allocations: 170.8 kB / 0.8109 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.7097, allocations: 51.94 kB / 0.811 GB, free: 9.469 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.0008937/0.7106, allocations: 442.1 kB / 0.8114 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/0.7112, allocations: 198.7 kB / 0.8116 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.7133, allocations: 0.8649 MB / 0.8124 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.7133, allocations: 12 kB / 0.8124 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7133, allocations: 3.984 kB / 0.8124 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/0.7148, allocations: 0.7956 MB / 0.8132 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.7199, allocations: 2.447 MB / 0.8156 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.72, allocations: 256 / 0.8156 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.7208, allocations: 179.8 kB / 0.8158 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.7209, allocations: 4 kB / 0.8158 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.7209, allocations: 23.98 kB / 0.8158 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.7209, allocations: 7.938 kB / 0.8158 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.7209, allocations: 4 kB / 0.8158 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.7239, allocations: 1.353 MB / 0.8171 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/0.7248, allocations: 371.5 kB / 0.8175 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.7254, allocations: 20 kB / 0.8175 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.7266, allocations: 59.88 kB / 0.8176 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.7268, allocations: 56.44 kB / 0.8176 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.7269, allocations: 31.97 kB / 0.8177 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002298/0.7292, allocations: 1.239 MB / 0.8189 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7292, allocations: 0 / 0.8189 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002269/0.7315, allocations: 0.6587 MB / 0.8195 GB, free: 496 kB / 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.00472/0.7362, allocations: 2.402 MB / 0.8219 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.7383, allocations: 0.8198 MB / 0.8227 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.7384, allocations: 4 kB / 0.8227 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/0.7392, allocations: 356 kB / 0.823 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006973/0.7462, allocations: 1.21 MB / 0.8242 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/0.7709, allocations: 12.62 MB / 0.8365 GB, free: 14.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.7723, allocations: 1.405 MB / 0.8379 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001618/0.774, allocations: 388.1 kB / 0.8382 GB, free: 12.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.7752, allocations: 0.7609 MB / 0.839 GB, free: 11.97 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.7752, allocations: 0 / 0.839 GB, free: 11.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4922/1.267, allocations: 57.55 MB / 0.8952 GB, free: 170 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.52, allocations: 15.52 kB / 0.8952 GB, free: 170 MB / 0.6856 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)