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.0008117/0.0008117, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008917/0.0008916, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 9.031 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4348, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0681/0.5029, allocations: 71.14 MB / 0.6526 GB, free: 9.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02392/0.5269, allocations: 17.68 MB / 0.6699 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004786/0.5317, allocations: 99.31 kB / 0.67 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003645/0.5354, allocations: 0.8811 MB / 0.6709 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009043/0.5444, allocations: 2.835 MB / 0.6736 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.5492, allocations: 1.484 MB / 0.6751 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009585/0.5588, allocations: 7.589 MB / 0.6825 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.5616, allocations: 1.455 MB / 0.6839 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.5661, allocations: 1.863 MB / 0.6857 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.5692, allocations: 1.594 MB / 0.6873 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.5696, allocations: 72 kB / 0.6873 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.5731, allocations: 0.8962 MB / 0.6882 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.5737, allocations: 394.2 kB / 0.6886 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.5747, allocations: 496.5 kB / 0.6891 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.5783, allocations: 2.669 MB / 0.6917 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5783, allocations: 0 / 0.6917 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.098e-06/0.5783, allocations: 4 kB / 0.6917 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.889e-05/0.5784, allocations: 0 / 0.6917 GB, free: 1.172 MB / 0.5137 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.00416/0.5825, allocations: 2.31 MB / 0.6939 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5826, allocations: 8.031 kB / 0.6939 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/0.5829, allocations: 202.6 kB / 0.6941 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006115/0.5835, allocations: 269 kB / 0.6944 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.5866, allocations: 1.896 MB / 0.6962 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-05/0.5867, allocations: 118.7 kB / 0.6964 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5869, allocations: 140 kB / 0.6965 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.5895, allocations: 1.532 MB / 0.698 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.5896, allocations: 4 kB / 0.698 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.5897, allocations: 56 kB / 0.698 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.5897, allocations: 43.92 kB / 0.6981 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.5918, allocations: 1.154 MB / 0.6992 GB, free: 9.246 MB / 0.5294 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.008702/0.6005, allocations: 7.595 MB / 0.7066 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.6015, allocations: 0.4888 MB / 0.7071 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.6022, allocations: 355.7 kB / 0.7074 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009137/0.6031, allocations: 1.148 MB / 0.7086 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.6032, allocations: 43.12 kB / 0.7086 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.655e-06/0.6032, allocations: 0 / 0.7086 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002219/0.6054, allocations: 1.02 MB / 0.7096 GB, free: 13.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6055, allocations: 63.91 kB / 0.7097 GB, free: 13.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.608, allocations: 1.732 MB / 0.7114 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.6081, allocations: 45.7 kB / 0.7114 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.6089, allocations: 0.9354 MB / 0.7123 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.6091, allocations: 213 kB / 0.7125 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.6092, allocations: 24 kB / 0.7125 GB, free: 10.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6093, allocations: 349.9 kB / 0.7129 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.61, allocations: 350.4 kB / 0.7132 GB, free: 9.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008921/0.6109, allocations: 0.7051 MB / 0.7139 GB, free: 9.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008071/0.6117, allocations: 466.7 kB / 0.7143 GB, free: 8.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.6117, allocations: 4 kB / 0.7143 GB, free: 8.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002277/0.614, allocations: 1.253 MB / 0.7156 GB, free: 7.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.614, allocations: 8 kB / 0.7156 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.6141, allocations: 12 kB / 0.7156 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.6141, allocations: 16 kB / 0.7156 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.6151, allocations: 316.1 kB / 0.7159 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.6151, allocations: 23.92 kB / 0.7159 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.6166, allocations: 242.5 kB / 0.7162 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/0.6168, allocations: 56 kB / 0.7162 GB, free: 6.746 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008436/0.6176, allocations: 445.3 kB / 0.7166 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/0.618, allocations: 193.7 kB / 0.7168 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.6198, allocations: 0.8997 MB / 0.7177 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.6198, allocations: 11.98 kB / 0.7177 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6199, allocations: 4 kB / 0.7177 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/0.6211, allocations: 0.8347 MB / 0.7185 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.6252, allocations: 2.475 MB / 0.7209 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6253, allocations: 0 / 0.7209 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.626, allocations: 208 kB / 0.7211 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.626, allocations: 7.953 kB / 0.7212 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.6261, allocations: 23.98 kB / 0.7212 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.6261, allocations: 7.938 kB / 0.7212 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6261, allocations: 4 kB / 0.7212 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.6283, allocations: 1.394 MB / 0.7226 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/0.6291, allocations: 406.3 kB / 0.7229 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.6294, allocations: 19.95 kB / 0.723 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.6305, allocations: 131.3 kB / 0.7231 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6307, allocations: 48.48 kB / 0.7231 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.6307, allocations: 36.06 kB / 0.7232 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001774/0.6325, allocations: 1.204 MB / 0.7243 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6325, allocations: 0 / 0.7243 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001774/0.6343, allocations: 0.6279 MB / 0.725 GB, free: 13.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003536/0.6379, allocations: 2.407 MB / 0.7273 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.6395, allocations: 0.8438 MB / 0.7281 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6395, allocations: 4.125 kB / 0.7281 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.6402, allocations: 375.4 kB / 0.7285 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/0.6459, allocations: 1.199 MB / 0.7297 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/0.6708, allocations: 11.2 MB / 0.7406 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6719, allocations: 1.409 MB / 0.742 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001862/0.6738, allocations: 384.8 kB / 0.7423 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.6748, allocations: 0.7648 MB / 0.7431 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.6749, allocations: 0 / 0.7431 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08798/0.7628, allocations: 56.49 MB / 0.7982 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.763, allocations: 231.6 kB / 0.7985 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/3.82, allocations: 4 kB / 0.7985 GB, free: 1.988 MB / 0.6231 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/linux/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) Environment - environmentSimulation: