Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001189/0.001189, allocations: 111.9 kB / 15.61 MB, free: 124 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.001112/0.001112, allocations: 192.7 kB / 16.54 MB, free: 6.68 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9941/0.9941, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.59 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1954, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4931/0.6885, allocations: 187.2 MB / 0.7672 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.7051, allocations: 13.07 MB / 0.78 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.7074, allocations: 31.81 kB / 0.78 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.709, allocations: 425.2 kB / 0.7804 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.7129, allocations: 1.159 MB / 0.7816 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.7158, allocations: 0.6989 MB / 0.7822 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003363/0.7191, allocations: 2.006 MB / 0.7842 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.7204, allocations: 0.8409 MB / 0.785 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.7248, allocations: 1.806 MB / 0.7868 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.7265, allocations: 0.6589 MB / 0.7874 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.7266, allocations: 80 kB / 0.7875 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.7286, allocations: 0.8692 MB / 0.7883 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.729, allocations: 391 kB / 0.7887 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/0.7297, allocations: 0.4976 MB / 0.7892 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.7319, allocations: 1.476 MB / 0.7906 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7319, allocations: 0 / 0.7906 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.732, allocations: 0 / 0.7906 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.732, allocations: 0 / 0.7906 GB, free: 9.574 MB / 0.6075 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.001839/0.7338, allocations: 1.234 MB / 0.7919 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7339, allocations: 8.031 kB / 0.7919 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.735, allocations: 214.6 kB / 0.7921 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.736, allocations: 0.6519 MB / 0.7927 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.7361, allocations: 58 kB / 0.7928 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.7362, allocations: 76 kB / 0.7928 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.7375, allocations: 0.9288 MB / 0.7937 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.7375, allocations: 7.875 kB / 0.7937 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-05/0.7376, allocations: 35.94 kB / 0.7938 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.7376, allocations: 29.31 kB / 0.7938 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.7385, allocations: 0.6138 MB / 0.7944 GB, free: 5.551 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.004115/0.7426, allocations: 4.599 MB / 0.7989 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.7433, allocations: 0.5388 MB / 0.7994 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.7437, allocations: 247.5 kB / 0.7997 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.7439, allocations: 105.1 kB / 0.7998 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7439, allocations: 38.56 kB / 0.7998 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.073e-06/0.7439, allocations: 0 / 0.7998 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002729/0.7467, allocations: 1.578 MB / 0.8013 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.7467, allocations: 110.8 kB / 0.8014 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/0.7475, allocations: 0.7155 MB / 0.8021 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.7476, allocations: 41.64 kB / 0.8022 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.7479, allocations: 415.7 kB / 0.8026 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.748, allocations: 161.7 kB / 0.8027 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.7482, allocations: 118.2 kB / 0.8028 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7483, allocations: 334 kB / 0.8032 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.7486, allocations: 185.2 kB / 0.8033 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.7491, allocations: 415.2 kB / 0.8037 GB, free: 11.42 MB / 0.6231 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.002165/0.7512, allocations: 1.176 MB / 0.8049 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7512, allocations: 4 kB / 0.8049 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009883/0.7522, allocations: 0.6757 MB / 0.8055 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7523, allocations: 4 kB / 0.8056 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7523, allocations: 8 kB / 0.8056 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.7523, allocations: 8 kB / 0.8056 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.7528, allocations: 131.6 kB / 0.8057 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.7528, allocations: 9.25 kB / 0.8057 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.7534, allocations: 27.98 kB / 0.8057 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.7535, allocations: 28.25 kB / 0.8058 GB, free: 9.246 MB / 0.6231 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.0003805/0.7539, allocations: 278.1 kB / 0.806 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.754, allocations: 86.98 kB / 0.8061 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.7542, allocations: 91.67 kB / 0.8062 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.7542, allocations: 4 kB / 0.8062 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7542, allocations: 0 / 0.8062 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006828/0.7549, allocations: 0.6949 MB / 0.8069 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.7572, allocations: 1.641 MB / 0.8085 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.7572, allocations: 4 kB / 0.8085 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.7577, allocations: 107.8 kB / 0.8086 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.7577, allocations: 8 kB / 0.8086 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.7577, allocations: 20.44 kB / 0.8086 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.7578, allocations: 8 kB / 0.8086 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.7578, allocations: 7.938 kB / 0.8086 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.7589, allocations: 0.8916 MB / 0.8095 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.7592, allocations: 208 kB / 0.8097 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.7593, allocations: 16 kB / 0.8097 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.7598, allocations: 17.41 kB / 0.8097 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.7598, allocations: 39.84 kB / 0.8098 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.7599, allocations: 23.98 kB / 0.8098 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005999/0.7605, allocations: 0.5107 MB / 0.8103 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7605, allocations: 0 / 0.8103 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007942/0.7613, allocations: 200 kB / 0.8105 GB, free: 4.133 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 (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.0004579/0.7617, allocations: 199 kB / 0.8107 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000948/0.7627, allocations: 0.5204 MB / 0.8112 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7627, allocations: 8 kB / 0.8112 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.763, allocations: 213.5 kB / 0.8114 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.765, allocations: 482.3 kB / 0.8118 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.7678, allocations: 1.66 MB / 0.8135 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.7686, allocations: 1.028 MB / 0.8145 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008655/0.7694, allocations: 199 kB / 0.8147 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.7696, allocations: 63.44 kB / 0.8147 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/0.7696, allocations: 0 / 0.8147 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of Templates: time 0.02926/0.7989, allocations: 15.09 MB / 0.8295 GB, free: 0.8789 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)