Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008323/0.0008323, allocations: 99.86 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.0008954/0.0008953, 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.189/1.189, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8427/0.8427, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002917, allocations: 10.78 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1486, 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.3838/0.5324, allocations: 158.2 MB / 0.7417 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00823/0.5407, allocations: 5.622 MB / 0.7472 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009656/0.5417, allocations: 35.75 kB / 0.7472 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.5431, allocations: 0.5611 MB / 0.7478 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.5473, allocations: 1.651 MB / 0.7494 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.5504, allocations: 1.195 MB / 0.7505 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.5528, allocations: 1.687 MB / 0.7522 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009611/0.5537, allocations: 0.8225 MB / 0.753 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.5548, allocations: 0.7785 MB / 0.7538 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006704/0.5555, allocations: 0.6032 MB / 0.7543 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.5556, allocations: 52 kB / 0.7544 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.5571, allocations: 0.624 MB / 0.755 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.5575, allocations: 454.8 kB / 0.7554 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.5577, allocations: 281.2 kB / 0.7557 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.5591, allocations: 1.552 MB / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.5591, allocations: 0 / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5591, allocations: 0 / 0.7572 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.5592, 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.002042/0.5612, allocations: 1.355 MB / 0.7585 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5612, allocations: 8.031 kB / 0.7586 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.563, allocations: 338.1 kB / 0.7589 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5643, allocations: 0.8324 MB / 0.7597 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.5644, allocations: 77.98 kB / 0.7598 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5645, allocations: 100 kB / 0.7599 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.5661, allocations: 1.069 MB / 0.7609 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.5662, allocations: 4 kB / 0.7609 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.5663, allocations: 51.81 kB / 0.761 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.5663, allocations: 38 kB / 0.761 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.5678, allocations: 0.9954 MB / 0.762 GB, free: 9.488 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.005403/0.5732, allocations: 4.243 MB / 0.7661 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.574, allocations: 0.5943 MB / 0.7667 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.5741, allocations: 16.41 kB / 0.7667 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5741, allocations: 47.94 kB / 0.7667 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.446e-06/0.5742, allocations: 0 / 0.7667 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55): time 0.003548/0.5777, allocations: 2.221 MB / 0.7689 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.5778, allocations: 59.97 kB / 0.769 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.5787, allocations: 0.8726 MB / 0.7698 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.5787, allocations: 37.7 kB / 0.7699 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.5791, allocations: 0.5185 MB / 0.7704 GB, free: 424 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.5792, allocations: 201.1 kB / 0.7706 GB, free: 220 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.5793, allocations: 12 kB / 0.7706 GB, free: 208 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5794, allocations: 341.9 kB / 0.7709 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.5798, allocations: 285.8 kB / 0.7712 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.5804, allocations: 446.6 kB / 0.7716 GB, free: 15.1 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.002639/0.583, allocations: 1.1 MB / 0.7727 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5831, allocations: 3.938 kB / 0.7727 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001327/0.5844, allocations: 0.9258 MB / 0.7736 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5844, allocations: 8 kB / 0.7736 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5844, allocations: 4 kB / 0.7736 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.5846, allocations: 98.92 kB / 0.7737 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.5853, allocations: 168.3 kB / 0.7738 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.5889, allocations: 4.333 MB / 0.7781 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/0.5899, allocations: 75.3 kB / 0.7781 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.59, allocations: 32.19 kB / 0.7782 GB, free: 7.926 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.0005017/0.5905, allocations: 338.1 kB / 0.7785 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5906, allocations: 102.9 kB / 0.7786 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.5908, allocations: 109.2 kB / 0.7787 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5908, allocations: 12 kB / 0.7787 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5908, allocations: 3.953 kB / 0.7787 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009834/0.5918, allocations: 0.7653 MB / 0.7795 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.5947, allocations: 1.992 MB / 0.7814 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5947, allocations: 8.094 kB / 0.7814 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/0.5954, allocations: 159.8 kB / 0.7816 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.202e-05/0.5955, allocations: 40.83 kB / 0.7816 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.5955, allocations: 18.25 kB / 0.7816 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.5966, allocations: 1.495 MB / 0.7831 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5966, allocations: 4 kB / 0.7831 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.5982, allocations: 1.416 MB / 0.7845 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.5986, allocations: 248.3 kB / 0.7847 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5988, allocations: 15.95 kB / 0.7847 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007495/0.5995, allocations: 76.95 kB / 0.7848 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.5996, allocations: 43.95 kB / 0.7848 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.5997, allocations: 35.92 kB / 0.7849 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006892/0.6004, allocations: 0.6044 MB / 0.7855 GB, free: 8 kB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6004, allocations: 0 / 0.7855 GB, free: 8 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008704/0.6013, allocations: 312 kB / 0.7858 GB, free: 15.7 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.0003829/0.6016, allocations: 191.7 kB / 0.7859 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.603, allocations: 1.007 MB / 0.7869 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.603, allocations: 8.25 kB / 0.7869 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.6036, allocations: 442.3 kB / 0.7874 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.6059, allocations: 0.615 MB / 0.788 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.6089, allocations: 2.503 MB / 0.7904 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.6096, allocations: 1.194 MB / 0.7916 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007892/0.6104, allocations: 248.4 kB / 0.7918 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6105, allocations: 79.42 kB / 0.7919 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6106, allocations: 0 / 0.7919 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of Templates: time 0.02869/0.6393, allocations: 20.59 MB / 0.812 GB, free: 5 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: