Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007544/0.007544, allocations: 176.2 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.808/1.808, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001799/0.001799, allocations: 132.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1892/0.1892, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 16.25 kB / 406.2 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.952/6.071, allocations: 2.66 GB / 3.11 GB, free: 81.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/6.071, allocations: 84.19 kB / 3.11 GB, free: 81.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.059/9.13, allocations: 0.9012 GB / 4.012 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.885e-06/9.13, allocations: 0 / 4.012 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000222/9.13, allocations: 68.53 kB / 4.012 GB, free: 32.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01641/9.147, allocations: 4.306 MB / 4.016 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/9.147, allocations: 7.062 kB / 4.016 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/9.153, allocations: 0.8743 MB / 4.017 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00628/9.16, allocations: 2.095 MB / 4.019 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/9.16, allocations: 183.1 kB / 4.019 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/9.161, allocations: 199.9 kB / 4.019 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008423/9.169, allocations: 3.688 MB / 4.023 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/9.169, allocations: 9.062 kB / 4.023 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/9.17, allocations: 86.98 kB / 4.023 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/9.17, allocations: 168.3 kB / 4.023 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007283/9.177, allocations: 3.433 MB / 4.026 GB, free: 29.02 MB / 0.5105 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.01932/9.197, allocations: 15.42 MB / 4.041 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/9.202, allocations: 2.268 MB / 4.044 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03125/9.233, allocations: 18.88 MB / 4.062 GB, free: 23.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004081/9.237, allocations: 1.686 MB / 4.064 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=163): time 4.038e-06/9.237, allocations: 0 / 4.064 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179): time 0.02273/9.26, allocations: 9.009 MB / 4.073 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/9.26, allocations: 261.5 kB / 4.073 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/9.262, allocations: 1.449 MB / 4.074 GB, free: 21.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/9.262, allocations: 56.89 kB / 4.074 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/9.263, allocations: 0.9958 MB / 4.075 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/9.263, allocations: 0.5989 MB / 4.076 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/9.264, allocations: 43.25 kB / 4.076 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001685/9.264, allocations: 388.6 kB / 4.076 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/9.266, allocations: 1.125 MB / 4.077 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/9.268, allocations: 1.591 MB / 4.079 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/9.27, allocations: 1.384 MB / 4.08 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/9.27, allocations: 8.75 kB / 4.08 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.005451/9.275, allocations: 3.285 MB / 4.083 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001757/9.277, allocations: 5 MB / 4.088 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/9.277, allocations: 17.25 kB / 4.088 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/9.278, allocations: 253.9 kB / 4.089 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/9.28, allocations: 0.5131 MB / 4.089 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/9.281, allocations: 2.436 MB / 4.091 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/9.284, allocations: 274.5 kB / 4.092 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/9.284, allocations: 101 kB / 4.092 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/9.284, allocations: 3.531 kB / 4.092 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00495/9.289, allocations: 3.018 MB / 4.095 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/9.289, allocations: 13.66 kB / 4.095 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008153/9.29, allocations: 254.7 kB / 4.095 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/9.292, allocations: 0.507 MB / 4.096 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/9.293, allocations: 2.438 MB / 4.098 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/9.296, allocations: 266.1 kB / 4.098 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/9.296, allocations: 97.69 kB / 4.098 GB, free: 10.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 30 (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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,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.001539/9.297, allocations: 0.762 MB / 4.099 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/9.298, allocations: 210.4 kB / 4.099 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009171/9.307, allocations: 7.62 MB / 4.107 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.917e-05/9.307, allocations: 86.48 kB / 4.107 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/9.307, allocations: 0 / 4.107 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007256/9.314, allocations: 6.641 MB / 4.113 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/9.327, allocations: 10.85 MB / 4.124 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/9.328, allocations: 1.625 kB / 4.124 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/9.329, allocations: 415 kB / 4.124 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/9.33, allocations: 358.8 kB / 4.125 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/9.331, allocations: 77 kB / 4.125 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/9.332, allocations: 2.522 MB / 4.127 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/9.332, allocations: 0 / 4.127 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009806/9.342, allocations: 7.133 MB / 4.134 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/9.344, allocations: 0.7556 MB / 4.135 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/9.345, allocations: 51.8 kB / 4.135 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/9.346, allocations: 208.9 kB / 4.135 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/9.346, allocations: 153.5 kB / 4.135 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/9.347, allocations: 71.11 kB / 4.135 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001833/9.348, allocations: 1.221 MB / 4.136 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.495e-06/9.348, allocations: 0 / 4.136 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01097/9.359, allocations: 2.847 MB / 4.139 GB, free: 7.152 MB / 0.5417 GB 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: 56 ($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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled,splitter.medium.phase) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,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.01298/9.372, allocations: 2.953 MB / 4.142 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009781/9.382, allocations: 5.318 MB / 4.147 GB, free: 156 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/9.382, allocations: 4 kB / 4.147 GB, free: 152 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.2838/9.666, allocations: 3.087 MB / 4.15 GB, free: 60.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004935/9.671, allocations: 0.9641 MB / 4.151 GB, free: 60.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.193/9.864, allocations: 130.5 MB / 4.279 GB, free: 47.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/9.866, allocations: 2.281 MB / 4.281 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004381/9.87, allocations: 2.444 MB / 4.283 GB, free: 46.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/9.871, allocations: 194.6 kB / 4.283 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of SimCode: time 6.02e-07/9.871, allocations: 4.219 kB / 4.284 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.3847/10.26, allocations: 84.67 MB / 4.366 GB, free: 73.72 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe 2>&1)