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.001158/0.001158, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.001107/0.001107, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8438/0.8438, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3802, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.572/0.9523, allocations: 190.3 MB / 0.7673 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008373/0.9607, allocations: 5.684 MB / 0.7729 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.9622, allocations: 40.44 kB / 0.7729 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.9637, allocations: 0.5682 MB / 0.7735 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.9676, allocations: 1.599 MB / 0.775 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.9713, allocations: 1.202 MB / 0.7762 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005227/0.9766, allocations: 2.501 MB / 0.7787 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.979, allocations: 0.999 MB / 0.7796 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.9821, allocations: 1.025 MB / 0.7806 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.9843, allocations: 0.8147 MB / 0.7814 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.9845, allocations: 102.8 kB / 0.7815 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.988, allocations: 1.524 MB / 0.783 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.9886, allocations: 490.3 kB / 0.7835 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009086/0.9895, allocations: 0.6275 MB / 0.7841 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.9924, allocations: 2.109 MB / 0.7862 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9925, allocations: 4.125 kB / 0.7862 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9925, allocations: 0 / 0.7862 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9925, allocations: 0 / 0.7862 GB, free: 1.191 MB / 0.5762 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.002309/0.9948, allocations: 1.48 MB / 0.7876 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9949, allocations: 11.44 kB / 0.7876 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.9968, allocations: 326 kB / 0.7879 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9982, allocations: 0.8091 MB / 0.7887 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.9982, allocations: 64.75 kB / 0.7888 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.9983, allocations: 81.44 kB / 0.7889 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.9999, allocations: 1.078 MB / 0.7899 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.9999, allocations: 1.062 kB / 0.7899 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/1, allocations: 38.44 kB / 0.79 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/1, allocations: 37.23 kB / 0.79 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.001, allocations: 0.8268 MB / 0.7908 GB, free: 15.86 MB / 0.5919 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.005018/1.006, allocations: 4.264 MB / 0.795 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/1.007, allocations: 374.1 kB / 0.7953 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/1.007, allocations: 212.5 kB / 0.7955 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.007, allocations: 103.1 kB / 0.7956 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.007, allocations: 41.36 kB / 0.7957 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.796e-06/1.007, allocations: 2.656 kB / 0.7957 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002246/1.01, allocations: 1.326 MB / 0.797 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.01, allocations: 58.56 kB / 0.797 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.011, allocations: 1.002 MB / 0.798 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/1.011, allocations: 37.73 kB / 0.798 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/1.011, allocations: 497.8 kB / 0.7985 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.011, allocations: 147.3 kB / 0.7986 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/1.012, allocations: 119.3 kB / 0.7988 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.012, allocations: 332.9 kB / 0.7991 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/1.012, allocations: 236.7 kB / 0.7993 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/1.013, allocations: 432.2 kB / 0.7997 GB, free: 11.91 MB / 0.5919 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.002194/1.015, allocations: 1.213 MB / 0.8009 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.015, allocations: 3.531 kB / 0.8009 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0012/1.016, allocations: 0.7702 MB / 0.8017 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.016, allocations: 4.781 kB / 0.8017 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.016, allocations: 9.625 kB / 0.8017 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.016, allocations: 10.12 kB / 0.8017 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/1.017, allocations: 146.7 kB / 0.8018 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.017, allocations: 12.81 kB / 0.8018 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/1.018, allocations: 60.16 kB / 0.8019 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/1.018, allocations: 27.17 kB / 0.8019 GB, free: 11.52 MB / 0.5919 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.0004002/1.018, allocations: 311.8 kB / 0.8022 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/1.018, allocations: 100.8 kB / 0.8023 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/1.018, allocations: 99.02 kB / 0.8024 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.018, allocations: 16.47 kB / 0.8024 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.018, allocations: 0 / 0.8024 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006097/1.019, allocations: 0.6763 MB / 0.8031 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/1.021, allocations: 1.574 MB / 0.8046 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/1.021, allocations: 3.594 kB / 0.8046 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/1.022, allocations: 90.62 kB / 0.8047 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.022, allocations: 5.984 kB / 0.8047 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/1.022, allocations: 22.67 kB / 0.8047 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/1.022, allocations: 19.38 kB / 0.8047 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.022, allocations: 9.75 kB / 0.8048 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/1.023, allocations: 0.8537 MB / 0.8056 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/1.023, allocations: 237 kB / 0.8058 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.023, allocations: 16.58 kB / 0.8058 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/1.024, allocations: 40.55 kB / 0.8059 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/1.024, allocations: 36.05 kB / 0.8059 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/1.024, allocations: 25.12 kB / 0.8059 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009491/1.025, allocations: 0.7101 MB / 0.8066 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.025, allocations: 1 kB / 0.8066 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008008/1.026, allocations: 257.3 kB / 0.8069 GB, free: 9.836 MB / 0.5919 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.0004379/1.026, allocations: 200.6 kB / 0.8071 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008169/1.027, allocations: 0.4994 MB / 0.8075 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.027, allocations: 2.688 kB / 0.8075 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/1.027, allocations: 190.7 kB / 0.8077 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.03, allocations: 0.6327 MB / 0.8083 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/1.032, allocations: 1.819 MB / 0.8101 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.033, allocations: 1.098 MB / 0.8112 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008503/1.034, allocations: 245.9 kB / 0.8114 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/1.034, allocations: 72.5 kB / 0.8115 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of SimCode: time 1.793e-06/1.034, allocations: 0 / 0.8115 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of Templates: time 0.03237/1.066, allocations: 19.81 MB / 0.8308 GB, free: 11.51 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)