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.00161/0.00161, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 192.3 kB / 16.66 MB, free: 6.582 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.44/1.44, 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 0.819/0.819, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.91 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.36, allocations: 80.21 MB / 0.6592 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0804/0.4405, allocations: 77.15 MB / 0.7345 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02869/0.4692, allocations: 18.85 MB / 0.7529 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003718/0.473, allocations: 111.3 kB / 0.753 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.4766, allocations: 1.246 MB / 0.7543 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.4871, allocations: 3.614 MB / 0.7578 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.4928, allocations: 2.086 MB / 0.7598 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009894/0.5027, allocations: 6.679 MB / 0.7664 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.5063, allocations: 2.098 MB / 0.7684 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005985/0.5123, allocations: 2.318 MB / 0.7707 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.5166, allocations: 1.756 MB / 0.7724 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006518/0.5173, allocations: 200 kB / 0.7726 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004685/0.522, allocations: 1.622 MB / 0.7742 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008189/0.5229, allocations: 0.5372 MB / 0.7747 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.5249, allocations: 1.252 MB / 0.7759 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007219/0.5322, allocations: 3.758 MB / 0.7796 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5322, allocations: 4 kB / 0.7796 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5322, allocations: 0 / 0.7796 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.635e-05/0.5323, allocations: 0 / 0.7796 GB, free: 10.55 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.005306/0.5376, allocations: 2.792 MB / 0.7823 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.5377, allocations: 12.03 kB / 0.7823 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.538, allocations: 210.8 kB / 0.7825 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000786/0.5388, allocations: 278.5 kB / 0.7828 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.5424, allocations: 2.028 MB / 0.7848 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.5425, allocations: 110.7 kB / 0.7849 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.5428, allocations: 151.9 kB / 0.785 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.5456, allocations: 1.516 MB / 0.7865 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.5457, allocations: 4 kB / 0.7865 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.5458, allocations: 56 kB / 0.7865 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.5459, allocations: 43.92 kB / 0.7866 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.5482, allocations: 1.126 MB / 0.7877 GB, free: 2.023 MB / 0.6075 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.01035/0.5586, allocations: 7.624 MB / 0.7951 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5597, allocations: 473.9 kB / 0.7956 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.5604, allocations: 334.3 kB / 0.7959 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.5615, allocations: 1.156 MB / 0.797 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5615, allocations: 39.12 kB / 0.7971 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 3.246e-06/0.5616, allocations: 0 / 0.7971 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002625/0.5642, allocations: 0.978 MB / 0.798 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5642, allocations: 59.97 kB / 0.7981 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.5669, allocations: 1.787 MB / 0.7998 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.567, allocations: 45.7 kB / 0.7999 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009069/0.5679, allocations: 0.9412 MB / 0.8008 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.5682, allocations: 230 kB / 0.801 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.5685, allocations: 230.8 kB / 0.8012 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5687, allocations: 341.9 kB / 0.8016 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/0.5695, allocations: 330.4 kB / 0.8019 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.5706, allocations: 0.6899 MB / 0.8025 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.5724, allocations: 1.02 MB / 0.8035 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.5725, allocations: 4 kB / 0.8035 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002696/0.5752, allocations: 1.226 MB / 0.8047 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5752, allocations: 10.34 kB / 0.8048 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.5752, allocations: 12 kB / 0.8048 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.5753, allocations: 16.75 kB / 0.8048 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5764, allocations: 295.5 kB / 0.8051 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.834e-05/0.5764, allocations: 23.92 kB / 0.8051 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5778, allocations: 166.6 kB / 0.8052 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5779, allocations: 55.98 kB / 0.8053 GB, free: 14.76 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.0007575/0.5787, allocations: 433.5 kB / 0.8057 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.579, allocations: 202.7 kB / 0.8059 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.581, allocations: 0.8699 MB / 0.8068 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.5811, allocations: 7.938 kB / 0.8068 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5811, allocations: 7.938 kB / 0.8068 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001549/0.5827, allocations: 0.7917 MB / 0.8075 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.5873, allocations: 2.444 MB / 0.8099 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.5874, allocations: 8.031 kB / 0.8099 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.5882, allocations: 183.7 kB / 0.8101 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.5882, allocations: 4 kB / 0.8101 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.5883, allocations: 19.98 kB / 0.8101 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.5883, allocations: 4 kB / 0.8101 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5883, allocations: 7.938 kB / 0.8101 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.5912, allocations: 1.345 MB / 0.8115 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/0.592, allocations: 379.5 kB / 0.8118 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.5924, allocations: 12 kB / 0.8118 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5936, allocations: 67.88 kB / 0.8119 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.5937, allocations: 48.44 kB / 0.8119 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.5938, allocations: 39.97 kB / 0.812 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002286/0.5961, allocations: 1.239 MB / 0.8132 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.737e-06/0.5961, allocations: 0 / 0.8132 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002383/0.5985, allocations: 0.6587 MB / 0.8138 GB, free: 5.785 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.004749/0.6033, allocations: 2.401 MB / 0.8162 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.6053, allocations: 0.8156 MB / 0.817 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6053, allocations: 3.938 kB / 0.817 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.6061, allocations: 356.4 kB / 0.8173 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006025/0.6122, allocations: 1.2 MB / 0.8185 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/0.6365, allocations: 12.63 MB / 0.8308 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.638, allocations: 1.405 MB / 0.8322 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001559/0.6396, allocations: 378.7 kB / 0.8326 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.6409, allocations: 0.7609 MB / 0.8333 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.6409, allocations: 0 / 0.8333 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/1.045, allocations: 57.56 MB / 0.8895 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.54, allocations: 6.75 kB / 0.8895 GB, free: 170.2 MB / 0.6856 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)