Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006456/0.006456, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.313/1.313, allocations: 170.8 MB / 186.6 MB, free: 1.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001858/0.001858, allocations: 115.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.357/0.357, allocations: 38.06 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 15.98 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09862, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/5.841, allocations: 2.545 GB / 2.947 GB, free: 55.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/5.842, allocations: 79.34 kB / 2.947 GB, free: 55.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.924/8.766, allocations: 0.7842 GB / 3.731 GB, free: 33.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.504e-06/8.766, allocations: 3.188 kB / 3.731 GB, free: 33.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002207/8.766, allocations: 64.56 kB / 3.732 GB, free: 33.96 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: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.01802/8.784, allocations: 4.128 MB / 3.736 GB, free: 31.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/8.784, allocations: 9.062 kB / 3.736 GB, free: 31.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/8.791, allocations: 0.8123 MB / 3.736 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006603/8.798, allocations: 2.175 MB / 3.738 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/8.798, allocations: 174.7 kB / 3.739 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007897/8.799, allocations: 200 kB / 3.739 GB, free: 31.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008824/8.808, allocations: 3.705 MB / 3.742 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/8.808, allocations: 7.469 kB / 3.742 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003086/8.808, allocations: 86.12 kB / 3.743 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/8.808, allocations: 170.8 kB / 3.743 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007577/8.816, allocations: 3.534 MB / 3.746 GB, free: 30.71 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.01839/8.834, allocations: 14.74 MB / 3.761 GB, free: 22.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004475/8.839, allocations: 2.199 MB / 3.763 GB, free: 22.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03146/8.87, allocations: 18.86 MB / 3.781 GB, free: 26.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004106/8.874, allocations: 1.661 MB / 3.783 GB, free: 26.12 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001524/8.876, allocations: 190.8 kB / 3.783 GB, free: 26.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=158): time 4.167e-06/8.876, allocations: 3.938 kB / 3.783 GB, free: 26.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=170): time 0.02205/8.898, allocations: 9.17 MB / 3.792 GB, free: 24.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002161/8.898, allocations: 413.3 kB / 3.792 GB, free: 24.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/8.9, allocations: 1.5 MB / 3.794 GB, free: 24.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/8.901, allocations: 61.95 kB / 3.794 GB, free: 24.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/8.901, allocations: 0.9935 MB / 3.795 GB, free: 23.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/8.902, allocations: 0.5799 MB / 3.795 GB, free: 23.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/8.902, allocations: 36.66 kB / 3.795 GB, free: 23.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/8.902, allocations: 392.4 kB / 3.796 GB, free: 23.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/8.904, allocations: 1.154 MB / 3.797 GB, free: 23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/8.906, allocations: 1.618 MB / 3.798 GB, free: 22.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/8.908, allocations: 1.411 MB / 3.8 GB, free: 22.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/8.908, allocations: 3.25 kB / 3.8 GB, free: 22.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006091/8.914, allocations: 3.524 MB / 3.803 GB, free: 22.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001805/8.916, allocations: 4.583 MB / 3.808 GB, free: 17.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/8.916, allocations: 14.56 kB / 3.808 GB, free: 17.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/8.921, allocations: 0.9885 MB / 3.809 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/8.923, allocations: 472.6 kB / 3.809 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/8.926, allocations: 3.166 MB / 3.812 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/8.929, allocations: 235.3 kB / 3.813 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/8.93, allocations: 105.9 kB / 3.813 GB, free: 15.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/8.93, allocations: 10.22 kB / 3.813 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0066/8.936, allocations: 3.202 MB / 3.816 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.747e-05/8.936, allocations: 10.75 kB / 3.816 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/8.938, allocations: 374.6 kB / 3.816 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/8.941, allocations: 488.1 kB / 3.817 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/8.946, allocations: 4.118 MB / 3.821 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/8.95, allocations: 242.6 kB / 3.821 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/8.951, allocations: 98.02 kB / 3.821 GB, free: 12.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 27 (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,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 (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.003417/8.954, allocations: 0.7643 MB / 3.822 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/8.955, allocations: 208.6 kB / 3.822 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/8.971, allocations: 7.851 MB / 3.83 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.788e-05/8.971, allocations: 88.92 kB / 3.83 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/8.971, allocations: 0 / 3.83 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0118/8.983, allocations: 6.886 MB / 3.836 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/9.002, allocations: 10.89 MB / 3.847 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/9.002, allocations: 0 / 3.847 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/9.004, allocations: 341.9 kB / 3.847 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/9.009, allocations: 2.147 MB / 3.849 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/9.009, allocations: 68.06 kB / 3.849 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/9.012, allocations: 4.104 MB / 3.853 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/9.012, allocations: 0 / 3.853 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/9.023, allocations: 7.957 MB / 3.861 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/9.026, allocations: 0.7486 MB / 3.862 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007752/9.026, allocations: 49.92 kB / 3.862 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/9.028, allocations: 203.6 kB / 3.862 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/9.029, allocations: 136.7 kB / 3.862 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/9.029, allocations: 70.23 kB / 3.862 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002342/9.031, allocations: 1.25 MB / 3.864 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/9.031, allocations: 1.219 kB / 3.864 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01183/9.043, allocations: 2.806 MB / 3.866 GB, free: 11.53 MB / 0.4948 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: 53 ($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,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 (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.01318/9.056, allocations: 2.835 MB / 3.869 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01136/9.068, allocations: 5.469 MB / 3.874 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/9.068, allocations: 3.938 kB / 3.874 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004262/9.072, allocations: 2.382 MB / 3.877 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005285/9.077, allocations: 0.8803 MB / 3.878 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4792/9.557, allocations: 128.2 MB / 4.003 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/9.558, allocations: 2.296 MB / 4.005 GB, free: 46.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003976/9.562, allocations: 2.193 MB / 4.007 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/9.563, allocations: 176.9 kB / 4.007 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/9.563, allocations: 0 / 4.007 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.3886/9.951, allocations: 85.6 MB / 4.091 GB, free: 54.83 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe 2>&1)