Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005066/0.005066, allocations: 165.4 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.109/1.109, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001597/0.001597, allocations: 103.3 kB / 226.2 MB, free: 10.12 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.28/0.28, allocations: 38.05 MB / 303.7 MB, free: 42.69 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 8 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08874, allocations: 48.69 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.696/4.785, allocations: 2.567 GB / 2.969 GB, free: 33.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/4.785, allocations: 79.95 kB / 2.969 GB, free: 32.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.74/8.525, allocations: 0.9848 GB / 3.954 GB, free: 25.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.874e-06/8.525, allocations: 0 / 3.954 GB, free: 25.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002564/8.526, allocations: 78.19 kB / 3.954 GB, free: 25.2 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: 571 * Number of variables: 571 Notification: Performance of Generate backend data structure: time 0.02073/8.546, allocations: 4.401 MB / 3.958 GB, free: 23.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/8.547, allocations: 10.59 kB / 3.958 GB, free: 23.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00783/8.554, allocations: 0.9093 MB / 3.959 GB, free: 23.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007318/8.562, allocations: 2.199 MB / 3.961 GB, free: 22.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/8.562, allocations: 197.2 kB / 3.961 GB, free: 22.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008309/8.563, allocations: 227.6 kB / 3.962 GB, free: 22.51 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008364/8.571, allocations: 3.891 MB / 3.965 GB, free: 21.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.314e-05/8.571, allocations: 10.06 kB / 3.965 GB, free: 21.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/8.572, allocations: 103.7 kB / 3.966 GB, free: 21.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/8.572, allocations: 170.8 kB / 3.966 GB, free: 21.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00781/8.58, allocations: 3.599 MB / 3.969 GB, free: 21.8 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.02129/8.601, allocations: 16.71 MB / 3.986 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006573/8.608, allocations: 3.141 MB / 3.989 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03366/8.641, allocations: 18.53 MB / 4.007 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005499/8.647, allocations: 1.85 MB / 4.009 GB, free: 14.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=188): time 6.613e-06/8.647, allocations: 0 / 4.009 GB, free: 14.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=208): time 0.02659/8.674, allocations: 10.28 MB / 4.019 GB, free: 11.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/8.674, allocations: 259.5 kB / 4.019 GB, free: 11.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/8.676, allocations: 1.45 MB / 4.02 GB, free: 11.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003548/8.676, allocations: 65.27 kB / 4.02 GB, free: 11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/8.677, allocations: 1.051 MB / 4.021 GB, free: 10.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/8.678, allocations: 0.6942 MB / 4.022 GB, free: 9.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/8.678, allocations: 42.78 kB / 4.022 GB, free: 9.621 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/8.678, allocations: 403.6 kB / 4.022 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/8.68, allocations: 1.261 MB / 4.024 GB, free: 8.586 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/8.683, allocations: 1.799 MB / 4.025 GB, free: 6.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/8.686, allocations: 1.527 MB / 4.027 GB, free: 5.445 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/8.686, allocations: 4 kB / 4.027 GB, free: 5.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007724/8.693, allocations: 3.759 MB / 4.031 GB, free: 2.113 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002114/8.696, allocations: 5.656 MB / 4.036 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/8.696, allocations: 16 kB / 4.036 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/8.697, allocations: 347.1 kB / 4.036 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/8.7, allocations: 0.5963 MB / 4.037 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/8.702, allocations: 3.103 MB / 4.04 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/8.706, allocations: 335.7 kB / 4.04 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/8.706, allocations: 123 kB / 4.04 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/8.706, allocations: 4 kB / 4.04 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006828/8.713, allocations: 3.48 MB / 4.044 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/8.713, allocations: 12 kB / 4.044 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/8.714, allocations: 344.3 kB / 4.044 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/8.717, allocations: 0.5913 MB / 4.045 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/8.719, allocations: 3.109 MB / 4.048 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/8.722, allocations: 330.5 kB / 4.048 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/8.722, allocations: 118 kB / 4.048 GB, free: 372 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 29 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.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,junctionIdeal.medium.phase,junctionVolume.medium.phase,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_b.phase,pipe1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.3675/9.09, allocations: 0.8196 MB / 4.049 GB, free: 55.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006895/9.091, allocations: 225.7 kB / 4.049 GB, free: 55.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/9.104, allocations: 8.24 MB / 4.057 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.388e-05/9.104, allocations: 87.64 kB / 4.057 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/9.104, allocations: 3.438 kB / 4.057 GB, free: 54.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01075/9.115, allocations: 7.151 MB / 4.064 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/9.138, allocations: 13.16 MB / 4.077 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/9.138, allocations: 2.375 kB / 4.077 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/9.14, allocations: 487.7 kB / 4.078 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/9.142, allocations: 478 kB / 4.078 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/9.142, allocations: 79.52 kB / 4.078 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/9.144, allocations: 3.227 MB / 4.081 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/9.144, allocations: 6.562 kB / 4.081 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/9.158, allocations: 8.477 MB / 4.09 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003556/9.161, allocations: 0.7897 MB / 4.09 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008304/9.162, allocations: 63.39 kB / 4.091 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/9.165, allocations: 238.7 kB / 4.091 GB, free: 47.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/9.165, allocations: 193.6 kB / 4.091 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/9.165, allocations: 90.2 kB / 4.091 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002437/9.168, allocations: 1.2 MB / 4.092 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/9.168, allocations: 0 / 4.092 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01489/9.183, allocations: 2.885 MB / 4.095 GB, free: 47.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 9 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,junctionIdeal.medium.p,junctionIdeal.medium.h,junctionVolume.medium.h) * Number of discrete variables: 57 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse38.phase,$cse38.region,$cse40.region3boundary,$cse41.region3boundary,$cse42.phase,$cse42.region,$cse44.region3boundary,$cse45.region3boundary,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.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,junctionIdeal.medium.phase,junctionVolume.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 (237): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,2 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/9.197, allocations: 3.002 MB / 4.098 GB, free: 47.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01365/9.211, allocations: 5.835 MB / 4.104 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/9.211, allocations: 0 / 4.104 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004565/9.216, allocations: 2.984 MB / 4.107 GB, free: 47.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00609/9.222, allocations: 1.131 MB / 4.108 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5821/9.804, allocations: 129.1 MB / 4.234 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/9.807, allocations: 2.382 MB / 4.236 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006458/9.814, allocations: 2.529 MB / 4.239 GB, free: 50.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/9.814, allocations: 223.8 kB / 4.239 GB, free: 50.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.635e-06/9.814, allocations: 0.875 kB / 4.239 GB, free: 50.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.1588/9.973, allocations: 91.61 MB / 4.328 GB, free: 46.18 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1)