Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.BranchingPipes4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|splitter.medium.h|splitter.medium.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.BranchingPipes4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004123/0.004129, allocations: 346.8 kB / 15.93 MB, free: 6.219 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.66/3.66, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00503/0.00503, allocations: 222.1 kB / 397.9 MB, free: 4.969 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.4655/0.4655, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08991, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.997/8.087, allocations: 2.55 GB / 3.156 GB, free: 88.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/8.088, allocations: 82.33 kB / 3.156 GB, free: 88.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.913/13, allocations: 0.8383 GB / 3.995 GB, free: 29.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.085e-06/13, allocations: 1.094 kB / 3.995 GB, free: 29.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003541/13, allocations: 66.56 kB / 3.995 GB, free: 29.29 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.02047/13.02, allocations: 4.171 MB / 3.999 GB, free: 27.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/13.02, allocations: 10.16 kB / 3.999 GB, free: 27.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/13.03, allocations: 0.8461 MB / 4 GB, free: 27.37 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0419/13.07, allocations: 13.26 MB / 4.013 GB, free: 26.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003654/13.07, allocations: 179.9 kB / 4.013 GB, free: 26.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/13.07, allocations: 201.7 kB / 4.013 GB, free: 26.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/13.09, allocations: 3.69 MB / 4.017 GB, free: 26.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/13.09, allocations: 7.031 kB / 4.017 GB, free: 26.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000743/13.09, allocations: 95.3 kB / 4.017 GB, free: 26.31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/13.09, allocations: 170.5 kB / 4.017 GB, free: 26.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/13.1, allocations: 3.42 MB / 4.02 GB, free: 26.29 MB / 474.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.03246/13.14, allocations: 15.36 MB / 4.035 GB, free: 17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009266/13.15, allocations: 2.261 MB / 4.037 GB, free: 16.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/13.15, allocations: 1.12 MB / 4.038 GB, free: 16.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05992/13.21, allocations: 18.88 MB / 4.057 GB, free: 21.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007561/13.22, allocations: 1.682 MB / 4.059 GB, free: 20.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 7.965e-06/13.22, allocations: 3.344 kB / 4.059 GB, free: 20.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=175): time 0.04272/13.26, allocations: 8.83 MB / 4.067 GB, free: 19.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/13.26, allocations: 263.8 kB / 4.067 GB, free: 19.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/13.26, allocations: 1.631 MB / 4.069 GB, free: 19.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005966/13.26, allocations: 56.39 kB / 4.069 GB, free: 19.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/13.27, allocations: 0.9876 MB / 4.07 GB, free: 19.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/13.27, allocations: 0.5906 MB / 4.071 GB, free: 18.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/13.27, allocations: 41.72 kB / 4.071 GB, free: 18.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/13.27, allocations: 390 kB / 4.071 GB, free: 18.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/13.27, allocations: 1.122 MB / 4.072 GB, free: 18.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/13.28, allocations: 1.591 MB / 4.074 GB, free: 17.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/13.28, allocations: 1.363 MB / 4.075 GB, free: 17.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/13.28, allocations: 3.188 kB / 4.075 GB, free: 17.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01101/13.29, allocations: 3.305 MB / 4.078 GB, free: 17.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004023/13.29, allocations: 0.5093 MB / 4.079 GB, free: 16.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/13.29, allocations: 13.66 kB / 4.079 GB, free: 16.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/13.29, allocations: 253.4 kB / 4.079 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/13.3, allocations: 0.5152 MB / 4.079 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/13.3, allocations: 2.432 MB / 4.082 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/13.3, allocations: 273.6 kB / 4.082 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007268/13.3, allocations: 103 kB / 4.082 GB, free: 14.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/13.3, allocations: 5.938 kB / 4.082 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/13.31, allocations: 3.041 MB / 4.085 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/13.31, allocations: 15.12 kB / 4.085 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/13.32, allocations: 251.4 kB / 4.085 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/13.32, allocations: 0.5116 MB / 4.086 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/13.32, allocations: 2.429 MB / 4.088 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/13.33, allocations: 271.3 kB / 4.089 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/13.33, allocations: 103.9 kB / 4.089 GB, free: 12.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 28 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,splitter.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * 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.002396/13.33, allocations: 0.7493 MB / 4.089 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/13.33, allocations: 212.5 kB / 4.09 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/13.35, allocations: 7.625 MB / 4.097 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.625e-05/13.35, allocations: 88.39 kB / 4.097 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/13.35, allocations: 3.953 kB / 4.097 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01369/13.36, allocations: 6.656 MB / 4.104 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/13.38, allocations: 10.83 MB / 4.114 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/13.39, allocations: 7.25 kB / 4.114 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/13.39, allocations: 415.6 kB / 4.115 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/13.39, allocations: 364.7 kB / 4.115 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006666/13.39, allocations: 64.88 kB / 4.115 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/13.39, allocations: 2.517 MB / 4.117 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/13.39, allocations: 3.75 kB / 4.117 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/13.41, allocations: 7.137 MB / 4.124 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/13.41, allocations: 0.7449 MB / 4.125 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009004/13.41, allocations: 51.75 kB / 4.125 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/13.42, allocations: 208.2 kB / 4.125 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/13.42, allocations: 149.7 kB / 4.126 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002872/13.42, allocations: 77.88 kB / 4.126 GB, free: 6.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002773/13.42, allocations: 1.195 MB / 4.127 GB, free: 6.207 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.004e-06/13.42, allocations: 0 / 4.127 GB, free: 6.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01356/13.44, allocations: 2.731 MB / 4.129 GB, free: 5.664 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,splitter.medium.p,splitter.medium.h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,splitter.medium.phase) * 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 (200): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 23 * 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 Backend phase and start with SimCode phase: time 0.01545/13.45, allocations: 2.829 MB / 4.132 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01511/13.47, allocations: 5.195 MB / 4.137 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/13.47, allocations: 3.094 kB / 4.137 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00583/13.47, allocations: 2.43 MB / 4.14 GB, free: 1.945 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009604/13.48, allocations: 0.9809 MB / 4.141 GB, free: 1.715 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6374/14.12, allocations: 81.44 MB / 4.22 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0038/14.12, allocations: 2.276 MB / 4.222 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008707/14.13, allocations: 2.432 MB / 4.225 GB, free: 53.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/14.13, allocations: 198 kB / 4.225 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.443e-06/14.13, allocations: 0 / 4.225 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.1915/14.32, allocations: 85.61 MB / 4.309 GB, free: 37.74 MB / 0.4948 GB