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.001439/0.001439, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7924/0.7924, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009111/0.0009109, allocations: 92.02 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.271e-05, allocations: 8 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5086, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8745/1.383, allocations: 387.3 MB / 1.012 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.383, allocations: 88.27 kB / 1.012 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.032/4.415, allocations: 0.8052 GB / 1.818 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/4.415, allocations: 4 kB / 1.818 GB, free: 33.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002161/4.416, allocations: 61.7 kB / 1.818 GB, free: 33.01 MB / 0.6823 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.004618/4.42, allocations: 2.161 MB / 1.82 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/4.42, allocations: 12.03 kB / 1.82 GB, free: 30.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/4.421, allocations: 269 kB / 1.82 GB, free: 30.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04461/4.466, allocations: 24.65 MB / 1.844 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/4.466, allocations: 46.06 kB / 1.844 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/4.466, allocations: 80 kB / 1.844 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/4.468, allocations: 0.8684 MB / 1.845 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/4.47, allocations: 1.199 MB / 1.846 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/4.47, allocations: 11.92 kB / 1.846 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/4.47, allocations: 0 / 1.846 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/4.47, allocations: 43.95 kB / 1.846 GB, free: 3.531 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008751/4.479, allocations: 7.255 MB / 1.853 GB, free: 11.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/4.479, allocations: 423.6 kB / 1.854 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/4.48, allocations: 266.4 kB / 1.854 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009224/4.481, allocations: 1.156 MB / 1.855 GB, free: 9.617 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/4.481, allocations: 44.88 kB / 1.855 GB, free: 9.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.346e-06/4.481, allocations: 4 kB / 1.855 GB, free: 9.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001565/4.482, allocations: 0.6181 MB / 1.856 GB, free: 8.938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/4.482, allocations: 55.97 kB / 1.856 GB, free: 8.871 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/4.484, allocations: 1.206 MB / 1.857 GB, free: 7.668 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/4.484, allocations: 29.7 kB / 1.857 GB, free: 7.633 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007798/4.485, allocations: 0.9456 MB / 1.858 GB, free: 6.676 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/4.485, allocations: 208.9 kB / 1.858 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/4.485, allocations: 0 / 1.858 GB, free: 6.469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001426/4.486, allocations: 345.9 kB / 1.858 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/4.486, allocations: 214.6 kB / 1.859 GB, free: 5.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/4.487, allocations: 0.5746 MB / 1.859 GB, free: 5.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/4.487, allocations: 362.4 kB / 1.86 GB, free: 4.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/4.487, allocations: 4 kB / 1.86 GB, free: 4.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001778/4.489, allocations: 0.8949 MB / 1.86 GB, free: 3.914 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/4.489, allocations: 12.73 kB / 1.86 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/4.489, allocations: 12 kB / 1.86 GB, free: 3.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/4.489, allocations: 16 kB / 1.86 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/4.49, allocations: 231.8 kB / 1.861 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/4.49, allocations: 19.94 kB / 1.861 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/4.492, allocations: 166.9 kB / 1.861 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/4.492, allocations: 51.92 kB / 1.861 GB, free: 3.414 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 () * 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.0002224/4.492, allocations: 136.7 kB / 1.861 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001296/4.493, allocations: 0.6103 MB / 1.862 GB, free: 2.652 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/4.494, allocations: 173.9 kB / 1.862 GB, free: 2.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/4.495, allocations: 0.7303 MB / 1.863 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/4.495, allocations: 11.98 kB / 1.863 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/4.495, allocations: 0 / 1.863 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009781/4.496, allocations: 0.6786 MB / 1.863 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6051/5.101, allocations: 2.152 MB / 1.865 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/5.101, allocations: 4.156 kB / 1.865 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/5.102, allocations: 179.8 kB / 1.865 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/5.102, allocations: 4.766 kB / 1.866 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/5.102, allocations: 11.94 kB / 1.866 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/5.102, allocations: 7.234 kB / 1.866 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/5.102, allocations: 4.469 kB / 1.866 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/5.105, allocations: 1.293 MB / 1.867 GB, free: 74.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009999/5.106, allocations: 373.9 kB / 1.867 GB, free: 74.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/5.106, allocations: 8.625 kB / 1.867 GB, free: 74.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/5.107, allocations: 109.4 kB / 1.867 GB, free: 74.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/5.107, allocations: 53.41 kB / 1.867 GB, free: 74.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/5.108, allocations: 37.52 kB / 1.867 GB, free: 74.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001837/5.109, allocations: 0.9004 MB / 1.868 GB, free: 74.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.109, allocations: 0.8438 kB / 1.868 GB, free: 74.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003184/5.113, allocations: 0.6927 MB / 1.869 GB, free: 74.7 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 () * 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.00424/5.117, allocations: 3.22 MB / 1.872 GB, free: 73.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001243/5.118, allocations: 0.6053 MB / 1.873 GB, free: 73.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/5.118, allocations: 7.672 kB / 1.873 GB, free: 73.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/5.119, allocations: 301.6 kB / 1.873 GB, free: 73.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00633/5.125, allocations: 0.95 MB / 1.874 GB, free: 73.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007066/5.132, allocations: 2.743 MB / 1.877 GB, free: 72.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/5.133, allocations: 1.441 MB / 1.878 GB, free: 71.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001817/5.135, allocations: 348.6 kB / 1.878 GB, free: 71.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009483/5.136, allocations: 0.7447 MB / 1.879 GB, free: 71.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/5.136, allocations: 0 / 1.879 GB, free: 71.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09377/5.23, allocations: 48.48 MB / 1.926 GB, free: 69.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/5.23, allocations: 169 kB / 1.927 GB, free: 69.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/9.205, allocations: 0 / 1.927 GB, free: 69.36 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)