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.00584/0.00584, allocations: 101.4 kB / 15.73 MB, free: 6.477 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.00122/0.001221, allocations: 195.6 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7968/0.7968, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 68.81 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1681, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07054/0.2387, allocations: 77.14 MB / 0.7345 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.2641, allocations: 18.84 MB / 0.7529 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/0.2679, allocations: 111.4 kB / 0.753 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.2712, allocations: 1.289 MB / 0.7543 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009445/0.2807, allocations: 3.801 MB / 0.758 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.2859, allocations: 2.096 MB / 0.7601 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008596/0.2945, allocations: 6.681 MB / 0.7666 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/0.2975, allocations: 2.093 MB / 0.7686 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.3023, allocations: 2.384 MB / 0.771 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.3049, allocations: 1.765 MB / 0.7727 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.3052, allocations: 200 kB / 0.7729 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.3089, allocations: 1.618 MB / 0.7745 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005176/0.3094, allocations: 0.5294 MB / 0.775 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.3109, allocations: 1.256 MB / 0.7762 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.3161, allocations: 3.748 MB / 0.7799 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3161, allocations: 0 / 0.7799 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3161, allocations: 3.938 kB / 0.7799 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.534e-05/0.3162, allocations: 4 kB / 0.7799 GB, free: 2.02 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.003949/0.3201, allocations: 2.723 MB / 0.7825 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3202, allocations: 8.031 kB / 0.7825 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.3204, allocations: 206.8 kB / 0.7827 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006333/0.3211, allocations: 265.2 kB / 0.783 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.324, allocations: 2.015 MB / 0.785 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.3241, allocations: 106.7 kB / 0.7851 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.3242, allocations: 148 kB / 0.7852 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.3265, allocations: 1.512 MB / 0.7867 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.3266, allocations: 4 kB / 0.7867 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.3267, allocations: 56 kB / 0.7867 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.3268, allocations: 51.86 kB / 0.7868 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.3287, allocations: 1.122 MB / 0.7879 GB, free: 9.598 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.007241/0.336, allocations: 7.599 MB / 0.7953 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.3369, allocations: 482 kB / 0.7958 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.3374, allocations: 347.9 kB / 0.7961 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/0.3382, allocations: 1.145 MB / 0.7972 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3383, allocations: 39.12 kB / 0.7972 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/0.3383, allocations: 0 / 0.7972 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002034/0.3403, allocations: 0.9651 MB / 0.7982 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3403, allocations: 55.97 kB / 0.7982 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.3424, allocations: 1.794 MB / 0.8 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.3425, allocations: 41.7 kB / 0.8 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000667/0.3432, allocations: 0.9317 MB / 0.8009 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3434, allocations: 220.9 kB / 0.8011 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.3436, allocations: 230.6 kB / 0.8014 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3438, allocations: 341.9 kB / 0.8017 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/0.3444, allocations: 334.4 kB / 0.802 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008813/0.3453, allocations: 0.6782 MB / 0.8027 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.3468, allocations: 1.02 MB / 0.8037 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3468, allocations: 4 kB / 0.8037 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00229/0.3491, allocations: 1.213 MB / 0.8049 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.3492, allocations: 8.875 kB / 0.8049 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3492, allocations: 12 kB / 0.8049 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.3492, allocations: 16 kB / 0.8049 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.3502, allocations: 291.6 kB / 0.8052 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.3502, allocations: 23.92 kB / 0.8052 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3513, allocations: 166.4 kB / 0.8054 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.3514, allocations: 55.94 kB / 0.8054 GB, free: 6.406 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.0007571/0.3522, allocations: 437.4 kB / 0.8058 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.3525, allocations: 189.7 kB / 0.806 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.3542, allocations: 0.8678 MB / 0.8069 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3542, allocations: 4 kB / 0.8069 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3542, allocations: 3.984 kB / 0.8069 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.3555, allocations: 0.8034 MB / 0.8076 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.3592, allocations: 2.443 MB / 0.81 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.3592, allocations: 4 kB / 0.81 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.3599, allocations: 175.8 kB / 0.8102 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.3599, allocations: 4 kB / 0.8102 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.36, allocations: 32.16 kB / 0.8102 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.36, allocations: 7.938 kB / 0.8102 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.36, allocations: 4 kB / 0.8102 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3725/0.7325, allocations: 1.332 MB / 0.8116 GB, free: 146 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.7336, allocations: 370.5 kB / 0.8119 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.7339, allocations: 13.36 kB / 0.8119 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7349, allocations: 62.77 kB / 0.812 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.7351, allocations: 53.86 kB / 0.812 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/0.7352, allocations: 36.11 kB / 0.8121 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001968/0.7372, allocations: 1.241 MB / 0.8133 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7372, allocations: 0 / 0.8133 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002138/0.7393, allocations: 0.6482 MB / 0.8139 GB, free: 145.7 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.004343/0.7437, allocations: 2.384 MB / 0.8162 GB, free: 144.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.7459, allocations: 0.8236 MB / 0.817 GB, free: 144.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.746, allocations: 1.469 kB / 0.817 GB, free: 144.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.7467, allocations: 357.4 kB / 0.8174 GB, free: 144.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/0.7521, allocations: 1.195 MB / 0.8185 GB, free: 144.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/0.7708, allocations: 12.56 MB / 0.8308 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.7716, allocations: 1.408 MB / 0.8322 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001637/0.7732, allocations: 379.2 kB / 0.8326 GB, free: 137.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008454/0.7741, allocations: 0.7668 MB / 0.8333 GB, free: 137 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.7741, allocations: 3.828 kB / 0.8333 GB, free: 137 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.8903, allocations: 57.56 MB / 0.8895 GB, free: 83.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.46, allocations: 8.562 kB / 0.8895 GB, free: 83.98 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)