Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.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.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001548/0.001548, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.657/1.657, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001725/0.001725, allocations: 113.1 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2447/0.2447, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.622e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.014/8.152, allocations: 2.656 GB / 3.1 GB, free: 78.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/8.153, allocations: 79.19 kB / 3.1 GB, free: 78.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.04/11.19, allocations: 0.8017 GB / 3.902 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.298e-06/11.19, allocations: 4 kB / 3.902 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002447/11.19, allocations: 67.92 kB / 3.902 GB, free: 21.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01819/11.21, allocations: 3.953 MB / 3.906 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.89e-05/11.21, allocations: 8.031 kB / 3.906 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006987/11.22, allocations: 0.8362 MB / 3.907 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006564/11.23, allocations: 2.168 MB / 3.909 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/11.23, allocations: 171.7 kB / 3.909 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008208/11.23, allocations: 200 kB / 3.909 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/11.23, allocations: 3.702 MB / 3.913 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-05/11.23, allocations: 4 kB / 3.913 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/11.23, allocations: 91.91 kB / 3.913 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/11.23, allocations: 159.7 kB / 3.913 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/11.24, allocations: 3.426 MB / 3.916 GB, free: 6.086 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.02285/11.26, allocations: 14.76 MB / 3.931 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/11.27, allocations: 2.125 MB / 3.933 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/11.27, allocations: 1.059 MB / 3.934 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4708/11.74, allocations: 18.94 MB / 3.952 GB, free: 31.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004463/11.75, allocations: 1.685 MB / 3.954 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001655/11.75, allocations: 189 kB / 3.954 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 5.45e-06/11.75, allocations: 1.125 kB / 3.954 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.02052/11.77, allocations: 7.336 MB / 3.961 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/11.77, allocations: 410.1 kB / 3.962 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/11.77, allocations: 1.49 MB / 3.963 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003316/11.77, allocations: 60.69 kB / 3.963 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/11.77, allocations: 0.998 MB / 3.964 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007232/11.78, allocations: 0.5759 MB / 3.965 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/11.78, allocations: 39.78 kB / 3.965 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001685/11.78, allocations: 388.3 kB / 3.965 GB, free: 29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/11.78, allocations: 1.062 MB / 3.966 GB, free: 29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/11.78, allocations: 1.529 MB / 3.968 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/11.78, allocations: 1.328 MB / 3.969 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/11.78, allocations: 4.531 kB / 3.969 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.006267/11.79, allocations: 3.303 MB / 3.972 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001871/11.79, allocations: 4.58 MB / 3.977 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-05/11.79, allocations: 13.94 kB / 3.977 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/11.8, allocations: 0.9664 MB / 3.978 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/11.8, allocations: 471.1 kB / 3.978 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/11.8, allocations: 3.16 MB / 3.981 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/11.8, allocations: 238.9 kB / 3.982 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/11.8, allocations: 110.8 kB / 3.982 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/11.8, allocations: 5.906 kB / 3.982 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005395/11.81, allocations: 2.971 MB / 3.985 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/11.81, allocations: 16.56 kB / 3.985 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/11.81, allocations: 355.8 kB / 3.985 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/11.81, allocations: 496.9 kB / 3.985 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/11.82, allocations: 4.05 MB / 3.989 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/11.82, allocations: 236.7 kB / 3.99 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/11.82, allocations: 101.7 kB / 3.99 GB, free: 18.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 29 (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,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * 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,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008253/11.82, allocations: 302.7 kB / 3.99 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/11.82, allocations: 211 kB / 3.99 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/11.83, allocations: 7.75 MB / 3.998 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.999e-05/11.83, allocations: 81.23 kB / 3.998 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/11.83, allocations: 1.641 kB / 3.998 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007018/11.84, allocations: 6.774 MB / 4.004 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/11.85, allocations: 10.79 MB / 4.015 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/11.85, allocations: 0 / 4.015 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/11.85, allocations: 340.5 kB / 4.015 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/11.86, allocations: 2.502 MB / 4.018 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/11.86, allocations: 65.53 kB / 4.018 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/11.86, allocations: 4.088 MB / 4.022 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/11.86, allocations: 0 / 4.022 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00973/11.87, allocations: 7.675 MB / 4.029 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/11.87, allocations: 0.7515 MB / 4.03 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/11.87, allocations: 56.98 kB / 4.03 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/11.88, allocations: 190.5 kB / 4.03 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/11.88, allocations: 145.3 kB / 4.03 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/11.88, allocations: 71.2 kB / 4.03 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001893/11.88, allocations: 1.235 MB / 4.032 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/11.88, allocations: 2.406 kB / 4.032 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01251/11.89, allocations: 2.825 MB / 4.034 GB, free: 12.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible.filter.x[1],valveIncompressible.filter.x[2],valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 55 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.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) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * 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,3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/11.91, allocations: 2.845 MB / 4.037 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009477/11.92, allocations: 5.373 MB / 4.042 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/11.92, allocations: 7.375 kB / 4.042 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/11.92, allocations: 2.354 MB / 4.045 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00511/11.92, allocations: 0.8896 MB / 4.046 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6477/12.57, allocations: 127.8 MB / 4.17 GB, free: 67.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/12.57, allocations: 2.305 MB / 4.173 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005336/12.58, allocations: 2.383 MB / 4.175 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/12.58, allocations: 158.5 kB / 4.175 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/12.58, allocations: 0 / 4.175 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of Templates: time 0.139/12.72, allocations: 91.85 MB / 4.265 GB, free: 58.39 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe 2>&1)