Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001173/0.001173, allocations: 196.4 kB / 17.31 MB, free: 5.824 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7867/0.7867, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.5068 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 80.91 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4756/0.8057, allocations: 190.4 MB / 0.7717 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009545/0.8153, allocations: 5.694 MB / 0.7773 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.8166, allocations: 41.66 kB / 0.7773 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.8182, allocations: 0.5736 MB / 0.7779 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.822, allocations: 1.82 MB / 0.7797 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.8245, allocations: 1.181 MB / 0.7808 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.8279, allocations: 2.956 MB / 0.7837 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.8292, allocations: 1.128 MB / 0.7848 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.831, allocations: 1.053 MB / 0.7858 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.8327, allocations: 0.9704 MB / 0.7868 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.8329, allocations: 126.2 kB / 0.7869 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.8355, allocations: 1.442 MB / 0.7883 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.8359, allocations: 0.5696 MB / 0.7889 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008716/0.8368, allocations: 0.7281 MB / 0.7896 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.84, allocations: 2.342 MB / 0.7919 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.84, allocations: 0 / 0.7919 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.84, allocations: 1 kB / 0.7919 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.84, allocations: 3.938 kB / 0.7919 GB, free: 1.031 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002311/0.8423, allocations: 1.622 MB / 0.7935 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.8424, allocations: 12.36 kB / 0.7935 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.8442, allocations: 323 kB / 0.7938 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.8456, allocations: 0.9131 MB / 0.7947 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.8456, allocations: 76.5 kB / 0.7947 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.8458, allocations: 101.8 kB / 0.7948 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.8472, allocations: 1.079 MB / 0.7959 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.8473, allocations: 0 / 0.7959 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.8474, allocations: 47.22 kB / 0.7959 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.8474, allocations: 39.88 kB / 0.796 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.8487, allocations: 0.9894 MB / 0.7969 GB, free: 15.74 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.005136/0.8539, allocations: 4.216 MB / 0.8011 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.8546, allocations: 0.6013 MB / 0.8017 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.855, allocations: 340.9 kB / 0.802 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.8552, allocations: 102.9 kB / 0.8021 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.8553, allocations: 41.97 kB / 0.8021 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.8553, allocations: 0 / 0.8021 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003419/0.8587, allocations: 2.202 MB / 0.8043 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8588, allocations: 64.55 kB / 0.8043 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009535/0.8597, allocations: 0.8818 MB / 0.8052 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.8598, allocations: 40.05 kB / 0.8052 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.8601, allocations: 0.5139 MB / 0.8057 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.8603, allocations: 194.1 kB / 0.8059 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.8605, allocations: 130.6 kB / 0.806 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8606, allocations: 337.7 kB / 0.8064 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.861, allocations: 282.8 kB / 0.8066 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.8615, allocations: 445.2 kB / 0.8071 GB, free: 11.99 MB / 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.8648, allocations: 1.736 MB / 0.8088 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8648, allocations: 3.094 kB / 0.8088 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001333/0.8661, allocations: 0.9251 MB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8662, allocations: 7.719 kB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8662, allocations: 8.719 kB / 0.8097 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.8664, allocations: 102.5 kB / 0.8098 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.8671, allocations: 157.7 kB / 0.8099 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.8704, allocations: 4.643 MB / 0.8145 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.8713, allocations: 40.86 kB / 0.8145 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.8714, allocations: 26.03 kB / 0.8145 GB, free: 7.527 MB / 0.5919 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000497/0.8719, allocations: 347.4 kB / 0.8149 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.872, allocations: 105.2 kB / 0.815 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.8722, allocations: 110.7 kB / 0.8151 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8722, allocations: 6.375 kB / 0.8151 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8722, allocations: 0 / 0.8151 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009581/0.8732, allocations: 0.7651 MB / 0.8158 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.876, allocations: 1.986 MB / 0.8177 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.8761, allocations: 3.969 kB / 0.8178 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.8767, allocations: 149.2 kB / 0.8179 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.8768, allocations: 37.48 kB / 0.8179 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.8769, allocations: 20.23 kB / 0.818 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.8781, allocations: 1.605 MB / 0.8195 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8781, allocations: 5.125 kB / 0.8195 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.8798, allocations: 1.235 MB / 0.8207 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.8803, allocations: 255.5 kB / 0.821 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.8804, allocations: 15.34 kB / 0.821 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.8811, allocations: 29.95 kB / 0.821 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.8812, allocations: 53.86 kB / 0.8211 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.8813, allocations: 31.92 kB / 0.8211 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007171/0.882, allocations: 0.6131 MB / 0.8217 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.882, allocations: 0 / 0.8217 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008843/0.8829, allocations: 305.1 kB / 0.822 GB, free: 4.484 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003989/0.8833, allocations: 193.9 kB / 0.8222 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.8847, allocations: 1.013 MB / 0.8232 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8847, allocations: 2.438 kB / 0.8232 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.8853, allocations: 447.7 kB / 0.8236 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.8877, allocations: 0.6566 MB / 0.8242 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.8906, allocations: 2.089 MB / 0.8263 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/0.8913, allocations: 1.173 MB / 0.8274 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007581/0.8921, allocations: 246.2 kB / 0.8277 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.8923, allocations: 76.89 kB / 0.8277 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.8923, allocations: 0 / 0.8277 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of Templates: time 0.03319/0.9255, allocations: 22.31 MB / 0.8495 GB, free: 12.45 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)