Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.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.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01468/0.01468, allocations: 175.8 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.034/2.034, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001904/0.001904, allocations: 120.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2605/0.2605, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004222, allocations: 13.56 kB / 406.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.855/5.977, allocations: 2.673 GB / 3.124 GB, free: 67.22 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/5.977, allocations: 87.34 kB / 3.124 GB, free: 67.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517/9.495, allocations: 0.8701 GB / 3.994 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/9.495, allocations: 0 / 3.994 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002467/9.495, allocations: 61.75 kB / 3.994 GB, free: 34.61 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01971/9.515, allocations: 4.02 MB / 3.998 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/9.515, allocations: 7.719 kB / 3.998 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006429/9.521, allocations: 0.792 MB / 3.999 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/9.528, allocations: 1.993 MB / 4 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/9.528, allocations: 166.2 kB / 4.001 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/9.528, allocations: 188.5 kB / 4.001 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/9.535, allocations: 3.259 MB / 4.004 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/9.535, allocations: 6.219 kB / 4.004 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/9.535, allocations: 83.52 kB / 4.004 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/9.536, allocations: 146.1 kB / 4.004 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/9.542, allocations: 2.944 MB / 4.007 GB, free: 31.74 MB / 0.5105 GB 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.01711/9.559, allocations: 13.9 MB / 4.021 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/9.563, allocations: 2.033 MB / 4.023 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03454/9.598, allocations: 18.82 MB / 4.041 GB, free: 27.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004489/9.603, allocations: 1.585 MB / 4.043 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001617/9.604, allocations: 171.2 kB / 4.043 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=155): time 4.96e-06/9.604, allocations: 0 / 4.043 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=167): time 0.02139/9.626, allocations: 8.318 MB / 4.051 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002344/9.626, allocations: 253.6 kB / 4.051 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/9.628, allocations: 1.281 MB / 4.052 GB, free: 25.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/9.628, allocations: 54.89 kB / 4.052 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/9.63, allocations: 0.9026 MB / 4.053 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/9.63, allocations: 0.5554 MB / 4.054 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/9.63, allocations: 36.69 kB / 4.054 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002314/9.631, allocations: 381.7 kB / 4.054 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/9.632, allocations: 1.019 MB / 4.055 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/9.635, allocations: 1.45 MB / 4.057 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/9.637, allocations: 1.256 MB / 4.058 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/9.637, allocations: 3.844 kB / 4.058 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006368/9.643, allocations: 3.115 MB / 4.061 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001979/9.645, allocations: 4.367 MB / 4.065 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/9.645, allocations: 10.25 kB / 4.065 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/9.648, allocations: 0.5285 MB / 4.066 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/9.65, allocations: 459.9 kB / 4.066 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/9.653, allocations: 2.701 MB / 4.069 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/9.656, allocations: 272 kB / 4.069 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/9.656, allocations: 99.39 kB / 4.069 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/9.656, allocations: 4.531 kB / 4.069 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004903/9.661, allocations: 2.747 MB / 4.072 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/9.661, allocations: 10.84 kB / 4.072 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/9.662, allocations: 207.5 kB / 4.072 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/9.664, allocations: 470.1 kB / 4.072 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/9.665, allocations: 1.878 MB / 4.074 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/9.668, allocations: 264 kB / 4.075 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/9.668, allocations: 94.83 kB / 4.075 GB, free: 15.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 29 (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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,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.001814/9.67, allocations: 0.7209 MB / 4.075 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/9.67, allocations: 191.2 kB / 4.076 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009947/9.68, allocations: 7.43 MB / 4.083 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.897e-05/9.681, allocations: 82.95 kB / 4.083 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/9.681, allocations: 0 / 4.083 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00783/9.688, allocations: 6.511 MB / 4.089 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/9.705, allocations: 11.22 MB / 4.1 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/9.705, allocations: 10.38 kB / 4.1 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/9.707, allocations: 357.6 kB / 4.101 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/9.709, allocations: 1.182 MB / 4.102 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/9.71, allocations: 64.47 kB / 4.102 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/9.712, allocations: 3.203 MB / 4.105 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/9.712, allocations: 8.125 kB / 4.105 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/9.723, allocations: 7.465 MB / 4.112 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/9.725, allocations: 0.7057 MB / 4.113 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/9.725, allocations: 53.69 kB / 4.113 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/9.727, allocations: 192.5 kB / 4.113 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/9.727, allocations: 150.2 kB / 4.113 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/9.727, allocations: 74.7 kB / 4.113 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001651/9.729, allocations: 1.086 MB / 4.114 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/9.729, allocations: 0 / 4.114 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01297/9.742, allocations: 2.604 MB / 4.117 GB, free: 3.789 MB / 0.5261 GB 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: 55 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.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) * 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.01472/9.757, allocations: 2.763 MB / 4.12 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009658/9.766, allocations: 4.869 MB / 4.124 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/9.766, allocations: 7.906 kB / 4.124 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004075/9.77, allocations: 2.503 MB / 4.127 GB, free: 156 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/9.776, allocations: 0.9204 MB / 4.128 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6222/10.4, allocations: 130.1 MB / 4.255 GB, free: 49.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/10.4, allocations: 2.184 MB / 4.257 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005216/10.4, allocations: 2.252 MB / 4.259 GB, free: 48.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/10.41, allocations: 178.6 kB / 4.259 GB, free: 48.83 MB / 0.5417 GB Notification: Performance of SimCode: time 2.825e-06/10.41, allocations: 0 / 4.259 GB, free: 48.83 MB / 0.5417 GB Notification: Performance of Templates: time 0.1207/10.53, allocations: 80.78 MB / 4.338 GB, free: 8.473 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe 2>&1)