Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.001418/0.001418, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8048/0.8048, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.724/1.724, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 95.28 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.773e-05/4.777e-05, allocations: 3.625 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.246/5.46, allocations: 1.895 GB / 2.535 GB, free: 34.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/5.46, allocations: 83.95 kB / 2.535 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.105/10.56, allocations: 1.355 GB / 3.89 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/10.56, allocations: 0 / 3.89 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001782/10.57, allocations: 55.98 kB / 3.89 GB, free: 14.83 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006482/10.57, allocations: 2.165 MB / 3.893 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/10.57, allocations: 8.031 kB / 3.893 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004972/10.57, allocations: 219.1 kB / 3.893 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/10.58, allocations: 0.5005 MB / 3.893 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/10.58, allocations: 1.426 MB / 3.895 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/10.58, allocations: 182.5 kB / 3.895 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/10.58, allocations: 155.9 kB / 3.895 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/10.58, allocations: 1.633 MB / 3.897 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/10.58, allocations: 4 kB / 3.897 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/10.58, allocations: 56.34 kB / 3.897 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-05/10.58, allocations: 66.59 kB / 3.897 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/10.59, allocations: 1.248 MB / 3.898 GB, free: 6.973 MB / 0.7292 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.6225/11.21, allocations: 8.215 MB / 3.906 GB, free: 76.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/11.21, allocations: 0.8346 MB / 3.907 GB, free: 76.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/11.21, allocations: 0.4896 MB / 3.907 GB, free: 76.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/11.21, allocations: 325.4 kB / 3.908 GB, free: 76.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/11.21, allocations: 47.83 kB / 3.908 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/11.21, allocations: 0 / 3.908 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.007284/11.22, allocations: 2.605 MB / 3.91 GB, free: 75.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/11.22, allocations: 63.53 kB / 3.91 GB, free: 75.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/11.22, allocations: 1.069 MB / 3.911 GB, free: 75.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/11.22, allocations: 51.42 kB / 3.911 GB, free: 75.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006589/11.22, allocations: 0.8076 MB / 3.912 GB, free: 75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/11.22, allocations: 374.2 kB / 3.912 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/11.22, allocations: 25.97 kB / 3.912 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001302/11.22, allocations: 354.1 kB / 3.913 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/11.22, allocations: 393.4 kB / 3.913 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/11.22, allocations: 0.7917 MB / 3.914 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/11.23, allocations: 0.5219 MB / 3.914 GB, free: 74.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/11.23, allocations: 2.906 kB / 3.914 GB, free: 74.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003062/11.23, allocations: 1.311 MB / 3.916 GB, free: 73.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/11.23, allocations: 3.667 MB / 3.919 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/11.23, allocations: 8.344 kB / 3.919 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-05/11.23, allocations: 16.22 kB / 3.919 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/11.23, allocations: 283.1 kB / 3.92 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.554e-05/11.23, allocations: 23.08 kB / 3.92 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/11.23, allocations: 180.4 kB / 3.92 GB, free: 70.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/11.23, allocations: 54.05 kB / 3.92 GB, free: 70.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/11.23, allocations: 7 kB / 3.92 GB, free: 70.02 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002443/11.24, allocations: 1.14 MB / 3.921 GB, free: 70 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/11.24, allocations: 10.11 kB / 3.921 GB, free: 70 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/11.24, allocations: 19.62 kB / 3.921 GB, free: 70 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/11.24, allocations: 278.1 kB / 3.921 GB, free: 70 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.35e-05/11.24, allocations: 21.08 kB / 3.921 GB, free: 70 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/11.24, allocations: 176.6 kB / 3.921 GB, free: 69.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/11.24, allocations: 50.66 kB / 3.922 GB, free: 69.99 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003414/11.24, allocations: 187.3 kB / 3.922 GB, free: 69.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/11.24, allocations: 167.4 kB / 3.922 GB, free: 69.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/11.24, allocations: 1.082 MB / 3.923 GB, free: 69.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/11.24, allocations: 9.125 kB / 3.923 GB, free: 69.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/11.24, allocations: 0.5625 kB / 3.923 GB, free: 69.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/11.24, allocations: 1.005 MB / 3.924 GB, free: 69.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/11.25, allocations: 2.705 MB / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/11.25, allocations: 0 / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/11.25, allocations: 253.5 kB / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/11.25, allocations: 8.281 kB / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/11.25, allocations: 27.33 kB / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/11.25, allocations: 10.28 kB / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/11.25, allocations: 10.23 kB / 3.927 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/11.25, allocations: 1.802 MB / 3.929 GB, free: 68.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/11.25, allocations: 336.8 kB / 3.929 GB, free: 68.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/11.25, allocations: 25.77 kB / 3.929 GB, free: 68.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/11.26, allocations: 149.3 kB / 3.929 GB, free: 68.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/11.26, allocations: 69.62 kB / 3.929 GB, free: 68.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/11.26, allocations: 39.5 kB / 3.929 GB, free: 68.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001421/11.26, allocations: 0.8151 MB / 3.93 GB, free: 68.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/11.26, allocations: 0 / 3.93 GB, free: 68.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004116/11.26, allocations: 1.072 MB / 3.931 GB, free: 68.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.008388/11.27, allocations: 5.731 MB / 3.937 GB, free: 65.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00314/11.27, allocations: 1.664 MB / 3.938 GB, free: 65.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/11.27, allocations: 3.562 kB / 3.938 GB, free: 65.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/11.27, allocations: 486.6 kB / 3.939 GB, free: 65.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/11.28, allocations: 0.9576 MB / 3.94 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/11.29, allocations: 3.219 MB / 3.943 GB, free: 64.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/11.29, allocations: 1.48 MB / 3.944 GB, free: 64.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003114/11.29, allocations: 0.6932 MB / 3.945 GB, free: 64.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/11.29, allocations: 0.6643 MB / 3.946 GB, free: 64.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/11.29, allocations: 0.5625 kB / 3.946 GB, free: 64.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/11.46, allocations: 95.42 MB / 4.039 GB, free: 60.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/11.46, allocations: 180.4 kB / 4.039 GB, free: 60.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.308/17.77, allocations: 0 / 4.039 GB, free: 60.77 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)