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.001217/0.001217, allocations: 90.83 kB / 15.06 MB, free: 1.094 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.001744/0.001744, allocations: 172.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.627/1.627, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9761/0.9761, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 12 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 82.31 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5327/0.7148, allocations: 170.3 MB / 0.7537 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.7308, allocations: 12.12 MB / 0.7655 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.7323, allocations: 27.81 kB / 0.7656 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.7335, allocations: 298 kB / 0.7659 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.7365, allocations: 0.8747 MB / 0.7667 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.7382, allocations: 0.5314 MB / 0.7672 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002929/0.7411, allocations: 2.347 MB / 0.7695 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009921/0.7422, allocations: 0.6066 MB / 0.7701 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.7458, allocations: 1.35 MB / 0.7714 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.747, allocations: 0.6225 MB / 0.772 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.7471, allocations: 32 kB / 0.7721 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.7485, allocations: 447 kB / 0.7725 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003914/0.7489, allocations: 339 kB / 0.7728 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.7492, allocations: 205.3 kB / 0.773 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.7507, allocations: 1.033 MB / 0.774 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7507, allocations: 0 / 0.774 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7507, allocations: 0 / 0.774 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.7508, allocations: 0 / 0.774 GB, free: 13.88 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.001727/0.7525, allocations: 1.066 MB / 0.7751 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7525, allocations: 8.031 kB / 0.7751 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.7537, allocations: 210.6 kB / 0.7753 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7547, allocations: 0.6212 MB / 0.7759 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.7548, allocations: 62 kB / 0.7759 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.7549, allocations: 79.98 kB / 0.776 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.7563, allocations: 0.9249 MB / 0.7769 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.7563, allocations: 0 / 0.7769 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.7564, allocations: 37.19 kB / 0.777 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.7565, allocations: 33.31 kB / 0.777 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.7575, allocations: 0.6099 MB / 0.7776 GB, free: 10.07 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.004709/0.7622, allocations: 4.588 MB / 0.7821 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.763, allocations: 0.5333 MB / 0.7826 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.7633, allocations: 242.4 kB / 0.7828 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.7636, allocations: 101.1 kB / 0.7829 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.7636, allocations: 39.25 kB / 0.783 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 5.099e-06/0.7636, allocations: 4 kB / 0.783 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00314/0.7668, allocations: 1.575 MB / 0.7845 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.7669, allocations: 115.1 kB / 0.7846 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/0.7678, allocations: 0.7077 MB / 0.7853 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.7679, allocations: 41.64 kB / 0.7853 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.7682, allocations: 411.8 kB / 0.7857 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.7684, allocations: 165.7 kB / 0.7859 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.7685, allocations: 12 kB / 0.7859 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7686, allocations: 337.9 kB / 0.7862 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.769, allocations: 185.1 kB / 0.7864 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.7695, allocations: 417 kB / 0.7868 GB, free: 60 kB / 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.7711, allocations: 0.6628 MB / 0.7874 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7711, allocations: 0 / 0.7874 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001037/0.7722, allocations: 0.6616 MB / 0.7881 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7722, allocations: 8 kB / 0.7881 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.7722, allocations: 4 kB / 0.7881 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.7723, allocations: 12 kB / 0.7881 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.7727, allocations: 128.6 kB / 0.7882 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.7728, allocations: 15.94 kB / 0.7882 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.7734, allocations: 57.92 kB / 0.7883 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.7734, allocations: 24 kB / 0.7883 GB, free: 14.47 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.000463/0.7739, allocations: 277.5 kB / 0.7886 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.7741, allocations: 82.97 kB / 0.7887 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.7743, allocations: 95.66 kB / 0.7888 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7743, allocations: 4 kB / 0.7888 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7743, allocations: 2 kB / 0.7888 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007729/0.7751, allocations: 0.6949 MB / 0.7894 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.7775, allocations: 1.638 MB / 0.791 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.7776, allocations: 7.953 kB / 0.791 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.778, allocations: 103.8 kB / 0.7911 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.7781, allocations: 4 kB / 0.7912 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.7781, allocations: 15.98 kB / 0.7912 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.7781, allocations: 8 kB / 0.7912 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.7781, allocations: 10.98 kB / 0.7912 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.7793, allocations: 0.8845 MB / 0.792 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.7796, allocations: 216 kB / 0.7923 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/0.7798, allocations: 16 kB / 0.7923 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.7802, allocations: 40.41 kB / 0.7923 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.7803, allocations: 39.86 kB / 0.7923 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.7803, allocations: 24.55 kB / 0.7924 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006599/0.781, allocations: 0.5029 MB / 0.7929 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.781, allocations: 0 / 0.7929 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008668/0.7819, allocations: 204 kB / 0.7931 GB, free: 9.352 MB / 0.6075 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.0005102/0.7824, allocations: 199.3 kB / 0.7932 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.7833, allocations: 474.2 kB / 0.7937 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7834, allocations: 320 / 0.7937 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.7837, allocations: 215.7 kB / 0.7939 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.7857, allocations: 459 kB / 0.7943 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.7886, allocations: 1.988 MB / 0.7963 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.7894, allocations: 1.028 MB / 0.7973 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007573/0.7902, allocations: 199.6 kB / 0.7975 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.7903, allocations: 63.42 kB / 0.7975 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/0.7903, allocations: 4 kB / 0.7975 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.02952/0.8199, allocations: 13.93 MB / 0.8111 GB, free: 6.98 MB / 0.6231 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)