Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 107.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8053/0.8053, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.03 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 80.23 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5669/0.7159, allocations: 190.3 MB / 0.8462 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009139/0.725, allocations: 5.665 MB / 0.8517 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.7266, allocations: 37.31 kB / 0.8518 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.7283, allocations: 0.5684 MB / 0.8523 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.7325, allocations: 1.597 MB / 0.8539 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.7356, allocations: 1.219 MB / 0.8551 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.7393, allocations: 2.504 MB / 0.8575 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.7407, allocations: 0.9967 MB / 0.8585 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.743, allocations: 1.04 MB / 0.8595 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.7449, allocations: 0.8209 MB / 0.8603 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.7451, allocations: 100.8 kB / 0.8604 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.7483, allocations: 1.527 MB / 0.8619 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005242/0.7488, allocations: 494.8 kB / 0.8624 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007806/0.7496, allocations: 0.6183 MB / 0.863 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.753, allocations: 2.111 MB / 0.865 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.753, allocations: 0 / 0.865 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.084e-06/0.753, allocations: 0 / 0.865 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.753, allocations: 0 / 0.865 GB, free: 4.301 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002258/0.7553, allocations: 1.48 MB / 0.8665 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7553, allocations: 12.03 kB / 0.8665 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.7573, allocations: 326.3 kB / 0.8668 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.7586, allocations: 0.8039 MB / 0.8676 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.7587, allocations: 69.98 kB / 0.8677 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.7588, allocations: 103.8 kB / 0.8678 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.7605, allocations: 1.063 MB / 0.8688 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.7606, allocations: 4 kB / 0.8688 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.7607, allocations: 36 kB / 0.8688 GB, free: 280 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.7607, allocations: 41.92 kB / 0.8689 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.7622, allocations: 0.8275 MB / 0.8697 GB, free: 15.39 MB / 0.6387 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.0052/0.7674, allocations: 4.242 MB / 0.8738 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.768, allocations: 370.8 kB / 0.8742 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.7683, allocations: 216.8 kB / 0.8744 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.7684, allocations: 105.1 kB / 0.8745 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.7685, allocations: 38.56 kB / 0.8745 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.725e-06/0.7685, allocations: 0 / 0.8745 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002363/0.7709, allocations: 1.343 MB / 0.8758 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.7709, allocations: 55.41 kB / 0.8759 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.7722, allocations: 1 MB / 0.8769 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.7722, allocations: 37.7 kB / 0.8769 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.7726, allocations: 495.2 kB / 0.8774 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.7727, allocations: 146 kB / 0.8775 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.7729, allocations: 122.2 kB / 0.8776 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.773, allocations: 334 kB / 0.8779 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.7734, allocations: 229.2 kB / 0.8782 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.774, allocations: 437.5 kB / 0.8786 GB, free: 5.777 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.7764, allocations: 1.223 MB / 0.8798 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7764, allocations: 4 kB / 0.8798 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001332/0.7777, allocations: 0.7617 MB / 0.8805 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.7777, allocations: 15.88 kB / 0.8805 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7778, allocations: 8.109 kB / 0.8805 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.7778, allocations: 15.98 kB / 0.8806 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.7784, allocations: 143.7 kB / 0.8807 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.7784, allocations: 8.547 kB / 0.8807 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.7793, allocations: 62.91 kB / 0.8808 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.7794, allocations: 24 kB / 0.8808 GB, free: 3.418 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.7798, allocations: 325.5 kB / 0.8811 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.78, allocations: 98.81 kB / 0.8812 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.7802, allocations: 101 kB / 0.8813 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7802, allocations: 0 / 0.8813 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7802, allocations: 8 kB / 0.8813 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006366/0.7808, allocations: 0.6798 MB / 0.882 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.7831, allocations: 1.569 MB / 0.8835 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.7831, allocations: 8.094 kB / 0.8835 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.7835, allocations: 87.89 kB / 0.8836 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.7836, allocations: 8 kB / 0.8836 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.7836, allocations: 15.94 kB / 0.8836 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/0.7836, allocations: 11.92 kB / 0.8836 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7836, allocations: 5.562 kB / 0.8836 GB, free: 316 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.7847, allocations: 0.8487 MB / 0.8844 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.7851, allocations: 235.9 kB / 0.8847 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.7852, allocations: 12 kB / 0.8847 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007011/0.7859, allocations: 42.78 kB / 0.8847 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.786, allocations: 35.84 kB / 0.8848 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.7861, allocations: 23.98 kB / 0.8848 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009683/0.787, allocations: 0.7116 MB / 0.8855 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.31e-07/0.787, allocations: 0 / 0.8855 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00085/0.7879, allocations: 263.9 kB / 0.8857 GB, free: 14.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/0.7884, allocations: 202.6 kB / 0.8859 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000919/0.7893, allocations: 0.4997 MB / 0.8864 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7893, allocations: 4 kB / 0.8864 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.7896, allocations: 185.4 kB / 0.8866 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7922, allocations: 0.6289 MB / 0.8872 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.795, allocations: 1.893 MB / 0.8891 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.7956, allocations: 1.099 MB / 0.8901 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.7958, allocations: 75.44 kB / 0.8902 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.7958, allocations: 0 / 0.8902 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of Templates: time 0.02453/0.8204, allocations: 16.53 MB / 0.9063 GB, free: 9.012 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)