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.001612/0.001612, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.728/1.728, allocations: 170.6 MB / 178.7 MB, free: 7.039 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.001859/0.001859, allocations: 109.1 kB / 218 MB, free: 15.34 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.2652/0.2652, allocations: 37.97 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.142e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.382, allocations: 48.69 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.443/6.826, allocations: 2.566 GB / 2.956 GB, free: 31.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/6.826, allocations: 83.89 kB / 2.956 GB, free: 31.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.708/10.53, allocations: 0.9738 GB / 3.93 GB, free: 28.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/10.53, allocations: 3.688 kB / 3.93 GB, free: 28.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002332/10.53, allocations: 67.84 kB / 3.93 GB, free: 28.55 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.0175/10.55, allocations: 4.109 MB / 3.934 GB, free: 26.67 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/10.55, allocations: 8 kB / 3.934 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007649/10.56, allocations: 0.9037 MB / 3.935 GB, free: 26.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/10.57, allocations: 2.192 MB / 3.937 GB, free: 26.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/10.57, allocations: 97.78 kB / 3.937 GB, free: 26.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/10.57, allocations: 133.8 kB / 3.937 GB, free: 26.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006974/10.57, allocations: 2.787 MB / 3.94 GB, free: 26.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008844/10.58, allocations: 3.002 MB / 3.943 GB, free: 25.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/10.58, allocations: 7.281 kB / 3.943 GB, free: 25.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008637/10.58, allocations: 11.41 kB / 3.943 GB, free: 25.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002771/10.59, allocations: 169.3 kB / 3.943 GB, free: 25.38 MB / 474.7 MB 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.1062/10.69, allocations: 49.63 MB / 3.991 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/10.7, allocations: 2.327 MB / 3.993 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/10.7, allocations: 1.156 MB / 3.995 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0353/10.73, allocations: 17.2 MB / 4.011 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003282/10.74, allocations: 1.337 MB / 4.013 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=182): time 6.552e-06/10.74, allocations: 0 / 4.013 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202): time 0.04607/10.78, allocations: 10.32 MB / 4.023 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/10.78, allocations: 356.1 kB / 4.023 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/10.78, allocations: 1.147 MB / 4.024 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000643/10.79, allocations: 33.27 kB / 4.024 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/10.79, allocations: 1.084 MB / 4.025 GB, free: 336 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.3661/11.15, allocations: 0.643 MB / 4.026 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/11.15, allocations: 2.688 kB / 4.026 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003085/11.15, allocations: 399.1 kB / 4.026 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/11.16, allocations: 1.092 MB / 4.027 GB, free: 60.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/11.16, allocations: 1.62 MB / 4.029 GB, free: 60.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009341/11.17, allocations: 2.075 MB / 4.031 GB, free: 60.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/11.17, allocations: 3.188 kB / 4.031 GB, free: 60.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01417/11.18, allocations: 3.987 MB / 4.035 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/11.18, allocations: 5.587 MB / 4.04 GB, free: 54.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.744e-05/11.18, allocations: 13.66 kB / 4.04 GB, free: 54.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/11.18, allocations: 316.5 kB / 4.041 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/11.19, allocations: 0.6001 MB / 4.041 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/11.19, allocations: 3.139 MB / 4.044 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/11.19, allocations: 320.3 kB / 4.045 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006837/11.19, allocations: 121.8 kB / 4.045 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/11.19, allocations: 4.328 kB / 4.045 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01387/11.21, allocations: 3.524 MB / 4.048 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/11.21, allocations: 16.88 kB / 4.048 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008679/11.21, allocations: 310.4 kB / 4.048 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/11.21, allocations: 0.5947 MB / 4.049 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/11.21, allocations: 3.137 MB / 4.052 GB, free: 48.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/11.22, allocations: 304 kB / 4.052 GB, free: 48.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/11.22, allocations: 117.4 kB / 4.053 GB, free: 48.97 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: junctionVolume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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,pipe1.statesFM[2].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,source.medium.phase,sink.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 () * 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,2 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00124/11.22, allocations: 245.4 kB / 4.053 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/11.22, allocations: 210.8 kB / 4.053 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/11.24, allocations: 8.019 MB / 4.061 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.019e-05/11.24, allocations: 85.45 kB / 4.061 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/11.24, allocations: 6.125 kB / 4.061 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01484/11.25, allocations: 6.93 MB / 4.068 GB, free: 47.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/11.28, allocations: 12.46 MB / 4.08 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-05/11.28, allocations: 7.094 kB / 4.08 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/11.28, allocations: 455.3 kB / 4.08 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/11.28, allocations: 428.9 kB / 4.081 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003931/11.28, allocations: 48.28 kB / 4.081 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/11.28, allocations: 3.368 MB / 4.084 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/11.28, allocations: 10.84 kB / 4.084 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/11.3, allocations: 8.381 MB / 4.092 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/11.3, allocations: 0.7831 MB / 4.093 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009772/11.3, allocations: 24.66 kB / 4.093 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/11.31, allocations: 186.1 kB / 4.093 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/11.31, allocations: 188.8 kB / 4.093 GB, free: 41.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/11.31, allocations: 86.45 kB / 4.093 GB, free: 41.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002056/11.31, allocations: 1.083 MB / 4.094 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.6e-07/11.31, allocations: 1.531 kB / 4.094 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01371/11.32, allocations: 2.721 MB / 4.097 GB, free: 41.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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: 49 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse44.region3boundary,$cse45.region3boundary,$cse46.phase,$cse46.region,$cse49.phase,$cse49.region,$whenCondition1,$whenCondition2,pipe1.statesFM[2].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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 21 * 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.01359/11.34, allocations: 3.219 MB / 4.1 GB, free: 41.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009556/11.35, allocations: 5.25 MB / 4.105 GB, free: 40.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/11.35, allocations: 2.875 kB / 4.105 GB, free: 40.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/11.35, allocations: 2.637 MB / 4.108 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/11.36, allocations: 0.9867 MB / 4.109 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1182/11.48, allocations: 59.52 MB / 4.167 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/11.48, allocations: 2.336 MB / 4.169 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005548/11.48, allocations: 2.692 MB / 4.172 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000619/11.48, allocations: 188.3 kB / 4.172 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/11.48, allocations: 4 kB / 4.172 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.472/11.95, allocations: 79.45 MB / 4.25 GB, free: 55.21 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)