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/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/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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 173.6 kB / 7.643 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8224/0.8224, allocations: 130.7 MB / 138.7 MB, free: 3.613 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.528/1.528, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.001002/0.001002, allocations: 101 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.182e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5595, allocations: 81.57 MB / 0.6282 GB, free: 42.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.812, allocations: 1.894 GB / 2.522 GB, free: 18.12 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/5.813, allocations: 84.95 kB / 2.522 GB, free: 18.07 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.193/12.01, allocations: 1.34 GB / 3.862 GB, free: 82.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.294e-06/12.01, allocations: 0.5625 kB / 3.862 GB, free: 82.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005615/12.01, allocations: 57.83 kB / 3.862 GB, free: 82.17 MB / 0.7136 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.0124/12.02, allocations: 2.177 MB / 3.864 GB, free: 81.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.975e-05/12.02, allocations: 9.062 kB / 3.864 GB, free: 81.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/12.02, allocations: 0.4982 MB / 3.865 GB, free: 81.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006673/12.03, allocations: 1.42 MB / 3.866 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/12.03, allocations: 123 kB / 3.866 GB, free: 81.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009483/12.03, allocations: 92.36 kB / 3.867 GB, free: 81.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004427/12.04, allocations: 1.165 MB / 3.868 GB, free: 81.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/12.04, allocations: 1.435 MB / 3.869 GB, free: 80.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/12.04, allocations: 6.469 kB / 3.869 GB, free: 80.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/12.04, allocations: 7.047 kB / 3.869 GB, free: 80.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/12.04, allocations: 53.08 kB / 3.869 GB, free: 80.79 MB / 0.7136 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.01505/12.06, allocations: 7.948 MB / 3.877 GB, free: 76.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/12.06, allocations: 0.8128 MB / 3.878 GB, free: 76.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/12.06, allocations: 473.9 kB / 3.878 GB, free: 76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/12.06, allocations: 313.7 kB / 3.878 GB, free: 75.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/12.06, allocations: 48.16 kB / 3.878 GB, free: 75.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/12.06, allocations: 0 / 3.878 GB, free: 75.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.008053/12.07, allocations: 2.576 MB / 3.881 GB, free: 75.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/12.07, allocations: 64.62 kB / 3.881 GB, free: 75.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/12.07, allocations: 0.8896 MB / 3.882 GB, free: 74.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/12.07, allocations: 29.55 kB / 3.882 GB, free: 74.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/12.07, allocations: 0.8236 MB / 3.883 GB, free: 74.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/12.07, allocations: 353.8 kB / 3.883 GB, free: 74.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/12.07, allocations: 1.406 kB / 3.883 GB, free: 74.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001371/12.07, allocations: 354 kB / 3.883 GB, free: 74.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/12.07, allocations: 370 kB / 3.884 GB, free: 74.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008841/12.07, allocations: 0.7649 MB / 3.885 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/12.07, allocations: 0.5432 MB / 3.885 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/12.07, allocations: 6.656 kB / 3.885 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002459/12.08, allocations: 1.255 MB / 3.886 GB, free: 73.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/12.08, allocations: 3.648 MB / 3.89 GB, free: 69.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/12.08, allocations: 7.906 kB / 3.89 GB, free: 69.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.904e-05/12.08, allocations: 17.47 kB / 3.89 GB, free: 69.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/12.08, allocations: 284.9 kB / 3.89 GB, free: 69.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/12.08, allocations: 23.88 kB / 3.89 GB, free: 69.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/12.08, allocations: 146.5 kB / 3.89 GB, free: 69.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/12.08, allocations: 56.19 kB / 3.89 GB, free: 69.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/12.08, allocations: 3.094 kB / 3.89 GB, free: 69.76 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/12.08, allocations: 1.064 MB / 3.891 GB, free: 69.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/12.08, allocations: 10.09 kB / 3.891 GB, free: 69.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/12.08, allocations: 13.78 kB / 3.891 GB, free: 69.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/12.09, allocations: 280.4 kB / 3.892 GB, free: 69.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/12.09, allocations: 16.56 kB / 3.892 GB, free: 69.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/12.09, allocations: 148.6 kB / 3.892 GB, free: 69.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/12.09, allocations: 55.98 kB / 3.892 GB, free: 69.72 MB / 0.7136 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.0003799/12.09, allocations: 143.2 kB / 3.892 GB, free: 69.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/12.09, allocations: 159.2 kB / 3.892 GB, free: 69.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/12.09, allocations: 1.049 MB / 3.893 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/12.09, allocations: 10.38 kB / 3.893 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/12.09, allocations: 0 / 3.893 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/12.09, allocations: 1.008 MB / 3.894 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/12.1, allocations: 2.506 MB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/12.1, allocations: 3.594 kB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/12.1, allocations: 257.5 kB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.814e-05/12.1, allocations: 10.41 kB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/12.1, allocations: 13.41 kB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.606e-05/12.1, allocations: 14.45 kB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/12.1, allocations: 1.781 kB / 3.897 GB, free: 68.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/12.1, allocations: 1.78 MB / 3.899 GB, free: 68.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/12.1, allocations: 324.3 kB / 3.899 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005536/12.1, allocations: 6.375 kB / 3.899 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/12.11, allocations: 135 kB / 3.899 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/12.11, allocations: 58.72 kB / 3.899 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/12.11, allocations: 41.84 kB / 3.899 GB, free: 68.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001958/12.11, allocations: 0.6647 MB / 3.9 GB, free: 68.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/12.11, allocations: 0 / 3.9 GB, free: 68.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006648/12.12, allocations: 0.9155 MB / 3.901 GB, free: 68.03 MB / 0.7136 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.007344/12.12, allocations: 3.334 MB / 3.904 GB, free: 66.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00359/12.13, allocations: 1.569 MB / 3.906 GB, free: 66.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/12.13, allocations: 0 / 3.906 GB, free: 66.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/12.13, allocations: 466.8 kB / 3.906 GB, free: 66.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005916/12.13, allocations: 0.8563 MB / 3.907 GB, free: 66.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/12.14, allocations: 2.735 MB / 3.91 GB, free: 66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/12.14, allocations: 1.483 MB / 3.911 GB, free: 65.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003781/12.15, allocations: 0.6308 MB / 3.912 GB, free: 65.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/12.15, allocations: 104.7 kB / 3.912 GB, free: 65.24 MB / 0.7136 GB Notification: Performance of SimCode: time 2.114e-06/12.15, allocations: 0 / 3.912 GB, free: 65.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.09102/12.24, allocations: 44.35 MB / 3.955 GB, free: 62.89 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)