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.001562/0.001562, allocations: 109.7 kB / 16.37 MB, free: 6.473 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.001849/0.001849, allocations: 193.1 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.357/1.357, 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/package.mo): time 0.8076/0.8076, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4202, allocations: 80.17 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5653/0.9856, allocations: 190.4 MB / 0.7675 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.9947, allocations: 5.694 MB / 0.773 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.9961, allocations: 43.02 kB / 0.7731 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.9976, allocations: 0.5721 MB / 0.7736 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/1.003, allocations: 1.824 MB / 0.7754 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/1.006, allocations: 1.18 MB / 0.7766 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004308/1.011, allocations: 2.951 MB / 0.7794 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.013, allocations: 1.127 MB / 0.7805 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/1.015, allocations: 1.065 MB / 0.7816 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/1.017, allocations: 0.9647 MB / 0.7825 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002295/1.017, allocations: 123.1 kB / 0.7826 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/1.021, allocations: 1.448 MB / 0.7841 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006894/1.022, allocations: 0.5627 MB / 0.7846 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.023, allocations: 0.7262 MB / 0.7853 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/1.027, allocations: 2.339 MB / 0.7876 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.027, allocations: 3.219 kB / 0.7876 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/1.027, allocations: 0 / 0.7876 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.72e-05/1.027, allocations: 0.7812 kB / 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.002656/1.029, allocations: 1.622 MB / 0.7892 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.029, allocations: 6.844 kB / 0.7892 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.031, allocations: 329.6 kB / 0.7895 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/1.033, allocations: 0.917 MB / 0.7904 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/1.033, allocations: 72.91 kB / 0.7905 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/1.033, allocations: 100.9 kB / 0.7906 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.035, allocations: 1.079 MB / 0.7916 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/1.035, allocations: 3.906 kB / 0.7916 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/1.035, allocations: 44.98 kB / 0.7917 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/1.035, allocations: 39.08 kB / 0.7917 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.036, allocations: 0.9936 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.005761/1.042, allocations: 4.213 MB / 0.7968 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/1.043, allocations: 0.5999 MB / 0.7974 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/1.044, allocations: 341 kB / 0.7977 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/1.044, allocations: 105.4 kB / 0.7978 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.044, allocations: 41.78 kB / 0.7978 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/1.044, allocations: 0 / 0.7978 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004004/1.048, allocations: 2.198 MB / 0.8 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.048, allocations: 60.81 kB / 0.8001 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.049, allocations: 0.8894 MB / 0.8009 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/1.049, allocations: 38.36 kB / 0.801 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/1.049, allocations: 0.5172 MB / 0.8015 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.05, allocations: 192.6 kB / 0.8016 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.05, allocations: 136.7 kB / 0.8018 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.05, allocations: 334.3 kB / 0.8021 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/1.05, allocations: 281 kB / 0.8024 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/1.051, allocations: 448.1 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.00391/1.055, allocations: 1.737 MB / 0.8045 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.055, allocations: 2.625 kB / 0.8045 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001569/1.056, allocations: 0.9213 MB / 0.8054 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.056, allocations: 8.312 kB / 0.8054 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.057, allocations: 3.531 kB / 0.8054 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/1.057, allocations: 101.2 kB / 0.8055 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/1.057, allocations: 162.9 kB / 0.8057 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/1.061, allocations: 4.629 MB / 0.8102 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.062, allocations: 37.28 kB / 0.8102 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/1.062, allocations: 28.44 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.0005555/1.063, allocations: 347.7 kB / 0.8106 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.063, allocations: 100.5 kB / 0.8107 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/1.063, allocations: 108.1 kB / 0.8108 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.063, allocations: 10.81 kB / 0.8108 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.063, allocations: 3.938 kB / 0.8108 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009443/1.064, allocations: 0.7653 MB / 0.8115 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/1.067, allocations: 1.986 MB / 0.8135 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/1.067, allocations: 3.406 kB / 0.8135 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/1.068, allocations: 153 kB / 0.8136 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/1.068, allocations: 40.34 kB / 0.8137 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/1.068, allocations: 17.92 kB / 0.8137 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/1.07, allocations: 1.61 MB / 0.8152 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.07, allocations: 3.812 kB / 0.8152 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/1.072, allocations: 1.233 MB / 0.8165 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/1.072, allocations: 248.9 kB / 0.8167 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.072, allocations: 22.83 kB / 0.8167 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/1.073, allocations: 37.25 kB / 0.8167 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.073, allocations: 46.22 kB / 0.8168 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/1.073, allocations: 34.27 kB / 0.8168 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007394/1.074, allocations: 0.615 MB / 0.8174 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.074, allocations: 0 / 0.8174 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009521/1.075, allocations: 305.4 kB / 0.8177 GB, free: 4.844 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.000429/1.076, allocations: 200.4 kB / 0.8179 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00142/1.077, allocations: 1.009 MB / 0.8189 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.077, allocations: 3.531 kB / 0.8189 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/1.077, allocations: 453.5 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.002364/1.08, allocations: 0.6556 MB / 0.82 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/1.083, 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.0007343/1.083, allocations: 1.17 MB / 0.8231 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007179/1.084, allocations: 252.5 kB / 0.8234 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/1.084, allocations: 77.83 kB / 0.8235 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/1.084, allocations: 0 / 0.8235 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.03434/1.119, allocations: 22.33 MB / 0.8453 GB, free: 14.64 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)