Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009968, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001247/0.001247, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.4 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 12 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.35, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.171/0.521, allocations: 170.3 MB / 0.7494 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.5344, allocations: 12.12 MB / 0.7613 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008246/0.5352, allocations: 27.81 kB / 0.7613 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.5362, allocations: 306 kB / 0.7616 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.5383, allocations: 0.8883 MB / 0.7624 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.5397, allocations: 0.5281 MB / 0.763 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.5421, allocations: 2.343 MB / 0.7653 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007922/0.5429, allocations: 0.606 MB / 0.7658 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.5458, allocations: 1.354 MB / 0.7672 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009074/0.5467, allocations: 0.6226 MB / 0.7678 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.5468, allocations: 32 kB / 0.7678 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5479, allocations: 459 kB / 0.7682 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.5483, allocations: 331 kB / 0.7686 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.5485, allocations: 205.2 kB / 0.7688 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009995/0.5495, allocations: 1.033 MB / 0.7698 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5495, allocations: 0 / 0.7698 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5495, allocations: 0 / 0.7698 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5495, allocations: 0 / 0.7698 GB, free: 0.9258 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001447/0.551, allocations: 1.056 MB / 0.7708 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.551, allocations: 8.031 kB / 0.7708 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.5521, allocations: 210.7 kB / 0.771 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.553, allocations: 0.6251 MB / 0.7716 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.5531, allocations: 58 kB / 0.7717 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.5532, allocations: 76 kB / 0.7717 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.5544, allocations: 0.9263 MB / 0.7726 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.5545, allocations: 7.891 kB / 0.7727 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.5546, allocations: 32 kB / 0.7727 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.5546, allocations: 33.3 kB / 0.7727 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.5555, allocations: 0.6099 MB / 0.7733 GB, free: 13.11 MB / 0.6075 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.003808/0.5593, allocations: 4.582 MB / 0.7778 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.56, allocations: 0.5339 MB / 0.7783 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.5604, allocations: 246.5 kB / 0.7785 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.5606, allocations: 97.09 kB / 0.7786 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5606, allocations: 39.25 kB / 0.7787 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 5.29e-06/0.5606, allocations: 0 / 0.7787 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002655/0.5633, allocations: 1.578 MB / 0.7802 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.5633, allocations: 110.8 kB / 0.7803 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.5641, allocations: 0.7115 MB / 0.781 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.5642, allocations: 33.7 kB / 0.781 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.5645, allocations: 419.8 kB / 0.7814 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.5646, allocations: 161.8 kB / 0.7816 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.5646, allocations: 16 kB / 0.7816 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5648, allocations: 329.9 kB / 0.7819 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.565, allocations: 185.2 kB / 0.7821 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.5655, allocations: 409 kB / 0.7825 GB, free: 3.125 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.567, allocations: 0.6674 MB / 0.7831 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.567, allocations: 0 / 0.7831 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009289/0.5679, allocations: 0.6635 MB / 0.7838 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5679, allocations: 4.781 kB / 0.7838 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5679, allocations: 15.88 kB / 0.7838 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.568, allocations: 16 kB / 0.7838 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.5684, allocations: 123.8 kB / 0.784 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.5685, allocations: 15.94 kB / 0.784 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.569, allocations: 47.91 kB / 0.784 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.5691, allocations: 28.06 kB / 0.784 GB, free: 1.523 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.5694, allocations: 285.5 kB / 0.7843 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5696, allocations: 82.97 kB / 0.7844 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.5697, allocations: 91.66 kB / 0.7845 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5697, allocations: 8 kB / 0.7845 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5698, allocations: 0 / 0.7845 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006603/0.5704, allocations: 0.691 MB / 0.7852 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.5726, allocations: 1.635 MB / 0.7868 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5726, allocations: 4 kB / 0.7868 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.5731, allocations: 96.39 kB / 0.7869 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5731, allocations: 12 kB / 0.7869 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.5732, allocations: 19.98 kB / 0.7869 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.5732, allocations: 7.938 kB / 0.7869 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5732, allocations: 4 kB / 0.7869 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5742, allocations: 0.8931 MB / 0.7878 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.5745, allocations: 212 kB / 0.788 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.5746, allocations: 16 kB / 0.788 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.575, allocations: 39.91 kB / 0.788 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.5751, allocations: 39.86 kB / 0.7881 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.5751, allocations: 19.98 kB / 0.7881 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005675/0.5757, allocations: 0.499 MB / 0.7886 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5757, allocations: 4 kB / 0.7886 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006963/0.5764, allocations: 208 kB / 0.7888 GB, free: 12.39 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.000387/0.5768, allocations: 197.6 kB / 0.789 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007185/0.5775, allocations: 464.3 kB / 0.7894 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5776, allocations: 4 kB / 0.7894 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.5778, allocations: 209.3 kB / 0.7896 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.5798, allocations: 465.2 kB / 0.79 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.5822, allocations: 1.992 MB / 0.792 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.5827, allocations: 1.028 MB / 0.793 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006432/0.5834, allocations: 203 kB / 0.7932 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.5835, allocations: 63.42 kB / 0.7932 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of SimCode: time 7.22e-07/0.5835, allocations: 0 / 0.7932 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of Templates: time 0.02214/0.6057, allocations: 13.95 MB / 0.8069 GB, free: 10.03 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)