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.00539/0.00539, allocations: 100.8 kB / 15.73 MB, free: 6.047 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: 199 kB / 16.67 MB, free: 5.977 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.5856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4414, allocations: 80.91 MB / 0.6647 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1987/0.6401, allocations: 190.5 MB / 0.8507 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008939/0.6491, allocations: 5.69 MB / 0.8562 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.6505, allocations: 39.75 kB / 0.8563 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.6521, allocations: 0.5981 MB / 0.8568 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.6567, allocations: 1.89 MB / 0.8587 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.6599, allocations: 1.187 MB / 0.8598 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003399/0.6633, allocations: 2.967 MB / 0.8627 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.6648, allocations: 1.109 MB / 0.8638 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.6664, allocations: 1.109 MB / 0.8649 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.668, allocations: 0.9714 MB / 0.8659 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.6682, allocations: 120 kB / 0.866 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.671, allocations: 1.454 MB / 0.8674 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.6716, allocations: 0.565 MB / 0.8679 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.6724, allocations: 0.7234 MB / 0.8686 GB, free: 156 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4243/1.097, allocations: 2.338 MB / 0.8709 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.097, allocations: 0 / 0.8709 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.004e-06/1.097, allocations: 0 / 0.8709 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.747e-05/1.097, allocations: 1.562 kB / 0.8709 GB, free: 7.117 MB / 0.6856 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.00291/1.1, allocations: 1.622 MB / 0.8725 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.1, allocations: 10.31 kB / 0.8725 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/1.102, allocations: 329.7 kB / 0.8728 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/1.103, allocations: 0.9098 MB / 0.8737 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/1.103, allocations: 80.28 kB / 0.8738 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/1.104, allocations: 101.9 kB / 0.8739 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.105, allocations: 1.076 MB / 0.875 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/1.106, allocations: 3.906 kB / 0.875 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.106, allocations: 47.17 kB / 0.875 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/1.106, allocations: 40.02 kB / 0.875 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/1.107, allocations: 0.9887 MB / 0.876 GB, free: 5.902 MB / 0.6856 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.005865/1.113, allocations: 4.213 MB / 0.8801 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.114, allocations: 0.5958 MB / 0.8807 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/1.115, allocations: 343.3 kB / 0.881 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.115, allocations: 107.3 kB / 0.8811 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/1.115, allocations: 48.45 kB / 0.8812 GB, free: 20.03 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/1.115, allocations: 0.9375 kB / 0.8812 GB, free: 20.03 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55): time 0.004291/1.12, allocations: 2.199 MB / 0.8833 GB, free: 19.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.12, allocations: 60.28 kB / 0.8834 GB, free: 19.17 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.121, allocations: 0.8836 MB / 0.8842 GB, free: 19.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/1.122, allocations: 38.05 kB / 0.8843 GB, free: 19 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/1.122, allocations: 0.5113 MB / 0.8848 GB, free: 18.78 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/1.122, allocations: 202.9 kB / 0.885 GB, free: 18.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/1.123, allocations: 131 kB / 0.8851 GB, free: 18.63 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.123, allocations: 336.3 kB / 0.8854 GB, free: 18.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/1.124, allocations: 282.3 kB / 0.8857 GB, free: 18.32 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/1.124, allocations: 449.6 kB / 0.8861 GB, free: 18.18 MB / 0.7012 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.003896/1.128, allocations: 1.729 MB / 0.8878 GB, free: 17.93 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.128, allocations: 1.312 kB / 0.8878 GB, free: 17.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001689/1.13, allocations: 0.9269 MB / 0.8887 GB, free: 17.81 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.13, allocations: 7.188 kB / 0.8887 GB, free: 17.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.13, allocations: 4.219 kB / 0.8887 GB, free: 17.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/1.13, allocations: 99.62 kB / 0.8888 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/1.131, allocations: 166.4 kB / 0.889 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/1.135, allocations: 4.629 MB / 0.8935 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.136, allocations: 35.12 kB / 0.8935 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/1.136, allocations: 31.06 kB / 0.8936 GB, free: 13.76 MB / 0.7012 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.0007141/1.137, allocations: 348.2 kB / 0.8939 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.137, allocations: 106.4 kB / 0.894 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/1.137, allocations: 111.1 kB / 0.8941 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.137, allocations: 6.969 kB / 0.8941 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.137, allocations: 0 / 0.8941 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/1.138, allocations: 0.7618 MB / 0.8949 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/1.141, allocations: 1.994 MB / 0.8968 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.141, allocations: 2.156 kB / 0.8968 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/1.142, allocations: 149 kB / 0.8969 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/1.142, allocations: 39.95 kB / 0.897 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/1.142, allocations: 21.41 kB / 0.897 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.143, allocations: 1.6 MB / 0.8986 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.143, allocations: 4.781 kB / 0.8986 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/1.145, allocations: 1.234 MB / 0.8998 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/1.146, allocations: 257.1 kB / 0.9 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.146, allocations: 15.88 kB / 0.9 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/1.146, allocations: 39.75 kB / 0.9001 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.147, allocations: 55.92 kB / 0.9001 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/1.147, allocations: 29.94 kB / 0.9002 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000808/1.147, allocations: 0.6112 MB / 0.9008 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.147, allocations: 0 / 0.9008 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001036/1.148, allocations: 308.6 kB / 0.901 GB, free: 10.95 MB / 0.7012 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.000385/1.149, allocations: 193 kB / 0.9012 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001295/1.15, allocations: 1.009 MB / 0.9022 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.15, allocations: 2.281 kB / 0.9022 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/1.151, allocations: 447.6 kB / 0.9026 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.153, allocations: 0.6431 MB / 0.9033 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/1.156, allocations: 2.089 MB / 0.9053 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/1.156, allocations: 1.171 MB / 0.9065 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007167/1.157, allocations: 246.3 kB / 0.9067 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.157, allocations: 76.5 kB / 0.9068 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of SimCode: time 4.01e-07/1.157, allocations: 3 kB / 0.9068 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of Templates: time 0.03194/1.189, allocations: 22.53 MB / 0.9288 GB, free: 4.895 MB / 0.7012 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)