Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01057/0.01057, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.762/1.762, allocations: 170.8 MB / 186.6 MB, free: 1.035 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.001774/0.001774, allocations: 107.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.3683/0.3683, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.727/6.852, allocations: 2.545 GB / 2.947 GB, free: 63.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/6.853, allocations: 85.08 kB / 2.947 GB, free: 63.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.165/10.02, allocations: 0.7776 GB / 3.725 GB, free: 29.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/10.02, allocations: 0 / 3.725 GB, free: 29.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002492/10.02, allocations: 70.7 kB / 3.725 GB, free: 29.45 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.01963/10.04, allocations: 4.117 MB / 3.729 GB, free: 27.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/10.04, allocations: 10 kB / 3.729 GB, free: 27.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006678/10.04, allocations: 0.8076 MB / 3.73 GB, free: 27.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/10.05, allocations: 2.103 MB / 3.732 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/10.05, allocations: 173 kB / 3.732 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008989/10.05, allocations: 198.1 kB / 3.732 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008484/10.06, allocations: 3.706 MB / 3.736 GB, free: 26.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/10.06, allocations: 13 kB / 3.736 GB, free: 26.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003586/10.06, allocations: 88.69 kB / 3.736 GB, free: 26.49 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/10.06, allocations: 167 kB / 3.736 GB, free: 26.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007578/10.07, allocations: 3.533 MB / 3.74 GB, free: 26.47 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.01965/10.09, allocations: 14.74 MB / 3.754 GB, free: 17.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/10.09, allocations: 2.197 MB / 3.756 GB, free: 17.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03732/10.13, allocations: 18.85 MB / 3.775 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005264/10.14, allocations: 1.66 MB / 3.776 GB, free: 21.89 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001668/10.14, allocations: 192.5 kB / 3.776 GB, free: 21.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=158): time 7.113e-06/10.14, allocations: 0 / 3.776 GB, free: 21.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=170): time 0.02565/10.16, allocations: 9.16 MB / 3.785 GB, free: 20.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000275/10.16, allocations: 412.4 kB / 3.786 GB, free: 20.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/10.17, allocations: 1.5 MB / 3.787 GB, free: 19.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004695/10.17, allocations: 57.92 kB / 3.787 GB, free: 19.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000785/10.17, allocations: 0.9993 MB / 3.788 GB, free: 19.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005827/10.17, allocations: 0.5737 MB / 3.789 GB, free: 19.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/10.17, allocations: 41.94 kB / 3.789 GB, free: 19.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/10.17, allocations: 394 kB / 3.789 GB, free: 18.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/10.17, allocations: 1.147 MB / 3.79 GB, free: 18.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/10.17, allocations: 1.623 MB / 3.792 GB, free: 18.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/10.18, allocations: 1.402 MB / 3.793 GB, free: 18.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/10.18, allocations: 4 kB / 3.793 GB, free: 18.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006809/10.18, allocations: 3.53 MB / 3.797 GB, free: 17.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002317/10.18, allocations: 4.582 MB / 3.801 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/10.18, allocations: 16.67 kB / 3.801 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004851/10.19, allocations: 0.9841 MB / 3.802 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/10.19, allocations: 474.6 kB / 3.803 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/10.19, allocations: 3.168 MB / 3.806 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/10.2, allocations: 238.1 kB / 3.806 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/10.2, allocations: 105.7 kB / 3.806 GB, free: 10.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/10.2, allocations: 4.75 kB / 3.806 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006038/10.2, allocations: 3.208 MB / 3.809 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/10.2, allocations: 13.22 kB / 3.809 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/10.21, allocations: 368.2 kB / 3.809 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/10.21, allocations: 497.9 kB / 3.81 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004397/10.21, allocations: 4.108 MB / 3.814 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/10.21, allocations: 235.9 kB / 3.814 GB, free: 23.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/10.21, allocations: 99.44 kB / 3.814 GB, free: 23.95 MB / 0.4948 GB 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,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.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.001947/10.22, allocations: 0.7709 MB / 3.815 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005666/10.22, allocations: 206.2 kB / 3.815 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009712/10.23, allocations: 7.854 MB / 3.823 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/10.23, allocations: 84.34 kB / 3.823 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/10.23, allocations: 3.188 kB / 3.823 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007686/10.23, allocations: 6.88 MB / 3.83 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/10.25, allocations: 10.89 MB / 3.84 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/10.25, allocations: 0 / 3.84 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/10.25, allocations: 341.2 kB / 3.841 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004494/10.26, allocations: 2.143 MB / 3.843 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/10.26, allocations: 70.45 kB / 3.843 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/10.26, allocations: 4.112 MB / 3.847 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/10.26, allocations: 3.156 kB / 3.847 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/10.27, allocations: 7.959 MB / 3.855 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/10.27, allocations: 0.7528 MB / 3.855 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/10.27, allocations: 47.19 kB / 3.855 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/10.27, allocations: 195.9 kB / 3.856 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/10.28, allocations: 143.7 kB / 3.856 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/10.28, allocations: 72.55 kB / 3.856 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001862/10.28, allocations: 1.255 MB / 3.857 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.28, allocations: 0 / 3.857 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01197/10.29, allocations: 2.801 MB / 3.86 GB, free: 16.19 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,valve1.filter.x[1],valve1.filter.x[2],valve2.filter.x[1],valve2.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.0135/10.3, allocations: 2.834 MB / 3.863 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01103/10.31, allocations: 5.469 MB / 3.868 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/10.31, allocations: 2.031 kB / 3.868 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/10.32, allocations: 2.376 MB / 3.87 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/10.32, allocations: 0.8875 MB / 3.871 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5447/10.87, allocations: 128.3 MB / 3.996 GB, free: 46.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/10.87, allocations: 2.29 MB / 3.999 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005252/10.87, allocations: 2.197 MB / 4.001 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007125/10.88, allocations: 175.8 kB / 4.001 GB, free: 45.35 MB / 0.4948 GB Notification: Performance of SimCode: time 1.943e-06/10.88, allocations: 0 / 4.001 GB, free: 45.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.4995/11.38, allocations: 85.55 MB / 4.084 GB, free: 54.12 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe 2>&1)