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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6916/0.6916, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 404.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 103.5 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.183, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5275/0.7105, allocations: 185 MB / 0.8228 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.7264, allocations: 13.1 MB / 0.8356 GB, free: 10.97 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.7278, allocations: 35.81 kB / 0.8357 GB, free: 10.93 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.7291, allocations: 342 kB / 0.836 GB, free: 10.6 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.732, allocations: 1.093 MB / 0.8371 GB, free: 9.5 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.7337, allocations: 0.6328 MB / 0.8377 GB, free: 8.871 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00305/0.7367, allocations: 2.77 MB / 0.8404 GB, free: 6.09 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7378, allocations: 0.7347 MB / 0.8411 GB, free: 5.332 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/0.7421, allocations: 1.654 MB / 0.8427 GB, free: 3.672 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.7441, allocations: 0.6955 MB / 0.8434 GB, free: 2.984 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.7443, allocations: 44 kB / 0.8434 GB, free: 2.941 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.7463, allocations: 0.9858 MB / 0.8444 GB, free: 1.953 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.7467, allocations: 351 kB / 0.8447 GB, free: 1.609 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000564/0.7473, allocations: 473.6 kB / 0.8452 GB, free: 1.145 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.7493, allocations: 1.491 MB / 0.8466 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7494, allocations: 4 kB / 0.8466 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7494, allocations: 0 / 0.8466 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.7494, allocations: 0 / 0.8466 GB, free: 15.64 MB / 0.5886 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.001958/0.7513, allocations: 1.236 MB / 0.8478 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7514, allocations: 8.031 kB / 0.8479 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7525, allocations: 222.6 kB / 0.8481 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.7536, allocations: 0.6402 MB / 0.8487 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.7537, allocations: 58 kB / 0.8487 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.7538, allocations: 76 kB / 0.8488 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.7551, allocations: 0.9326 MB / 0.8497 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7552, allocations: 7.938 kB / 0.8497 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.7552, allocations: 39.92 kB / 0.8498 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.7553, allocations: 25.31 kB / 0.8498 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009234/0.7562, allocations: 0.6138 MB / 0.8504 GB, free: 11.61 MB / 0.5886 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.004372/0.7606, allocations: 4.592 MB / 0.8549 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.7613, allocations: 0.5377 MB / 0.8554 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.7617, allocations: 238.5 kB / 0.8556 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.7619, allocations: 97.09 kB / 0.8557 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7619, allocations: 50.55 kB / 0.8558 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.7619, allocations: 0 / 0.8558 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45): time 0.002743/0.7647, allocations: 1.578 MB / 0.8573 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.7648, allocations: 114.7 kB / 0.8574 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.7656, allocations: 0.7196 MB / 0.8581 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.7657, allocations: 33.7 kB / 0.8582 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.766, allocations: 419.7 kB / 0.8586 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.7662, allocations: 165.7 kB / 0.8587 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.7663, allocations: 114.2 kB / 0.8588 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7665, allocations: 334 kB / 0.8592 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.7668, allocations: 185.2 kB / 0.8593 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.7673, allocations: 413 kB / 0.8597 GB, free: 1.488 MB / 0.5886 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.002328/0.7696, allocations: 1.176 MB / 0.8609 GB, free: 216 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7696, allocations: 4 kB / 0.8609 GB, free: 212 kB / 0.5886 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001052/0.7707, allocations: 0.6714 MB / 0.8615 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7707, allocations: 7.938 kB / 0.8615 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.7707, allocations: 8 kB / 0.8615 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.7708, allocations: 8 kB / 0.8616 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.7713, allocations: 136.4 kB / 0.8617 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.7713, allocations: 15.94 kB / 0.8617 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.7719, allocations: 47.81 kB / 0.8617 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.772, allocations: 32 kB / 0.8618 GB, free: 15.28 MB / 0.6042 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.0003523/0.7723, allocations: 273.6 kB / 0.862 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.7725, allocations: 83 kB / 0.8621 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.7727, allocations: 87.66 kB / 0.8622 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7727, allocations: 4 kB / 0.8622 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7727, allocations: 4 kB / 0.8622 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007703/0.7735, allocations: 0.6949 MB / 0.8629 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.7757, allocations: 1.638 MB / 0.8645 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7758, allocations: 4 kB / 0.8645 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.7762, allocations: 107.8 kB / 0.8646 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.7762, allocations: 12 kB / 0.8646 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.7763, allocations: 15.98 kB / 0.8646 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.7763, allocations: 4.5 kB / 0.8646 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7763, allocations: 7.938 kB / 0.8646 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.7815, allocations: 3.66 MB / 0.8682 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.7819, allocations: 208 kB / 0.8684 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.782, allocations: 15.98 kB / 0.8684 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.7826, allocations: 43.86 kB / 0.8685 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.7827, allocations: 35.89 kB / 0.8685 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.7827, allocations: 19.94 kB / 0.8685 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005912/0.7833, allocations: 0.5185 MB / 0.869 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.7833, allocations: 0 / 0.869 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001035/0.7844, allocations: 304 kB / 0.8693 GB, free: 7.152 MB / 0.6042 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.0004758/0.7849, allocations: 208.3 kB / 0.8695 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000781/0.7857, allocations: 467.4 kB / 0.87 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7857, allocations: 4 kB / 0.87 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.786, allocations: 206.7 kB / 0.8702 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.788, allocations: 457.8 kB / 0.8706 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.7909, allocations: 2.258 MB / 0.8728 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.7915, allocations: 1.044 MB / 0.8738 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006772/0.7922, allocations: 199 kB / 0.874 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.7924, allocations: 63.44 kB / 0.8741 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.7924, allocations: 0 / 0.8741 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of Templates: time 0.02479/0.8172, allocations: 15.42 MB / 0.8891 GB, free: 2.941 MB / 0.6198 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)