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.001008/0.001008, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001066/0.001066, allocations: 194.3 kB / 16.14 MB, free: 6.707 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6909/0.6909, allocations: 132.2 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 58.91 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.37, allocations: 80.2 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07234/0.4424, allocations: 76.67 MB / 0.6544 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02731/0.4698, allocations: 18.94 MB / 0.6728 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/0.4738, allocations: 103.4 kB / 0.6729 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.4777, allocations: 1.033 MB / 0.674 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009441/0.4872, allocations: 3.363 MB / 0.6772 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004809/0.492, allocations: 1.891 MB / 0.6791 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009507/0.5015, allocations: 8.888 MB / 0.6878 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.5045, allocations: 1.746 MB / 0.6895 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.5088, allocations: 1.933 MB / 0.6914 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.5119, allocations: 1.765 MB / 0.6931 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006196/0.5126, allocations: 100 kB / 0.6932 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/0.5168, allocations: 1.461 MB / 0.6946 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008522/0.5177, allocations: 454 kB / 0.695 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.5198, allocations: 1.143 MB / 0.6962 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.5248, allocations: 3.642 MB / 0.6997 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5248, allocations: 4 kB / 0.6997 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5248, allocations: 4 kB / 0.6997 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.915e-05/0.5249, allocations: 0 / 0.6997 GB, free: 6.242 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.004157/0.529, allocations: 2.715 MB / 0.7024 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5291, allocations: 8.031 kB / 0.7024 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.5293, allocations: 206.8 kB / 0.7026 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.53, allocations: 273.4 kB / 0.7028 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.5329, allocations: 1.972 MB / 0.7048 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.533, allocations: 110.7 kB / 0.7049 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.5332, allocations: 148 kB / 0.705 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.5356, allocations: 1.513 MB / 0.7065 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.5356, allocations: 4 kB / 0.7065 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.5357, allocations: 59.94 kB / 0.7065 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.5358, allocations: 47.92 kB / 0.7066 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.5379, allocations: 1.122 MB / 0.7077 GB, free: 13.86 MB / 0.545 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.007579/0.5454, allocations: 7.563 MB / 0.7151 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000934/0.5464, allocations: 480.6 kB / 0.7155 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.547, allocations: 334.9 kB / 0.7159 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/0.5478, allocations: 1.152 MB / 0.717 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5478, allocations: 39.12 kB / 0.717 GB, free: 3.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.5478, allocations: 0 / 0.717 GB, free: 3.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.001991/0.5498, allocations: 0.9651 MB / 0.718 GB, free: 2.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.5498, allocations: 59.97 kB / 0.718 GB, free: 2.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.5517, allocations: 1.763 MB / 0.7197 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.5518, allocations: 37.7 kB / 0.7198 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.5525, allocations: 0.9318 MB / 0.7207 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.5527, allocations: 220.9 kB / 0.7209 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.553, allocations: 226.6 kB / 0.7211 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5531, allocations: 353.9 kB / 0.7214 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.5537, allocations: 330.4 kB / 0.7218 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.5546, allocations: 0.6821 MB / 0.7224 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.5561, allocations: 1.02 MB / 0.7234 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5561, allocations: 0 / 0.7234 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002118/0.5582, allocations: 1.21 MB / 0.7246 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5583, allocations: 12 kB / 0.7246 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5583, allocations: 12.84 kB / 0.7246 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5583, allocations: 16 kB / 0.7246 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.5592, allocations: 295.5 kB / 0.7249 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.5593, allocations: 19.94 kB / 0.7249 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.5606, allocations: 246.2 kB / 0.7252 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.5607, allocations: 51.98 kB / 0.7252 GB, free: 10.66 MB / 0.5606 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.0006228/0.5613, allocations: 434.2 kB / 0.7256 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.5616, allocations: 197.6 kB / 0.7258 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.5632, allocations: 0.8634 MB / 0.7267 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.5632, allocations: 8 kB / 0.7267 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5632, allocations: 0 / 0.7267 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/0.5644, allocations: 0.7955 MB / 0.7275 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.5679, allocations: 2.447 MB / 0.7298 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5679, allocations: 4 kB / 0.7299 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.5686, allocations: 172 kB / 0.73 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.5686, allocations: 7.984 kB / 0.73 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.5687, allocations: 19.94 kB / 0.73 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5687, allocations: 4 kB / 0.73 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5687, allocations: 4 kB / 0.73 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.5708, allocations: 1.335 MB / 0.7314 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.5713, allocations: 362.5 kB / 0.7317 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.5716, allocations: 16 kB / 0.7317 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5726, allocations: 111.7 kB / 0.7318 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5727, allocations: 52.42 kB / 0.7319 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.5728, allocations: 35.98 kB / 0.7319 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001463/0.5742, allocations: 1.22 MB / 0.7331 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.373e-06/0.5742, allocations: 3.938 kB / 0.7331 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001462/0.5757, allocations: 0.6434 MB / 0.7337 GB, free: 1.719 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.003255/0.579, allocations: 2.359 MB / 0.736 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.5805, allocations: 0.8156 MB / 0.7368 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5805, allocations: 0 / 0.7368 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006488/0.5811, allocations: 360.4 kB / 0.7372 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/0.586, allocations: 1.21 MB / 0.7384 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/0.6115, allocations: 14.72 MB / 0.7527 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/0.6123, allocations: 1.405 MB / 0.7541 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001459/0.6138, allocations: 378.5 kB / 0.7545 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/0.6146, allocations: 0.7687 MB / 0.7552 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6146, allocations: 0 / 0.7552 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/0.7924, allocations: 55.22 MB / 0.8091 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.7927, allocations: 252.6 kB / 0.8094 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/3.879, allocations: 4 kB / 0.8094 GB, free: 3.715 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)