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.004775/0.004775, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001047/0.001047, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7216/0.7216, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 70.23 kB / 0.5814 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1452, allocations: 80.19 MB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5356/0.6808, allocations: 187.3 MB / 0.8426 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.6951, allocations: 13.07 MB / 0.8553 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.6969, allocations: 30.97 kB / 0.8554 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.699, allocations: 427.6 kB / 0.8558 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.7032, allocations: 1.156 MB / 0.8569 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.705, allocations: 0.7061 MB / 0.8576 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.7072, allocations: 2.002 MB / 0.8595 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.7081, allocations: 0.8473 MB / 0.8604 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.7116, allocations: 1.809 MB / 0.8621 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.713, allocations: 0.6636 MB / 0.8628 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.7131, allocations: 80.09 kB / 0.8629 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.7147, allocations: 0.8675 MB / 0.8637 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.715, allocations: 384.6 kB / 0.8641 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.7154, allocations: 0.5055 MB / 0.8646 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.7169, allocations: 1.5 MB / 0.866 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7169, allocations: 0 / 0.866 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7169, allocations: 2.75 kB / 0.866 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.717, allocations: 0 / 0.866 GB, free: 2.211 MB / 0.6387 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.001506/0.7185, allocations: 1.259 MB / 0.8673 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.7185, allocations: 13.83 kB / 0.8673 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.7196, allocations: 219.2 kB / 0.8675 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.7205, allocations: 0.692 MB / 0.8682 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.7205, allocations: 58.22 kB / 0.8682 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/0.7206, allocations: 75.38 kB / 0.8683 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.7218, allocations: 0.9294 MB / 0.8692 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.7218, allocations: 2.25 kB / 0.8692 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.7219, allocations: 33.84 kB / 0.8692 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.7219, allocations: 27.84 kB / 0.8693 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008616/0.7228, allocations: 0.6144 MB / 0.8699 GB, free: 0.8477 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.003449/0.7262, allocations: 4.589 MB / 0.8743 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.7268, allocations: 0.5303 MB / 0.8749 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.7271, allocations: 246.9 kB / 0.8751 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.7273, allocations: 106.2 kB / 0.8752 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.7273, allocations: 39.25 kB / 0.8752 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.7274, allocations: 0 / 0.8752 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002258/0.7296, allocations: 1.616 MB / 0.8768 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.7297, allocations: 112.5 kB / 0.8769 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.7303, allocations: 0.7158 MB / 0.8776 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.7304, allocations: 35.95 kB / 0.8777 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.7307, allocations: 423.8 kB / 0.8781 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.7308, allocations: 172.4 kB / 0.8782 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.7309, allocations: 118.3 kB / 0.8783 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7311, allocations: 332 kB / 0.8787 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.7313, allocations: 186.8 kB / 0.8788 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.7318, allocations: 416.5 kB / 0.8792 GB, free: 11.54 MB / 0.6544 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.001925/0.7337, allocations: 1.175 MB / 0.8804 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7337, allocations: 3.594 kB / 0.8804 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008163/0.7345, allocations: 0.6728 MB / 0.881 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7346, allocations: 7.969 kB / 0.881 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.7346, allocations: 6 kB / 0.8811 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.7346, allocations: 11.12 kB / 0.8811 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.735, allocations: 131.2 kB / 0.8812 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.735, allocations: 13.31 kB / 0.8812 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.7355, allocations: 27.8 kB / 0.8812 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.7356, allocations: 26.38 kB / 0.8813 GB, free: 11.12 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.7359, allocations: 277.1 kB / 0.8815 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.736, allocations: 84.11 kB / 0.8816 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.7362, allocations: 90.38 kB / 0.8817 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7362, allocations: 7.969 kB / 0.8817 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7362, allocations: 3.406 kB / 0.8817 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005959/0.7368, allocations: 0.7052 MB / 0.8824 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.7388, allocations: 1.635 MB / 0.884 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7388, allocations: 6.438 kB / 0.884 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.7392, allocations: 100 kB / 0.8841 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.7392, allocations: 8.375 kB / 0.8841 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.7393, allocations: 13.12 kB / 0.8841 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.7393, allocations: 15.06 kB / 0.8841 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7393, allocations: 4.188 kB / 0.8841 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7403, allocations: 0.8932 MB / 0.885 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.7406, allocations: 210.6 kB / 0.8852 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.7407, allocations: 17.98 kB / 0.8852 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.7411, allocations: 24.81 kB / 0.8852 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.7412, allocations: 35.58 kB / 0.8853 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.7412, allocations: 22.56 kB / 0.8853 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005554/0.7418, allocations: 0.514 MB / 0.8858 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7418, allocations: 0 / 0.8858 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006177/0.7424, allocations: 204.1 kB / 0.886 GB, free: 9.23 MB / 0.6544 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 (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.0004097/0.7428, allocations: 208.1 kB / 0.8862 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006596/0.7435, allocations: 486.7 kB / 0.8866 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7435, allocations: 4.219 kB / 0.8867 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.7438, allocations: 209.9 kB / 0.8869 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.7456, allocations: 485.3 kB / 0.8873 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.7477, allocations: 1.668 MB / 0.8889 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.7482, allocations: 1.029 MB / 0.8899 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005052/0.7487, allocations: 197.9 kB / 0.8901 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.7488, allocations: 64.44 kB / 0.8902 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7488, allocations: 0 / 0.8902 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of Templates: time 0.02283/0.7717, allocations: 15.2 MB / 0.905 GB, free: 348 kB / 0.6544 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)