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.005075/0.005081, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001072/0.001072, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8452/0.8452, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 69.3 kB / 0.5851 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 80.92 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07073/0.2249, allocations: 77.14 MB / 0.7395 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4236/0.6485, allocations: 18.83 MB / 0.7579 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005441/0.654, allocations: 112.3 kB / 0.758 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.6591, allocations: 1.286 MB / 0.7593 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.6712, allocations: 3.8 MB / 0.763 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007168/0.6784, allocations: 2.098 MB / 0.765 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01377/0.6922, allocations: 6.682 MB / 0.7715 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005766/0.698, allocations: 2.101 MB / 0.7736 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00776/0.7058, allocations: 2.385 MB / 0.7759 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.7109, allocations: 1.758 MB / 0.7776 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.7121, allocations: 198.7 kB / 0.7778 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007306/0.7194, allocations: 1.622 MB / 0.7794 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.7209, allocations: 0.543 MB / 0.7799 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004115/0.7251, allocations: 1.25 MB / 0.7812 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.7351, allocations: 3.766 MB / 0.7848 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.7352, allocations: 0 / 0.7848 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7352, allocations: 0 / 0.7848 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001422/0.7353, allocations: 0 / 0.7848 GB, free: 1.25 MB / 0.5762 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.007947/0.7433, allocations: 2.794 MB / 0.7876 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.126e-05/0.7434, allocations: 9.828 kB / 0.7876 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009251/0.7443, allocations: 204.5 kB / 0.7878 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.7459, allocations: 281.2 kB / 0.788 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.7515, allocations: 2.035 MB / 0.79 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.7516, allocations: 104.5 kB / 0.7901 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/0.7522, allocations: 146.4 kB / 0.7903 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.7565, allocations: 1.524 MB / 0.7918 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/0.7566, allocations: 0.9375 kB / 0.7918 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.7568, allocations: 61.06 kB / 0.7918 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-05/0.7569, allocations: 44.09 kB / 0.7919 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.7599, allocations: 1.123 MB / 0.793 GB, free: 13.31 MB / 0.5919 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.01377/0.7737, allocations: 7.615 MB / 0.8004 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.7753, allocations: 483.3 kB / 0.8009 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/0.7762, allocations: 332.8 kB / 0.8012 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.7772, allocations: 1.149 MB / 0.8023 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.7773, allocations: 48.77 kB / 0.8023 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.566e-06/0.7773, allocations: 0 / 0.8023 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.003673/0.781, allocations: 0.9673 MB / 0.8033 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.7811, allocations: 64.12 kB / 0.8033 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.7854, allocations: 1.791 MB / 0.8051 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/0.7857, allocations: 39.08 kB / 0.8051 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.7869, allocations: 0.9485 MB / 0.8061 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/0.7875, allocations: 232.1 kB / 0.8063 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006047/0.7881, allocations: 226.7 kB / 0.8065 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.7883, allocations: 350.7 kB / 0.8068 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009293/0.7892, allocations: 329.7 kB / 0.8071 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.7904, allocations: 0.6867 MB / 0.8078 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.7922, allocations: 1.016 MB / 0.8088 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.7922, allocations: 2.906 kB / 0.8088 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002929/0.7951, allocations: 1.223 MB / 0.81 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.7952, allocations: 8.781 kB / 0.81 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.7952, allocations: 9.844 kB / 0.81 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.7952, allocations: 18.44 kB / 0.81 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7963, allocations: 284.9 kB / 0.8103 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.222e-05/0.7963, allocations: 28.77 kB / 0.8103 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.7982, allocations: 166 kB / 0.8105 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.7984, allocations: 49.91 kB / 0.8105 GB, free: 15.76 MB / 0.6075 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.001005/0.7994, allocations: 448 kB / 0.811 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006776/0.8001, allocations: 202.7 kB / 0.8112 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.8022, allocations: 0.8648 MB / 0.812 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.8022, allocations: 14.45 kB / 0.812 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8022, allocations: 4 kB / 0.812 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/0.8036, allocations: 0.7958 MB / 0.8128 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.8092, allocations: 2.447 MB / 0.8152 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8092, allocations: 2.5 kB / 0.8152 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.81, allocations: 183.2 kB / 0.8154 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.81, allocations: 5.312 kB / 0.8154 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.8101, allocations: 21.83 kB / 0.8154 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.8101, allocations: 5.688 kB / 0.8154 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8101, allocations: 2.812 kB / 0.8154 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.8129, allocations: 1.353 MB / 0.8167 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.814, allocations: 377.1 kB / 0.8171 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005532/0.8145, allocations: 13.12 kB / 0.8171 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.8159, allocations: 59.67 kB / 0.8172 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.8161, allocations: 58.83 kB / 0.8172 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.8162, allocations: 34.3 kB / 0.8172 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00217/0.8183, allocations: 1.243 MB / 0.8185 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8184, allocations: 0 / 0.8185 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002525/0.8209, allocations: 0.6593 MB / 0.8191 GB, free: 10.46 MB / 0.6075 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.004696/0.8256, allocations: 2.404 MB / 0.8215 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.8277, allocations: 0.8198 MB / 0.8223 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.8277, allocations: 4.625 kB / 0.8223 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.8285, allocations: 354.9 kB / 0.8226 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006728/0.8353, allocations: 1.191 MB / 0.8238 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/0.8618, allocations: 12.63 MB / 0.8361 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.8632, allocations: 1.413 MB / 0.8375 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002063/0.8653, allocations: 375.3 kB / 0.8378 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/0.8667, allocations: 0.7765 MB / 0.8386 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of SimCode: time 1.503e-06/0.8668, allocations: 0 / 0.8386 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.9711, allocations: 57.57 MB / 0.8948 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.98, allocations: 10.72 kB / 0.8948 GB, free: 13.06 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)