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.01294/0.01294, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.00282/0.00282, allocations: 192.9 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.555/2.555, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.32/1.32, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.83 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2931, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1526/0.4457, allocations: 77.13 MB / 0.7345 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.06579/0.5116, allocations: 18.85 MB / 0.7529 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/0.5222, allocations: 111.4 kB / 0.753 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006407/0.5287, allocations: 1.25 MB / 0.7543 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01924/0.548, allocations: 3.613 MB / 0.7578 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.5592, allocations: 2.091 MB / 0.7598 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02896/0.5882, allocations: 6.669 MB / 0.7664 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009963/0.5982, allocations: 2.101 MB / 0.7684 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.6107, allocations: 2.384 MB / 0.7707 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.6167, allocations: 1.756 MB / 0.7724 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.618, allocations: 204 kB / 0.7726 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009153/0.6271, allocations: 1.622 MB / 0.7742 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.6292, allocations: 0.5294 MB / 0.7747 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003945/0.6332, allocations: 1.252 MB / 0.776 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.6472, allocations: 3.755 MB / 0.7796 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.6473, allocations: 0 / 0.7796 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6473, allocations: 0 / 0.7796 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001126/0.6474, allocations: 0 / 0.7796 GB, free: 2.277 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.009514/0.6569, allocations: 2.711 MB / 0.7823 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.657, allocations: 12.03 kB / 0.7823 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004239/0.6575, allocations: 210.8 kB / 0.7825 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.659, allocations: 265.2 kB / 0.7827 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006725/0.6658, allocations: 2.019 MB / 0.7847 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.666, allocations: 106.7 kB / 0.7848 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.6664, allocations: 140 kB / 0.785 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/0.6711, allocations: 1.52 MB / 0.7864 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.6712, allocations: 0 / 0.7864 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.6714, allocations: 60 kB / 0.7865 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.441e-05/0.6715, allocations: 47.86 kB / 0.7865 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.6754, allocations: 1.126 MB / 0.7876 GB, free: 9.855 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.01707/0.6925, allocations: 7.595 MB / 0.7951 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.6943, allocations: 474 kB / 0.7955 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.6955, allocations: 342.2 kB / 0.7958 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.6975, allocations: 1.152 MB / 0.797 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.6976, allocations: 47.12 kB / 0.797 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 4.729e-06/0.6976, allocations: 0 / 0.797 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.004187/0.7018, allocations: 0.9612 MB / 0.7979 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.7019, allocations: 55.97 kB / 0.798 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004499/0.7064, allocations: 1.787 MB / 0.7997 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.7068, allocations: 45.7 kB / 0.7998 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.7081, allocations: 0.9278 MB / 0.8007 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.7085, allocations: 220.9 kB / 0.8009 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/0.7091, allocations: 238.6 kB / 0.8011 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7093, allocations: 341.9 kB / 0.8015 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.7105, allocations: 330.4 kB / 0.8018 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.7122, allocations: 0.686 MB / 0.8024 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.7153, allocations: 1.012 MB / 0.8034 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.7153, allocations: 4 kB / 0.8034 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004246/0.7195, allocations: 1.222 MB / 0.8046 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.7196, allocations: 10.19 kB / 0.8046 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.7196, allocations: 12 kB / 0.8046 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.428e-05/0.7197, allocations: 12 kB / 0.8047 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.7214, allocations: 287.8 kB / 0.8049 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.176e-05/0.7215, allocations: 27.92 kB / 0.805 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.724, allocations: 170.4 kB / 0.8051 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.7242, allocations: 48 kB / 0.8052 GB, free: 6.668 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.001729/0.7259, allocations: 441.4 kB / 0.8056 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008295/0.7268, allocations: 193.6 kB / 0.8058 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/0.7297, allocations: 0.86 MB / 0.8066 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.7298, allocations: 16 kB / 0.8066 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.7298, allocations: 0 / 0.8066 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/0.732, allocations: 0.7994 MB / 0.8074 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007601/0.7396, allocations: 2.447 MB / 0.8098 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.7397, allocations: 0 / 0.8098 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.7409, allocations: 180 kB / 0.81 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/0.741, allocations: 4 kB / 0.81 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/0.7411, allocations: 19.98 kB / 0.81 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.7411, allocations: 7.938 kB / 0.81 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7411, allocations: 4 kB / 0.81 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.7455, allocations: 1.34 MB / 0.8113 GB, free: 184 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6715/1.417, allocations: 358.2 kB / 0.8117 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005148/1.418, allocations: 15.38 kB / 0.8117 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.419, allocations: 65.97 kB / 0.8117 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.419, allocations: 53.98 kB / 0.8118 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.419, allocations: 35.81 kB / 0.8118 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002362/1.422, allocations: 1.24 MB / 0.813 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.422, allocations: 0 / 0.813 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002507/1.424, allocations: 0.6521 MB / 0.8137 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.00496/1.429, allocations: 2.387 MB / 0.816 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002423/1.432, allocations: 0.8149 MB / 0.8168 GB, free: 145.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.432, allocations: 1.188 kB / 0.8168 GB, free: 145.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007591/1.433, allocations: 357.3 kB / 0.8171 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005905/1.438, allocations: 1.202 MB / 0.8183 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.462, allocations: 12.56 MB / 0.8306 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009205/1.463, allocations: 1.407 MB / 0.832 GB, free: 138.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001997/1.465, allocations: 376 kB / 0.8323 GB, free: 138.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008968/1.466, allocations: 0.7656 MB / 0.8331 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/1.466, allocations: 0 / 0.8331 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/1.588, allocations: 58.45 MB / 0.8901 GB, free: 83.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/21.07, allocations: 10.59 kB / 0.8902 GB, free: 83.71 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)