Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.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.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007647/0.007647, allocations: 177.6 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.53/1.53, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.001823/0.001823, allocations: 116.7 kB / 255.6 MB, free: 10.16 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.1658/0.1658, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 10.97 kB / 406.2 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.97/6.078, allocations: 2.656 GB / 3.106 GB, free: 86.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/6.078, allocations: 85.14 kB / 3.106 GB, free: 86.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.517/8.596, allocations: 0.8038 GB / 3.91 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/8.596, allocations: 0 / 3.91 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002183/8.596, allocations: 75.62 kB / 3.91 GB, free: 24.46 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01653/8.612, allocations: 4.23 MB / 3.914 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/8.613, allocations: 12.03 kB / 3.914 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006347/8.619, allocations: 0.8382 MB / 3.915 GB, free: 19.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006141/8.625, allocations: 2.199 MB / 3.917 GB, free: 18.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/8.625, allocations: 179 kB / 3.917 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005585/8.626, allocations: 195.9 kB / 3.918 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007059/8.633, allocations: 3.718 MB / 3.921 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/8.633, allocations: 7.938 kB / 3.921 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/8.633, allocations: 87.97 kB / 3.921 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/8.633, allocations: 167.6 kB / 3.921 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006765/8.64, allocations: 3.547 MB / 3.925 GB, free: 10.5 MB / 0.4948 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.01761/8.658, allocations: 14.76 MB / 3.939 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/8.663, allocations: 2.203 MB / 3.941 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3276/8.99, allocations: 18.88 MB / 3.96 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004817/8.995, allocations: 1.67 MB / 3.962 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/8.997, allocations: 189.2 kB / 3.962 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 6.362e-06/8.997, allocations: 0 / 3.962 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.02348/9.02, allocations: 9.124 MB / 3.971 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/9.02, allocations: 415.2 kB / 3.971 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/9.023, allocations: 1.511 MB / 3.972 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/9.023, allocations: 59.89 kB / 3.973 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/9.023, allocations: 0.9896 MB / 3.973 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/9.024, allocations: 0.5831 MB / 3.974 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/9.024, allocations: 45.41 kB / 3.974 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001084/9.024, allocations: 386.4 kB / 3.974 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/9.026, allocations: 1.161 MB / 3.976 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/9.028, allocations: 1.629 MB / 3.977 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/9.03, allocations: 1.422 MB / 3.979 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/9.03, allocations: 6.312 kB / 3.979 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.005626/9.036, allocations: 3.511 MB / 3.982 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009237/9.037, allocations: 4.582 MB / 3.986 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/9.037, allocations: 16.02 kB / 3.987 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004729/9.041, allocations: 0.9871 MB / 3.987 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/9.044, allocations: 471 kB / 3.988 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/9.046, allocations: 3.174 MB / 3.991 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/9.048, allocations: 236.9 kB / 3.991 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/9.049, allocations: 102.3 kB / 3.991 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/9.049, allocations: 4.188 kB / 3.991 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005534/9.054, allocations: 3.179 MB / 3.994 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/9.054, allocations: 18.59 kB / 3.994 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/9.055, allocations: 371.4 kB / 3.995 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/9.057, allocations: 0.489 MB / 3.995 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/9.061, allocations: 4.104 MB / 3.999 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/9.063, allocations: 238.1 kB / 4 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/9.063, allocations: 106.4 kB / 4 GB, free: 21.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 29 (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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,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.001533/9.065, allocations: 0.7715 MB / 4 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/9.065, allocations: 211 kB / 4.001 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009136/9.075, allocations: 7.839 MB / 4.008 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/9.075, allocations: 81.25 kB / 4.008 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/9.075, allocations: 6.297 kB / 4.008 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007126/9.082, allocations: 6.874 MB / 4.015 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/9.095, allocations: 10.9 MB / 4.026 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/9.095, allocations: 1.562 kB / 4.026 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/9.096, allocations: 338.3 kB / 4.026 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004568/9.101, allocations: 2.136 MB / 4.028 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/9.101, allocations: 65.42 kB / 4.028 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/9.104, allocations: 4.115 MB / 4.032 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/9.104, allocations: 3.328 kB / 4.032 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009407/9.113, allocations: 7.982 MB / 4.04 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/9.115, allocations: 0.7509 MB / 4.041 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/9.115, allocations: 55.16 kB / 4.041 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/9.117, allocations: 196.3 kB / 4.041 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/9.117, allocations: 146.5 kB / 4.041 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/9.117, allocations: 74.55 kB / 4.041 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001585/9.119, allocations: 1.252 MB / 4.042 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/9.119, allocations: 0 / 4.042 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009603/9.128, allocations: 2.83 MB / 4.045 GB, free: 15.55 MB / 0.5105 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: 55 ($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,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 (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.01306/9.142, allocations: 2.844 MB / 4.048 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008701/9.15, allocations: 5.595 MB / 4.053 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/9.15, allocations: 0 / 4.053 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/9.153, allocations: 2.425 MB / 4.056 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/9.157, allocations: 0.9025 MB / 4.057 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4678/9.625, allocations: 130.4 MB / 4.184 GB, free: 67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/9.627, allocations: 2.299 MB / 4.186 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0039/9.631, allocations: 2.193 MB / 4.188 GB, free: 66.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/9.631, allocations: 182.6 kB / 4.189 GB, free: 66.19 MB / 0.5417 GB Notification: Performance of SimCode: time 1.463e-06/9.631, allocations: 0 / 4.189 GB, free: 66.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.1125/9.744, allocations: 86.15 MB / 4.273 GB, free: 61.17 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe 2>&1)