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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002067/0.002067, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9663/0.9663, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 64.16 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.192, allocations: 80.93 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5217/0.7137, allocations: 185 MB / 0.7644 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.7312, allocations: 13.11 MB / 0.7772 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.7329, allocations: 31.81 kB / 0.7772 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.7347, allocations: 342 kB / 0.7775 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.7386, allocations: 1.089 MB / 0.7786 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.7407, allocations: 0.632 MB / 0.7792 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.7444, allocations: 2.774 MB / 0.7819 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.7457, allocations: 0.7253 MB / 0.7826 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/0.7505, allocations: 1.654 MB / 0.7843 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.7527, allocations: 0.6878 MB / 0.7849 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.7529, allocations: 44 kB / 0.785 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.7552, allocations: 0.9858 MB / 0.7859 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.7556, allocations: 355 kB / 0.7863 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006594/0.7563, allocations: 469.5 kB / 0.7867 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.7586, allocations: 1.492 MB / 0.7882 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7587, allocations: 0 / 0.7882 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7587, allocations: 0 / 0.7882 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.7587, allocations: 0 / 0.7882 GB, free: 11.93 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.002132/0.7608, allocations: 1.237 MB / 0.7894 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.7609, allocations: 12.03 kB / 0.7894 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7622, allocations: 218.6 kB / 0.7896 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.7632, allocations: 0.6441 MB / 0.7902 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.7632, allocations: 58 kB / 0.7903 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7634, allocations: 76 kB / 0.7904 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7647, allocations: 0.9249 MB / 0.7913 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.7648, allocations: 7.938 kB / 0.7913 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.7649, allocations: 39.92 kB / 0.7913 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/0.7649, allocations: 33.3 kB / 0.7913 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.7659, allocations: 0.6099 MB / 0.7919 GB, free: 7.906 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.004619/0.7705, allocations: 4.585 MB / 0.7964 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.7713, allocations: 0.5395 MB / 0.7969 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.7717, allocations: 247.6 kB / 0.7972 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.7719, allocations: 97.09 kB / 0.7973 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.772, allocations: 46.5 kB / 0.7973 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.826e-06/0.772, allocations: 0 / 0.7973 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003114/0.7751, allocations: 1.574 MB / 0.7989 GB, free: 408 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.7752, allocations: 123 kB / 0.799 GB, free: 260 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.7761, allocations: 0.7077 MB / 0.7997 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.7761, allocations: 37.7 kB / 0.7997 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.7765, allocations: 419.6 kB / 0.8001 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.7766, allocations: 161.7 kB / 0.8003 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.7768, allocations: 122.2 kB / 0.8004 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.777, allocations: 326 kB / 0.8007 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.7773, allocations: 193.2 kB / 0.8009 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.7777, allocations: 409 kB / 0.8013 GB, free: 13.79 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.002332/0.7801, allocations: 1.171 MB / 0.8024 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7801, allocations: 0 / 0.8024 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001224/0.7813, allocations: 0.6791 MB / 0.8031 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.7814, allocations: 8 kB / 0.8031 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.7814, allocations: 4.781 kB / 0.8031 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.7815, allocations: 12 kB / 0.8031 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.782, allocations: 123.8 kB / 0.8032 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.7821, allocations: 19.92 kB / 0.8032 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.7829, allocations: 51.75 kB / 0.8033 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.783, allocations: 32 kB / 0.8033 GB, free: 11.58 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.0005393/0.7836, allocations: 269.6 kB / 0.8036 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.7838, allocations: 83 kB / 0.8036 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.7839, allocations: 91.66 kB / 0.8037 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.784, allocations: 8 kB / 0.8037 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.784, allocations: 0 / 0.8037 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008282/0.7848, allocations: 0.6949 MB / 0.8044 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.7874, allocations: 1.646 MB / 0.806 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7874, allocations: 4 kB / 0.806 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.7878, allocations: 99.77 kB / 0.8061 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.7879, allocations: 8.562 kB / 0.8061 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.7879, allocations: 24 kB / 0.8062 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.7879, allocations: 14.42 kB / 0.8062 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7879, allocations: 4 kB / 0.8062 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.7891, allocations: 0.8908 MB / 0.807 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.7895, allocations: 204.1 kB / 0.8072 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.7896, allocations: 19.98 kB / 0.8073 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.7901, allocations: 40.91 kB / 0.8073 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.7902, allocations: 39.83 kB / 0.8073 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.7902, allocations: 16 kB / 0.8073 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006386/0.7909, allocations: 0.5107 MB / 0.8078 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7909, allocations: 0 / 0.8078 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007779/0.7917, allocations: 204 kB / 0.808 GB, free: 6.453 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.0004956/0.7922, allocations: 203.9 kB / 0.8082 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007898/0.793, allocations: 464.9 kB / 0.8087 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.793, allocations: 0 / 0.8087 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.7933, allocations: 221.3 kB / 0.8089 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.7954, allocations: 462.7 kB / 0.8093 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.7981, allocations: 1.924 MB / 0.8112 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.7988, allocations: 1.036 MB / 0.8122 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007234/0.7995, allocations: 196.7 kB / 0.8124 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.7997, allocations: 63.42 kB / 0.8125 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7997, allocations: 0 / 0.8125 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of Templates: time 0.02517/0.8249, allocations: 14.47 MB / 0.8266 GB, free: 3.598 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)