Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, 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.001535/0.001535, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9581/0.9581, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.05 kB / 0.5047 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1911, allocations: 80.92 MB / 0.5837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5909/0.7821, allocations: 188.1 MB / 0.7674 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.7915, allocations: 5.736 MB / 0.773 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.793, allocations: 39.75 kB / 0.773 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.7946, allocations: 497.4 kB / 0.7735 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.7983, allocations: 1.509 MB / 0.7749 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.8013, allocations: 1.085 MB / 0.776 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003799/0.8051, allocations: 3.48 MB / 0.7794 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.8063, allocations: 0.8605 MB / 0.7802 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.8081, allocations: 0.8908 MB / 0.7811 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.8101, allocations: 0.851 MB / 0.7819 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.8102, allocations: 52 kB / 0.782 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.8139, allocations: 1.711 MB / 0.7837 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.8145, allocations: 446.8 kB / 0.7841 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008342/0.8153, allocations: 0.5753 MB / 0.7847 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.8191, allocations: 2.134 MB / 0.7867 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8191, allocations: 0 / 0.7867 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8191, allocations: 0 / 0.7867 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.8191, allocations: 0 / 0.7867 GB, free: 13.52 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002336/0.8215, allocations: 1.488 MB / 0.7882 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.8215, allocations: 8.031 kB / 0.7882 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.8235, allocations: 326.3 kB / 0.7885 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.8248, allocations: 0.7726 MB / 0.7893 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.8252, allocations: 121.9 kB / 0.7894 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.8253, allocations: 95.88 kB / 0.7895 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.8271, allocations: 1.064 MB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.8271, allocations: 3.938 kB / 0.7905 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.8272, allocations: 36 kB / 0.7906 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.8273, allocations: 37.98 kB / 0.7906 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.8288, allocations: 0.8353 MB / 0.7914 GB, free: 8.621 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.005409/0.8342, allocations: 4.039 MB / 0.7953 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.8348, allocations: 377.4 kB / 0.7957 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.8351, allocations: 220.8 kB / 0.7959 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.8353, allocations: 97.69 kB / 0.796 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.8354, allocations: 46.56 kB / 0.7961 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 4.018e-06/0.8354, allocations: 0 / 0.7961 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002553/0.8379, allocations: 1.33 MB / 0.7974 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.838, allocations: 59.39 kB / 0.7974 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.8393, allocations: 0.9921 MB / 0.7984 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.8394, allocations: 33.7 kB / 0.7984 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.8398, allocations: 499.3 kB / 0.7989 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.8399, allocations: 138.1 kB / 0.799 GB, free: 432 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.8401, allocations: 114.2 kB / 0.7991 GB, free: 312 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8402, allocations: 330 kB / 0.7994 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.8407, allocations: 237.2 kB / 0.7997 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.8413, allocations: 422.8 kB / 0.8001 GB, free: 15.26 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.8437, allocations: 1.187 MB / 0.8012 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8437, allocations: 0 / 0.8012 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001347/0.8451, allocations: 0.7495 MB / 0.802 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.8451, allocations: 12.25 kB / 0.802 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.8451, allocations: 10.34 kB / 0.802 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8452, allocations: 8 kB / 0.802 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.8457, allocations: 143.7 kB / 0.8021 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.8458, allocations: 8 kB / 0.8021 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/0.8467, allocations: 87.77 kB / 0.8022 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.8468, allocations: 24 kB / 0.8022 GB, free: 12.95 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0004621/0.8472, allocations: 309.5 kB / 0.8025 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.8474, allocations: 102.8 kB / 0.8026 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.8476, allocations: 101 kB / 0.8027 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.8476, allocations: 8 kB / 0.8027 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8476, allocations: 0 / 0.8027 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007005/0.8483, allocations: 0.677 MB / 0.8034 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.8505, allocations: 1.588 MB / 0.805 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.8506, allocations: 8.031 kB / 0.805 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.851, allocations: 83.89 kB / 0.805 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.851, allocations: 8 kB / 0.8051 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.851, allocations: 19.94 kB / 0.8051 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.851, allocations: 4 kB / 0.8051 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.851, allocations: 7.938 kB / 0.8051 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.8521, allocations: 0.8411 MB / 0.8059 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.8524, allocations: 247.7 kB / 0.8061 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.8526, allocations: 16 kB / 0.8062 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.8533, allocations: 58.89 kB / 0.8062 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.8534, allocations: 39.84 kB / 0.8062 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.8534, allocations: 27.98 kB / 0.8063 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00105/0.8545, allocations: 0.7074 MB / 0.807 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8545, allocations: 0 / 0.807 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009007/0.8554, allocations: 252 kB / 0.8072 GB, free: 7.566 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0005921/0.856, allocations: 211.7 kB / 0.8074 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009587/0.857, allocations: 491.6 kB / 0.8079 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.857, allocations: 4 kB / 0.8079 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.8573, allocations: 189.4 kB / 0.8081 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.8598, allocations: 0.5914 MB / 0.8086 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.8627, allocations: 2.17 MB / 0.8108 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.8634, allocations: 1.099 MB / 0.8118 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008576/0.8642, allocations: 238.8 kB / 0.8121 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.8644, allocations: 79.44 kB / 0.8121 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.8644, allocations: 0 / 0.8121 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.03165/0.8961, allocations: 19.02 MB / 0.8307 GB, free: 15.7 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)