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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.00155/0.00155, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001539/0.001539, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7928/0.7928, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3665, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5321/0.8986, allocations: 190.4 MB / 0.7675 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007814/0.9065, allocations: 5.702 MB / 0.773 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.9076, allocations: 40.06 kB / 0.7731 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.9088, allocations: 0.5688 MB / 0.7736 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.9128, allocations: 1.818 MB / 0.7754 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.9155, allocations: 1.192 MB / 0.7766 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003645/0.9192, allocations: 2.95 MB / 0.7794 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.9207, allocations: 1.128 MB / 0.7805 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.9222, allocations: 1.059 MB / 0.7816 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.9237, allocations: 0.957 MB / 0.7825 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.9239, allocations: 122.3 kB / 0.7826 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.9264, allocations: 1.452 MB / 0.784 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.9268, allocations: 0.5621 MB / 0.7846 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.9276, allocations: 0.7246 MB / 0.7853 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.9299, allocations: 2.341 MB / 0.7876 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.93, allocations: 0.9375 kB / 0.7876 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.93, allocations: 0 / 0.7876 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.93, allocations: 0 / 0.7876 GB, free: 1.148 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.002267/0.9323, allocations: 1.618 MB / 0.7892 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9323, allocations: 10.66 kB / 0.7892 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.9342, allocations: 326.9 kB / 0.7895 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.9356, allocations: 0.9128 MB / 0.7904 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.9357, allocations: 80.34 kB / 0.7905 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.9358, allocations: 99.19 kB / 0.7906 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.9373, allocations: 1.078 MB / 0.7916 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.9374, allocations: 6.031 kB / 0.7916 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/0.9375, allocations: 42.81 kB / 0.7917 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.9375, allocations: 43.09 kB / 0.7917 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.9389, allocations: 0.9949 MB / 0.7927 GB, free: 15.86 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.005808/0.9447, allocations: 4.21 MB / 0.7968 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.9456, allocations: 0.6033 MB / 0.7974 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.9461, allocations: 344.5 kB / 0.7977 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.9463, allocations: 100.6 kB / 0.7978 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.9463, allocations: 45.38 kB / 0.7978 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.874e-06/0.9463, allocations: 0 / 0.7978 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003517/0.9499, allocations: 2.199 MB / 0.8 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.9499, allocations: 63.91 kB / 0.8 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.9508, allocations: 0.8866 MB / 0.8009 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.9509, allocations: 35.14 kB / 0.8009 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.9512, allocations: 0.5138 MB / 0.8014 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.9514, allocations: 201.6 kB / 0.8016 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.9516, allocations: 134.4 kB / 0.8018 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9517, allocations: 334.7 kB / 0.8021 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.9521, allocations: 289.9 kB / 0.8024 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.9527, allocations: 441.7 kB / 0.8028 GB, free: 12.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.003495/0.9562, allocations: 1.735 MB / 0.8045 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9562, allocations: 0 / 0.8045 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001319/0.9575, allocations: 0.9244 MB / 0.8054 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9575, allocations: 10.69 kB / 0.8054 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9576, allocations: 3.219 kB / 0.8054 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.9578, allocations: 100.7 kB / 0.8055 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.9584, allocations: 165.1 kB / 0.8056 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.9619, allocations: 4.624 MB / 0.8102 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.9629, allocations: 34.86 kB / 0.8102 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.963, allocations: 29.59 kB / 0.8102 GB, free: 7.652 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.0005161/0.9635, allocations: 345.2 kB / 0.8106 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.9636, allocations: 100.2 kB / 0.8106 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.9638, allocations: 115.1 kB / 0.8108 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.9638, allocations: 7.688 kB / 0.8108 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.9639, allocations: 0.9688 kB / 0.8108 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009561/0.9648, allocations: 0.763 MB / 0.8115 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.9677, allocations: 1.993 MB / 0.8135 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9678, allocations: 4.344 kB / 0.8135 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.9684, allocations: 149.6 kB / 0.8136 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.94e-05/0.9685, allocations: 38.61 kB / 0.8136 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.9685, allocations: 15.75 kB / 0.8137 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.9697, allocations: 1.604 MB / 0.8152 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.9697, allocations: 12.39 kB / 0.8152 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.9713, allocations: 1.231 MB / 0.8164 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.9717, allocations: 251 kB / 0.8167 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9719, allocations: 21.89 kB / 0.8167 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/0.9726, allocations: 44.17 kB / 0.8167 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.9727, allocations: 46.77 kB / 0.8168 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.9727, allocations: 36.11 kB / 0.8168 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006616/0.9734, allocations: 0.6106 MB / 0.8174 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9734, allocations: 0 / 0.8174 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008766/0.9743, allocations: 307.9 kB / 0.8177 GB, free: 4.836 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.0003967/0.9747, allocations: 186.7 kB / 0.8179 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.9761, allocations: 1.009 MB / 0.8189 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9762, allocations: 2.719 kB / 0.8189 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.9767, allocations: 457.7 kB / 0.8193 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.9791, allocations: 0.652 MB / 0.8199 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.9821, allocations: 2.077 MB / 0.822 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.9829, allocations: 1.167 MB / 0.8231 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007484/0.9836, allocations: 257.9 kB / 0.8234 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.9839, allocations: 76.31 kB / 0.8234 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.9839, allocations: 3.938 kB / 0.8234 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.03297/1.017, allocations: 22.33 MB / 0.8452 GB, free: 14.66 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)