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.000888/0.0008879, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008626/0.0008627, allocations: 177.3 kB / 15.95 MB, free: 216 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8311/0.8311, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8.531 kB / 0.5068 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.39/0.5429, allocations: 158.2 MB / 0.7417 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008085/0.5511, allocations: 5.618 MB / 0.7472 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009351/0.552, allocations: 31.75 kB / 0.7472 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.5535, allocations: 0.5605 MB / 0.7478 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004505/0.558, allocations: 1.659 MB / 0.7494 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.5612, allocations: 1.196 MB / 0.7505 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.5635, allocations: 1.693 MB / 0.7522 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009627/0.5644, allocations: 0.8156 MB / 0.753 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.5656, allocations: 0.7786 MB / 0.7538 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006651/0.5662, allocations: 0.6071 MB / 0.7543 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.5663, allocations: 47.98 kB / 0.7544 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.5678, allocations: 0.6162 MB / 0.755 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.5682, allocations: 462.8 kB / 0.7554 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.5684, allocations: 281.2 kB / 0.7557 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5698, allocations: 1.545 MB / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5698, allocations: 0 / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5698, allocations: 0 / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.5698, allocations: 0 / 0.7572 GB, free: 14.45 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.002109/0.5719, allocations: 1.359 MB / 0.7585 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.572, allocations: 12.02 kB / 0.7586 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.5738, allocations: 330.1 kB / 0.7589 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5752, allocations: 0.8401 MB / 0.7597 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.5753, allocations: 80.31 kB / 0.7598 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5754, allocations: 100 kB / 0.7599 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.5771, allocations: 1.073 MB / 0.7609 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5771, allocations: 0 / 0.7609 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.5772, allocations: 44 kB / 0.7609 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.5773, allocations: 41.98 kB / 0.761 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.5788, allocations: 0.9954 MB / 0.762 GB, free: 9.484 MB / 0.5762 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.005402/0.5842, allocations: 4.247 MB / 0.7661 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.585, allocations: 0.5982 MB / 0.7667 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.5851, allocations: 8.438 kB / 0.7667 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5851, allocations: 46.98 kB / 0.7667 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 1.863e-06/0.5851, allocations: 4 kB / 0.7667 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55): time 0.003552/0.5887, allocations: 2.221 MB / 0.7689 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.5887, allocations: 55.97 kB / 0.769 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.5897, allocations: 0.8726 MB / 0.7698 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.5898, allocations: 41.7 kB / 0.7699 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.5902, allocations: 0.5146 MB / 0.7704 GB, free: 420 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5903, allocations: 201.1 kB / 0.7706 GB, free: 216 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.5904, allocations: 12 kB / 0.7706 GB, free: 204 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5905, allocations: 345.8 kB / 0.7709 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.5909, allocations: 289.8 kB / 0.7712 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.5915, allocations: 446.6 kB / 0.7716 GB, free: 15.09 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.002638/0.5941, allocations: 1.1 MB / 0.7727 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5941, allocations: 0 / 0.7727 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001433/0.5956, allocations: 0.9257 MB / 0.7736 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5956, allocations: 8.5 kB / 0.7736 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5956, allocations: 8 kB / 0.7736 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.5958, allocations: 94.55 kB / 0.7737 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.5965, allocations: 171.8 kB / 0.7738 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.5996, allocations: 4.334 MB / 0.7781 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.6005, allocations: 75.3 kB / 0.7782 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.6005, allocations: 24 kB / 0.7782 GB, free: 7.918 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004523/0.601, allocations: 350 kB / 0.7785 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6011, allocations: 98.88 kB / 0.7786 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.6013, allocations: 113.2 kB / 0.7787 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6013, allocations: 4 kB / 0.7787 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6013, allocations: 3.953 kB / 0.7787 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009639/0.6023, allocations: 0.7692 MB / 0.7795 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.6051, allocations: 2 MB / 0.7814 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6051, allocations: 4 kB / 0.7814 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.6058, allocations: 155.8 kB / 0.7816 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.468e-05/0.6059, allocations: 41.02 kB / 0.7816 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.6059, allocations: 19.98 kB / 0.7816 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.607, allocations: 1.499 MB / 0.7831 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.607, allocations: 8.047 kB / 0.7831 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.6086, allocations: 1.4 MB / 0.7845 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.609, allocations: 247.9 kB / 0.7847 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6091, allocations: 23.89 kB / 0.7847 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/0.6099, allocations: 73.25 kB / 0.7848 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.61, allocations: 43.94 kB / 0.7848 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.61, allocations: 31.92 kB / 0.7849 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006674/0.6107, allocations: 0.6082 MB / 0.7855 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6107, allocations: 0 / 0.7855 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008228/0.6115, allocations: 316 kB / 0.7858 GB, free: 15.68 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003509/0.6119, allocations: 189.5 kB / 0.786 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.6132, allocations: 1.011 MB / 0.7869 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6132, allocations: 0 / 0.7869 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.6138, allocations: 447.3 kB / 0.7874 GB, free: 14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.6161, allocations: 0.6215 MB / 0.788 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.6189, allocations: 2.492 MB / 0.7904 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.6196, allocations: 1.194 MB / 0.7916 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007562/0.6204, allocations: 248.4 kB / 0.7918 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.6206, allocations: 79.42 kB / 0.7919 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6206, allocations: 4 kB / 0.7919 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.02812/0.6487, allocations: 20.59 MB / 0.812 GB, free: 4.977 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: