Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00272/0.002726, allocations: 348.5 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.458/3.458, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00354/0.00354, allocations: 218.1 kB / 397.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4581/0.4581, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004935, allocations: 8 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08636, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.477/2.563, allocations: 0.6811 GB / 1.288 GB, free: 107.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/2.563, allocations: 86.47 kB / 1.288 GB, free: 107.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.08/5.643, allocations: 0.5475 GB / 1.835 GB, free: 35.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.865e-06/5.643, allocations: 0 / 1.835 GB, free: 35.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003157/5.643, allocations: 63.39 kB / 1.835 GB, free: 35.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01489/5.658, allocations: 3.305 MB / 1.839 GB, free: 34.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/5.658, allocations: 8.5 kB / 1.839 GB, free: 34.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/5.663, allocations: 447.8 kB / 1.839 GB, free: 33.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/5.675, allocations: 3.17 MB / 1.842 GB, free: 33.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/5.675, allocations: 130.6 kB / 1.842 GB, free: 33.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007196/5.676, allocations: 159.9 kB / 1.843 GB, free: 33.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006844/5.683, allocations: 2.626 MB / 1.845 GB, free: 33.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-05/5.683, allocations: 11.94 kB / 1.845 GB, free: 33.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/5.683, allocations: 70.06 kB / 1.845 GB, free: 33.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/5.683, allocations: 152.7 kB / 1.845 GB, free: 33.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006484/5.69, allocations: 2.237 MB / 1.847 GB, free: 33 MB / 458.7 MB 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.02223/5.712, allocations: 10.95 MB / 1.858 GB, free: 27.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/5.717, allocations: 1.789 MB / 1.86 GB, free: 26.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00267/5.72, allocations: 1.054 MB / 1.861 GB, free: 26.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003722/5.724, allocations: 2.427 MB / 1.863 GB, free: 24.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003179/5.727, allocations: 1.175 MB / 1.864 GB, free: 24.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 5.029e-06/5.727, allocations: 0 / 1.864 GB, free: 24.68 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=181): time 0.0436/5.771, allocations: 10.65 MB / 1.875 GB, free: 23.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/5.771, allocations: 258 kB / 1.875 GB, free: 22.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/5.774, allocations: 1.514 MB / 1.877 GB, free: 22.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006508/5.774, allocations: 65.67 kB / 1.877 GB, free: 22.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008365/5.775, allocations: 0.8636 MB / 1.877 GB, free: 22.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/5.776, allocations: 0.6117 MB / 1.878 GB, free: 21.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/5.776, allocations: 40.38 kB / 1.878 GB, free: 21.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/5.777, allocations: 389.2 kB / 1.878 GB, free: 21.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/5.78, allocations: 1.022 MB / 1.879 GB, free: 21.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/5.784, allocations: 1.477 MB / 1.881 GB, free: 21.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/5.788, allocations: 1.289 MB / 1.882 GB, free: 21.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/5.788, allocations: 9.891 kB / 1.882 GB, free: 21.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009809/5.797, allocations: 3.113 MB / 1.885 GB, free: 20.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003162/5.798, allocations: 474.3 kB / 1.886 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/5.798, allocations: 11.72 kB / 1.886 GB, free: 20.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/5.799, allocations: 183.4 kB / 1.886 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/5.803, allocations: 0.556 MB / 1.886 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/5.805, allocations: 2.33 MB / 1.889 GB, free: 18.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/5.809, allocations: 208.7 kB / 1.889 GB, free: 18.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009388/5.81, allocations: 188.9 kB / 1.889 GB, free: 18.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/5.81, allocations: 8.625 kB / 1.889 GB, free: 18.14 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008203/5.819, allocations: 2.836 MB / 1.892 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/5.819, allocations: 16.16 kB / 1.892 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/5.819, allocations: 189.2 kB / 1.892 GB, free: 17.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/5.824, allocations: 0.5344 MB / 1.893 GB, free: 17.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/5.825, allocations: 2.335 MB / 1.895 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/5.829, allocations: 210.3 kB / 1.895 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007772/5.83, allocations: 180.4 kB / 1.895 GB, free: 15.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002193/5.832, allocations: 0.6947 MB / 1.896 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006842/5.833, allocations: 201.1 kB / 1.896 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/5.845, allocations: 3.549 MB / 1.9 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/5.846, allocations: 18.91 kB / 1.9 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/5.846, allocations: 2.875 kB / 1.9 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00713/5.853, allocations: 2.777 MB / 1.902 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/5.874, allocations: 7.608 MB / 1.91 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/5.874, allocations: 6.031 kB / 1.91 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003805/5.878, allocations: 453.8 kB / 1.91 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/5.878, allocations: 188 kB / 1.91 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/5.879, allocations: 102.2 kB / 1.91 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/5.882, allocations: 3.068 MB / 1.913 GB, free: 24.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/5.882, allocations: 11.16 kB / 1.913 GB, free: 24.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/5.894, allocations: 4.304 MB / 1.918 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/5.896, allocations: 0.5426 MB / 1.918 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009762/5.897, allocations: 57.02 kB / 1.918 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/5.901, allocations: 127.7 kB / 1.918 GB, free: 21.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006555/5.901, allocations: 179.3 kB / 1.919 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004786/5.902, allocations: 174.4 kB / 1.919 GB, free: 21.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00221/5.904, allocations: 1.004 MB / 1.92 GB, free: 21.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/5.904, allocations: 0 / 1.92 GB, free: 21.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009294/5.913, allocations: 1.89 MB / 1.922 GB, free: 21.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008093/5.921, allocations: 2.356 MB / 1.924 GB, free: 20.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01279/5.934, allocations: 4.283 MB / 1.928 GB, free: 17.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/5.934, allocations: 0 / 1.928 GB, free: 17.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/5.938, allocations: 1.512 MB / 1.929 GB, free: 16.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008733/5.947, allocations: 0.9462 MB / 1.93 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/5.962, allocations: 5.753 MB / 1.936 GB, free: 10.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/5.965, allocations: 1.711 MB / 1.938 GB, free: 9.316 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009753/5.974, allocations: 1.354 MB / 1.939 GB, free: 8.375 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/5.977, allocations: 297.3 kB / 1.939 GB, free: 8.113 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/5.977, allocations: 0 / 1.939 GB, free: 8.113 MB / 474.7 MB Notification: Performance of Templates: time 0.5238/6.501, allocations: 70.86 MB / 2.009 GB, free: 43.88 MB / 474.7 MB