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.001036/0.001036, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7332/0.7332, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 65.66 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4004, allocations: 80.21 MB / 0.5801 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1942/0.5946, allocations: 187.3 MB / 0.7629 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.6107, allocations: 13.09 MB / 0.7757 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.6121, allocations: 35.81 kB / 0.7758 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.6136, allocations: 417.2 kB / 0.7762 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.6168, allocations: 1.163 MB / 0.7773 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.6189, allocations: 0.7071 MB / 0.778 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.6219, allocations: 2.004 MB / 0.7799 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.6229, allocations: 0.8317 MB / 0.7808 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.6272, allocations: 1.806 MB / 0.7825 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.6288, allocations: 0.6634 MB / 0.7832 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.629, allocations: 80 kB / 0.7832 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.6307, allocations: 0.8652 MB / 0.7841 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.6311, allocations: 383 kB / 0.7845 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.6317, allocations: 0.4976 MB / 0.7849 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.6337, allocations: 1.48 MB / 0.7864 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6337, allocations: 0 / 0.7864 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6337, allocations: 3.938 kB / 0.7864 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6337, allocations: 0 / 0.7864 GB, free: 13.71 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001853/0.6356, allocations: 1.227 MB / 0.7876 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6356, allocations: 8.031 kB / 0.7876 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.6368, allocations: 218.6 kB / 0.7878 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/0.6378, allocations: 0.6441 MB / 0.7884 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.6378, allocations: 54 kB / 0.7885 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.638, allocations: 83.94 kB / 0.7886 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.6392, allocations: 0.9342 MB / 0.7895 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.6393, allocations: 3.938 kB / 0.7895 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.6393, allocations: 28 kB / 0.7895 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.6394, allocations: 29.31 kB / 0.7895 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.6403, allocations: 0.6177 MB / 0.7901 GB, free: 9.691 MB / 0.6231 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.004302/0.6446, allocations: 4.601 MB / 0.7946 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.6454, allocations: 0.5385 MB / 0.7952 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.6457, allocations: 242.5 kB / 0.7954 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.6459, allocations: 105.1 kB / 0.7955 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.646, allocations: 42.5 kB / 0.7955 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.886e-06/0.646, allocations: 4 kB / 0.7955 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002758/0.6488, allocations: 1.571 MB / 0.7971 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.6488, allocations: 114.7 kB / 0.7972 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.6497, allocations: 0.7157 MB / 0.7979 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.6497, allocations: 41.7 kB / 0.7979 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.65, allocations: 411.7 kB / 0.7983 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6502, allocations: 169.6 kB / 0.7985 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.6503, allocations: 110.2 kB / 0.7986 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6505, allocations: 334 kB / 0.7989 GB, free: 232 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.6507, allocations: 189.2 kB / 0.7991 GB, free: 44 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.6512, allocations: 417 kB / 0.7995 GB, free: 15.54 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.6534, allocations: 1.163 MB / 0.8006 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6534, allocations: 7.938 kB / 0.8006 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001047/0.6544, allocations: 0.6636 MB / 0.8013 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6545, allocations: 9.562 kB / 0.8013 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6545, allocations: 11.98 kB / 0.8013 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.6545, allocations: 8.75 kB / 0.8013 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.655, allocations: 127.8 kB / 0.8014 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.655, allocations: 12 kB / 0.8014 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.6556, allocations: 27.98 kB / 0.8015 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.6557, allocations: 28 kB / 0.8015 GB, free: 13.38 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: 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.0003765/0.6561, allocations: 277.1 kB / 0.8017 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.6562, allocations: 90.84 kB / 0.8018 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.6564, allocations: 91.75 kB / 0.8019 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.6564, allocations: 11.98 kB / 0.8019 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6564, allocations: 0 / 0.8019 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006878/0.6571, allocations: 0.6999 MB / 0.8026 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.6594, allocations: 1.639 MB / 0.8042 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6595, allocations: 4.5 kB / 0.8042 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.6599, allocations: 107.8 kB / 0.8043 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.6599, allocations: 8 kB / 0.8043 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.66, allocations: 16 kB / 0.8043 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.66, allocations: 4 kB / 0.8043 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.66, allocations: 7.938 kB / 0.8044 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.6611, allocations: 0.9014 MB / 0.8052 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.6614, allocations: 208.1 kB / 0.8054 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6615, allocations: 16 kB / 0.8054 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.662, allocations: 15.98 kB / 0.8055 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.662, allocations: 43.84 kB / 0.8055 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.6621, allocations: 20.17 kB / 0.8055 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005874/0.6627, allocations: 0.5068 MB / 0.806 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6627, allocations: 0 / 0.806 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007622/0.6634, allocations: 204 kB / 0.8062 GB, free: 8.25 MB / 0.6387 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.0004572/0.6639, allocations: 212.5 kB / 0.8064 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.6649, allocations: 0.5125 MB / 0.8069 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6649, allocations: 0 / 0.8069 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.6652, allocations: 208.9 kB / 0.8071 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.6673, allocations: 474.8 kB / 0.8076 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.6699, allocations: 1.673 MB / 0.8092 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.6706, allocations: 1.028 MB / 0.8102 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007032/0.6713, allocations: 195 kB / 0.8104 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.6715, allocations: 59.44 kB / 0.8104 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.6715, allocations: 0 / 0.8104 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of Templates: time 0.307/0.9785, allocations: 15.07 MB / 0.8252 GB, free: 217.6 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)