Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005251/0.005251, allocations: 172 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.7469/0.7469, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.536/1.536, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.0009052/0.0009051, allocations: 93.41 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4526, allocations: 82.32 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.508/4.961, allocations: 1.895 GB / 2.544 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/4.961, allocations: 95.95 kB / 2.544 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.452/10.41, allocations: 1.356 GB / 3.901 GB, free: 35.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.887e-06/10.41, allocations: 0 / 3.901 GB, free: 35.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001636/10.41, allocations: 51.98 kB / 3.901 GB, free: 35.32 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.007719/10.42, allocations: 2.484 MB / 3.903 GB, free: 32.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/10.42, allocations: 8.031 kB / 3.903 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/10.43, allocations: 0.5009 MB / 3.904 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/10.43, allocations: 1.434 MB / 3.905 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/10.43, allocations: 178.5 kB / 3.905 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/10.43, allocations: 155.9 kB / 3.905 GB, free: 30.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/10.43, allocations: 1.685 MB / 3.907 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/10.43, allocations: 7.984 kB / 3.907 GB, free: 28.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/10.43, allocations: 63.98 kB / 3.907 GB, free: 28.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/10.43, allocations: 58.7 kB / 3.907 GB, free: 28.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/10.44, allocations: 1.342 MB / 3.908 GB, free: 27.2 MB / 0.7136 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.009879/10.45, allocations: 8.226 MB / 3.916 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/10.45, allocations: 0.8933 MB / 3.917 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005451/10.45, allocations: 312.6 kB / 3.918 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/10.45, allocations: 51.55 kB / 3.918 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 4.759e-06/10.45, allocations: 4 kB / 3.918 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.007615/10.46, allocations: 3.114 MB / 3.921 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/10.46, allocations: 72.36 kB / 3.921 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/10.46, allocations: 1.083 MB / 3.922 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/10.46, allocations: 49.7 kB / 3.922 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/10.46, allocations: 0.8093 MB / 3.923 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/10.46, allocations: 362.7 kB / 3.923 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/10.46, allocations: 24 kB / 3.923 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/10.46, allocations: 357.9 kB / 3.923 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/10.46, allocations: 434.4 kB / 3.924 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/10.46, allocations: 0.8213 MB / 3.925 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/10.46, allocations: 0.5641 MB / 3.925 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/10.46, allocations: 0 / 3.925 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002182/10.46, allocations: 1.398 MB / 3.927 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008543/10.46, allocations: 3.661 MB / 3.93 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/10.46, allocations: 12 kB / 3.93 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/10.46, allocations: 19.95 kB / 3.93 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/10.46, allocations: 283.5 kB / 3.93 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/10.46, allocations: 19.94 kB / 3.93 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/10.47, allocations: 171.5 kB / 3.931 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/10.47, allocations: 55.98 kB / 3.931 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/10.47, allocations: 11.88 kB / 3.931 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001867/10.47, allocations: 1.218 MB / 3.932 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/10.47, allocations: 12.25 kB / 3.932 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/10.47, allocations: 16 kB / 3.932 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/10.47, allocations: 279.5 kB / 3.932 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/10.47, allocations: 19.94 kB / 3.932 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/10.47, allocations: 175.5 kB / 3.932 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/10.47, allocations: 52 kB / 3.932 GB, free: 1.281 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 () * Number of clocked 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.001224/10.47, allocations: 0.5094 MB / 3.933 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/10.47, allocations: 166 kB / 3.933 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/10.48, allocations: 1.158 MB / 3.934 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/10.48, allocations: 8 kB / 3.934 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/10.48, allocations: 0 / 3.934 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/10.48, allocations: 1.079 MB / 3.935 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/10.49, allocations: 2.789 MB / 3.938 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/10.49, allocations: 8 kB / 3.938 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/10.49, allocations: 255.9 kB / 3.938 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/10.49, allocations: 15.95 kB / 3.938 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/10.49, allocations: 27.98 kB / 3.938 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/10.49, allocations: 8 kB / 3.938 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/10.49, allocations: 0 / 3.938 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/10.49, allocations: 1.92 MB / 3.94 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/10.49, allocations: 335 kB / 3.94 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/10.5, allocations: 20 kB / 3.94 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/10.5, allocations: 151.7 kB / 3.941 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/10.5, allocations: 64.95 kB / 3.941 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/10.5, allocations: 35.98 kB / 3.941 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002361/10.5, allocations: 0.8309 MB / 3.942 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/10.5, allocations: 0 / 3.942 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006271/10.51, allocations: 1.074 MB / 3.943 GB, free: 6.586 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 () * Number of clocked 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.006437/10.51, allocations: 3.004 MB / 3.946 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004957/10.52, allocations: 1.732 MB / 3.947 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/10.52, allocations: 3.938 kB / 3.947 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/10.52, allocations: 0.5176 MB / 3.948 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006172/10.53, allocations: 0.9532 MB / 3.949 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5573/11.08, allocations: 4.161 MB / 3.953 GB, free: 79.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/11.08, allocations: 1.479 MB / 3.954 GB, free: 79.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003236/11.09, allocations: 0.5543 MB / 3.955 GB, free: 79.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/11.09, allocations: 130.2 kB / 3.955 GB, free: 79.05 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/11.09, allocations: 0 / 3.955 GB, free: 79.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.1053/11.19, allocations: 61.67 MB / 4.015 GB, free: 77.11 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)