Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.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.BranchingPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007335/0.007335, allocations: 165.5 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.493/1.493, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001627/0.001627, allocations: 111.4 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.3145/0.3145, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006067, allocations: 8 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1681, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.985/6.153, allocations: 2.562 GB / 2.964 GB, free: 47.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/6.153, allocations: 81.7 kB / 2.964 GB, free: 47.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926/9.079, allocations: 0.7809 GB / 3.745 GB, free: 32.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/9.079, allocations: 0 / 3.745 GB, free: 32.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001874/9.079, allocations: 61.95 kB / 3.745 GB, free: 32.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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01543/9.095, allocations: 3.799 MB / 3.749 GB, free: 31.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/9.095, allocations: 9 kB / 3.749 GB, free: 31.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006201/9.101, allocations: 0.7616 MB / 3.75 GB, free: 31.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/9.106, allocations: 1.999 MB / 3.752 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/9.107, allocations: 164.4 kB / 3.752 GB, free: 30.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/9.107, allocations: 176.4 kB / 3.752 GB, free: 30.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007413/9.115, allocations: 3.329 MB / 3.755 GB, free: 30.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.744e-05/9.115, allocations: 6.969 kB / 3.755 GB, free: 30.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/9.115, allocations: 78.55 kB / 3.755 GB, free: 30.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/9.115, allocations: 146.3 kB / 3.755 GB, free: 30.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007425/9.123, allocations: 3.165 MB / 3.758 GB, free: 30.18 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.0164/9.139, allocations: 13.63 MB / 3.772 GB, free: 21.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/9.144, allocations: 2.037 MB / 3.774 GB, free: 21.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03357/9.177, allocations: 18.8 MB / 3.792 GB, free: 26.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003942/9.181, allocations: 1.579 MB / 3.794 GB, free: 25.95 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001316/9.183, allocations: 171.8 kB / 3.794 GB, free: 25.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 4.629e-06/9.183, allocations: 0 / 3.794 GB, free: 25.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.01972/9.202, allocations: 8.308 MB / 3.802 GB, free: 24.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/9.203, allocations: 257.4 kB / 3.802 GB, free: 24.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/9.205, allocations: 1.261 MB / 3.803 GB, free: 24.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002616/9.205, allocations: 56.83 kB / 3.803 GB, free: 24.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/9.206, allocations: 0.8856 MB / 3.804 GB, free: 23.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/9.206, allocations: 0.5361 MB / 3.805 GB, free: 23.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/9.206, allocations: 35.91 kB / 3.805 GB, free: 23.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/9.206, allocations: 381 kB / 3.805 GB, free: 23.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/9.208, allocations: 1.007 MB / 3.806 GB, free: 23.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/9.21, allocations: 1.452 MB / 3.808 GB, free: 22.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/9.212, allocations: 1.242 MB / 3.809 GB, free: 22.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/9.212, allocations: 2.094 kB / 3.809 GB, free: 22.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005631/9.217, allocations: 3.134 MB / 3.812 GB, free: 22.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001717/9.219, allocations: 4.357 MB / 3.816 GB, free: 17.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/9.219, allocations: 10.91 kB / 3.816 GB, free: 17.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/9.222, allocations: 0.537 MB / 3.817 GB, free: 17.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/9.224, allocations: 451.8 kB / 3.817 GB, free: 17.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/9.226, allocations: 2.702 MB / 3.82 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/9.23, allocations: 268.9 kB / 3.82 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006117/9.23, allocations: 98.91 kB / 3.82 GB, free: 15.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/9.23, allocations: 3.875 kB / 3.82 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004918/9.235, allocations: 2.762 MB / 3.823 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/9.235, allocations: 13.75 kB / 3.823 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/9.236, allocations: 210.3 kB / 3.823 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/9.238, allocations: 466.4 kB / 3.823 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/9.239, allocations: 1.878 MB / 3.825 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/9.241, allocations: 257 kB / 3.826 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/9.242, allocations: 93.75 kB / 3.826 GB, free: 13.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001701/9.243, allocations: 0.7047 MB / 3.826 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/9.244, allocations: 185.2 kB / 3.826 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/9.254, allocations: 7.467 MB / 3.834 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.957e-05/9.254, allocations: 83.39 kB / 3.834 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/9.254, allocations: 4.797 kB / 3.834 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007072/9.261, allocations: 6.516 MB / 3.84 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/9.276, allocations: 11.18 MB / 3.851 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/9.276, allocations: 7.125 kB / 3.851 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/9.277, allocations: 359.3 kB / 3.851 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/9.279, allocations: 1.17 MB / 3.853 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/9.28, allocations: 64.38 kB / 3.853 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/9.282, allocations: 3.193 MB / 3.856 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/9.282, allocations: 6.188 kB / 3.856 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008579/9.29, allocations: 7.449 MB / 3.863 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/9.292, allocations: 0.6983 MB / 3.864 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/9.293, allocations: 56.48 kB / 3.864 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/9.294, allocations: 190.8 kB / 3.864 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/9.294, allocations: 147.2 kB / 3.864 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/9.294, allocations: 79.83 kB / 3.864 GB, free: 5.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001468/9.296, allocations: 1.077 MB / 3.865 GB, free: 5.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/9.296, allocations: 1.312 kB / 3.865 GB, free: 5.145 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009556/9.305, allocations: 2.534 MB / 3.868 GB, free: 4.633 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse34.region3boundary,$cse35.region3boundary,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,$cse40.region3boundary,$cse41.region3boundary,$cse42.phase,$cse42.region,$cse44.phase,$cse44.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 (177): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01205/9.318, allocations: 2.658 MB / 3.87 GB, free: 4.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007969/9.326, allocations: 4.748 MB / 3.875 GB, free: 2.297 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/9.326, allocations: 3.531 kB / 3.875 GB, free: 2.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/9.329, allocations: 2.456 MB / 3.877 GB, free: 1.238 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/9.333, allocations: 0.8367 MB / 3.878 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.527/9.86, allocations: 128.9 MB / 4.004 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/9.862, allocations: 2.17 MB / 4.006 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004651/9.867, allocations: 2.251 MB / 4.008 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/9.867, allocations: 175.2 kB / 4.009 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.432e-06/9.867, allocations: 3.969 kB / 4.009 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.1059/9.973, allocations: 78.4 MB / 4.085 GB, free: 11.11 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe 2>&1)