Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001064/0.001064, allocations: 181.7 kB / 12.74 MB, free: 2.582 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.455/1.455, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.002007/0.002008, allocations: 110.7 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2484/0.2484, allocations: 39.93 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.889e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.03/8.163, allocations: 2.656 GB / 3.1 GB, free: 78.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/8.164, allocations: 79.95 kB / 3.1 GB, free: 78.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.395/11.56, allocations: 0.7947 GB / 3.895 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/11.56, allocations: 0 / 3.895 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002139/11.56, allocations: 72.03 kB / 3.895 GB, free: 26.02 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.0148/11.57, allocations: 3.943 MB / 3.899 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/11.57, allocations: 8.031 kB / 3.899 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006136/11.58, allocations: 0.8446 MB / 3.9 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/11.59, allocations: 2.089 MB / 3.902 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/11.59, allocations: 176.9 kB / 3.902 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/11.59, allocations: 204.7 kB / 3.902 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/11.59, allocations: 3.704 MB / 3.906 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/11.59, allocations: 7.938 kB / 3.906 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/11.59, allocations: 83.97 kB / 3.906 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/11.59, allocations: 167.6 kB / 3.906 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006125/11.6, allocations: 3.423 MB / 3.909 GB, free: 13.02 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01809/11.62, allocations: 14.76 MB / 3.924 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/11.62, allocations: 2.125 MB / 3.926 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/11.62, allocations: 1.067 MB / 3.927 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4483/12.07, allocations: 18.93 MB / 3.946 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003981/12.08, allocations: 1.683 MB / 3.947 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001429/12.08, allocations: 187 kB / 3.947 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 4.699e-06/12.08, allocations: 0 / 3.947 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.01696/12.09, allocations: 7.337 MB / 3.954 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/12.09, allocations: 417.9 kB / 3.955 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/12.1, allocations: 1.488 MB / 3.956 GB, free: 35.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003001/12.1, allocations: 61.52 kB / 3.956 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008845/12.1, allocations: 0.9933 MB / 3.957 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/12.1, allocations: 0.5849 MB / 3.958 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/12.1, allocations: 39.56 kB / 3.958 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001257/12.1, allocations: 394.2 kB / 3.958 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/12.1, allocations: 1.057 MB / 3.959 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/12.1, allocations: 1.533 MB / 3.961 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/12.11, allocations: 1.321 MB / 3.962 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/12.11, allocations: 3.094 kB / 3.962 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.007719/12.11, allocations: 3.298 MB / 3.965 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/12.11, allocations: 4.579 MB / 3.97 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/12.11, allocations: 17.42 kB / 3.97 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005006/12.12, allocations: 0.9659 MB / 3.971 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/12.12, allocations: 473.7 kB / 3.971 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/12.13, allocations: 3.162 MB / 3.974 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/12.13, allocations: 238 kB / 3.975 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/12.13, allocations: 102.6 kB / 3.975 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/12.13, allocations: 6.469 kB / 3.975 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005642/12.13, allocations: 2.974 MB / 3.978 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/12.13, allocations: 17.73 kB / 3.978 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/12.14, allocations: 358.1 kB / 3.978 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/12.14, allocations: 495.5 kB / 3.978 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/12.14, allocations: 4.046 MB / 3.982 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/12.14, allocations: 238.9 kB / 3.983 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/12.14, allocations: 107.6 kB / 3.983 GB, free: 23.41 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,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,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 () * 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.0007375/12.14, allocations: 304.1 kB / 3.983 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/12.15, allocations: 209.5 kB / 3.983 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008962/12.15, allocations: 7.74 MB / 3.991 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.26e-05/12.15, allocations: 80.81 kB / 3.991 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/12.15, allocations: 0 / 3.991 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006807/12.16, allocations: 6.775 MB / 3.997 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/12.17, allocations: 10.79 MB / 4.008 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/12.17, allocations: 0 / 4.008 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/12.18, allocations: 338.8 kB / 4.008 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004813/12.18, allocations: 2.503 MB / 4.011 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/12.18, allocations: 64.83 kB / 4.011 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/12.18, allocations: 4.104 MB / 4.015 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/12.18, allocations: 4.438 kB / 4.015 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00992/12.19, allocations: 7.675 MB / 4.022 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/12.2, allocations: 0.7584 MB / 4.023 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/12.2, allocations: 53.36 kB / 4.023 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/12.2, allocations: 196.7 kB / 4.023 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/12.2, allocations: 142.8 kB / 4.023 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/12.2, allocations: 66.59 kB / 4.024 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002078/12.2, allocations: 1.238 MB / 4.025 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.114e-06/12.2, allocations: 5 kB / 4.025 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01339/12.21, allocations: 2.829 MB / 4.027 GB, free: 17.22 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,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: 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) * 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.01452/12.23, allocations: 2.841 MB / 4.03 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009295/12.24, allocations: 5.363 MB / 4.035 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/12.24, allocations: 6.719 kB / 4.035 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003323/12.24, allocations: 2.364 MB / 4.038 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/12.25, allocations: 0.8789 MB / 4.039 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6252/12.87, allocations: 127.7 MB / 4.163 GB, free: 69.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/12.87, allocations: 2.303 MB / 4.166 GB, free: 68.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006393/12.88, allocations: 2.375 MB / 4.168 GB, free: 68.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/12.88, allocations: 156.2 kB / 4.168 GB, free: 68.86 MB / 0.5417 GB Notification: Performance of SimCode: time 2.575e-06/12.88, allocations: 0 / 4.168 GB, free: 68.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.1413/13.02, allocations: 91.77 MB / 4.258 GB, free: 62.43 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe 2>&1)