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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009068/0.009068, allocations: 169.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7996/0.7996, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 96.09 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003977, allocations: 12 kB / 0.5692 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.509, allocations: 82.31 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9394/1.448, allocations: 388.1 MB / 1.028 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.449, allocations: 105.8 kB / 1.029 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.993/4.442, allocations: 0.8122 GB / 1.841 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/4.442, allocations: 0 / 1.841 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002132/4.442, allocations: 64.08 kB / 1.841 GB, free: 0.6094 MB / 0.698 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.5387/4.981, allocations: 2.572 MB / 1.843 GB, free: 69.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/4.981, allocations: 8.781 kB / 1.843 GB, free: 69.76 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008303/4.982, allocations: 206.6 kB / 1.844 GB, free: 69.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/4.983, allocations: 263.5 kB / 1.844 GB, free: 69.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05229/5.035, allocations: 24.85 MB / 1.868 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-05/5.035, allocations: 113.2 kB / 1.868 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/5.036, allocations: 140 kB / 1.868 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/5.038, allocations: 1.484 MB / 1.87 GB, free: 68.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/5.039, allocations: 10.91 kB / 1.87 GB, free: 68.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/5.039, allocations: 57.69 kB / 1.87 GB, free: 68.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/5.039, allocations: 44.31 kB / 1.87 GB, free: 68.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/5.041, allocations: 1.11 MB / 1.871 GB, free: 68.28 MB / 0.698 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.008703/5.05, allocations: 7.562 MB / 1.878 GB, free: 64.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009857/5.051, allocations: 0.5088 MB / 1.879 GB, free: 64.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/5.051, allocations: 1.162 MB / 1.88 GB, free: 62.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/5.051, allocations: 42.61 kB / 1.88 GB, free: 62.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.386e-06/5.051, allocations: 2.312 kB / 1.88 GB, free: 62.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002205/5.054, allocations: 1.043 MB / 1.881 GB, free: 62.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/5.054, allocations: 57.03 kB / 1.881 GB, free: 62.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/5.056, allocations: 1.54 MB / 1.883 GB, free: 62.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/5.056, allocations: 42.61 kB / 1.883 GB, free: 62.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/5.056, allocations: 0.9462 MB / 1.884 GB, free: 62.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/5.057, allocations: 216.7 kB / 1.884 GB, free: 61.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/5.057, allocations: 19.09 kB / 1.884 GB, free: 61.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/5.057, allocations: 343.1 kB / 1.884 GB, free: 61.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/5.057, allocations: 305 kB / 1.884 GB, free: 61.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/5.058, allocations: 0.6792 MB / 1.885 GB, free: 61.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/5.059, allocations: 423.2 kB / 1.885 GB, free: 61.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/5.059, allocations: 0 / 1.885 GB, free: 61.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002059/5.061, allocations: 1.129 MB / 1.887 GB, free: 61.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/5.061, allocations: 9.5 kB / 1.887 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/5.061, allocations: 17.23 kB / 1.887 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/5.061, allocations: 14.97 kB / 1.887 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/5.062, allocations: 228.5 kB / 1.887 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/5.062, allocations: 25.27 kB / 1.887 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/5.064, allocations: 236.5 kB / 1.887 GB, free: 61.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/5.064, allocations: 51.84 kB / 1.887 GB, free: 61.05 MB / 0.698 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 (111): * Single equations (assignments): 111 * 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.001028/5.065, allocations: 430.3 kB / 1.888 GB, free: 60.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/5.065, allocations: 196.2 kB / 1.888 GB, free: 60.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/5.067, allocations: 0.9292 MB / 1.889 GB, free: 60.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/5.067, allocations: 11.11 kB / 1.889 GB, free: 60.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/5.067, allocations: 7.688 kB / 1.889 GB, free: 60.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/5.068, allocations: 0.8443 MB / 1.889 GB, free: 60.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/5.073, allocations: 2.515 MB / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/5.073, allocations: 0 / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/5.073, allocations: 181.9 kB / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/5.073, allocations: 9.875 kB / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/5.074, allocations: 18.77 kB / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/5.074, allocations: 10.8 kB / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.074, allocations: 3.938 kB / 1.892 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/5.076, allocations: 1.593 MB / 1.894 GB, free: 59.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/5.077, allocations: 406.7 kB / 1.894 GB, free: 59.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/5.077, allocations: 14.62 kB / 1.894 GB, free: 59.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/5.079, allocations: 127.9 kB / 1.894 GB, free: 59.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/5.079, allocations: 57.88 kB / 1.894 GB, free: 59.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/5.079, allocations: 36.16 kB / 1.894 GB, free: 59.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001772/5.081, allocations: 1.227 MB / 1.896 GB, free: 59.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/5.081, allocations: 0 / 1.896 GB, free: 59.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002551/5.083, allocations: 0.6921 MB / 1.896 GB, free: 59.12 MB / 0.698 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.004371/5.087, allocations: 3.492 MB / 1.9 GB, free: 57.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00159/5.089, allocations: 0.7927 MB / 1.9 GB, free: 57.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/5.089, allocations: 0 / 1.9 GB, free: 57.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006397/5.09, allocations: 386.2 kB / 1.901 GB, free: 57.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006577/5.096, allocations: 1.241 MB / 1.902 GB, free: 57.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/5.125, allocations: 17.81 MB / 1.919 GB, free: 46.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/5.126, allocations: 1.45 MB / 1.921 GB, free: 45.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00246/5.129, allocations: 381.5 kB / 1.921 GB, free: 45.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/5.13, allocations: 0.7608 MB / 1.922 GB, free: 45.43 MB / 0.698 GB Notification: Performance of SimCode: time 9.51e-07/5.13, allocations: 0 / 1.922 GB, free: 45.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/5.242, allocations: 63.14 MB / 1.984 GB, free: 42.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/5.242, allocations: 212.5 kB / 1.984 GB, free: 42.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.003/9.246, allocations: 0 / 1.984 GB, free: 42.06 MB / 0.698 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)