Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001112/0.001112, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.859/1.859, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001858/0.001857, allocations: 117.2 kB / 247.4 MB, free: 6.211 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.2513/0.2513, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.993/7.127, allocations: 2.677 GB / 3.115 GB, free: 7.105 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/7.128, allocations: 80.39 kB / 3.115 GB, free: 7.066 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.842/10.97, allocations: 0.9989 GB / 4.114 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/10.97, allocations: 0 / 4.114 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003409/10.97, allocations: 73 kB / 4.114 GB, free: 31.17 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: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.01802/10.99, allocations: 4.235 MB / 4.118 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/10.99, allocations: 15.47 kB / 4.118 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008124/11, allocations: 0.9366 MB / 4.119 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/11, allocations: 2.199 MB / 4.121 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/11, allocations: 107.2 kB / 4.121 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/11.01, allocations: 128.2 kB / 4.121 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006593/11.01, allocations: 2.798 MB / 4.124 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/11.02, allocations: 3.008 MB / 4.127 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.925e-05/11.02, allocations: 8.656 kB / 4.127 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005441/11.02, allocations: 9.875 kB / 4.127 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/11.02, allocations: 167.3 kB / 4.127 GB, free: 28.07 MB / 0.5105 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.09792/11.12, allocations: 49.71 MB / 4.175 GB, free: 17.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/11.12, allocations: 2.328 MB / 4.178 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/11.12, allocations: 1.171 MB / 4.179 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03354/11.16, allocations: 17.22 MB / 4.196 GB, free: 21.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003278/11.16, allocations: 1.353 MB / 4.197 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=186): time 5.441e-06/11.16, allocations: 0 / 4.197 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=206): time 0.0387/11.2, allocations: 10.28 MB / 4.207 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/11.2, allocations: 378.9 kB / 4.207 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/11.2, allocations: 1.149 MB / 4.209 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003712/11.2, allocations: 29.64 kB / 4.209 GB, free: 18.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008588/11.2, allocations: 1.073 MB / 4.21 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006743/11.2, allocations: 0.6651 MB / 4.21 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/11.2, allocations: 0 / 4.21 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001879/11.2, allocations: 397 kB / 4.211 GB, free: 17.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/11.21, allocations: 1.104 MB / 4.212 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/11.21, allocations: 1.634 MB / 4.213 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008289/11.22, allocations: 2.083 MB / 4.215 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/11.22, allocations: 6.25 kB / 4.215 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.012/11.23, allocations: 3.978 MB / 4.219 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001901/11.23, allocations: 5.596 MB / 4.225 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/11.23, allocations: 17.44 kB / 4.225 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/11.23, allocations: 314.5 kB / 4.225 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/11.23, allocations: 0.5949 MB / 4.226 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/11.24, allocations: 3.14 MB / 4.229 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/11.24, allocations: 323.8 kB / 4.229 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/11.24, allocations: 122.8 kB / 4.229 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/11.24, allocations: 3.719 kB / 4.229 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01056/11.25, allocations: 3.496 MB / 4.232 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/11.25, allocations: 16.5 kB / 4.233 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/11.25, allocations: 313.4 kB / 4.233 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/11.25, allocations: 0.5902 MB / 4.233 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/11.26, allocations: 3.136 MB / 4.236 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/11.26, allocations: 300.3 kB / 4.237 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/11.26, allocations: 118.5 kB / 4.237 GB, free: 5.383 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.junctionVolume.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real 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: 31 (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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,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.001038/11.26, allocations: 261.2 kB / 4.237 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000699/11.26, allocations: 205 kB / 4.237 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/11.28, allocations: 8.008 MB / 4.245 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/11.28, allocations: 80.23 kB / 4.245 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/11.28, allocations: 7.438 kB / 4.245 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01631/11.3, allocations: 6.904 MB / 4.252 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/11.32, allocations: 12.47 MB / 4.264 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/11.32, allocations: 4.688 kB / 4.264 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/11.32, allocations: 455.1 kB / 4.265 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/11.33, allocations: 430.1 kB / 4.265 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000443/11.33, allocations: 56.41 kB / 4.265 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/11.33, allocations: 3.363 MB / 4.268 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/11.33, allocations: 18.7 kB / 4.268 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/11.35, allocations: 8.369 MB / 4.276 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/11.35, allocations: 0.7876 MB / 4.277 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/11.35, allocations: 23.45 kB / 4.277 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/11.35, allocations: 190 kB / 4.277 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/11.36, allocations: 186 kB / 4.278 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/11.36, allocations: 93.28 kB / 4.278 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002224/11.36, allocations: 1.081 MB / 4.279 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/11.36, allocations: 0 / 4.279 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01265/11.37, allocations: 2.759 MB / 4.281 GB, free: 4.016 MB / 0.5573 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: 51 ($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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled,junctionIdeal.medium.phase,junctionVolume.medium.phase) * 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 (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.01319/11.38, allocations: 3.236 MB / 4.285 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3644/11.75, allocations: 5.351 MB / 4.29 GB, free: 73.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/11.75, allocations: 3.875 kB / 4.29 GB, free: 73.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/11.75, allocations: 2.678 MB / 4.292 GB, free: 73.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005734/11.76, allocations: 0.9984 MB / 4.293 GB, free: 73.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1224/11.88, allocations: 59.54 MB / 4.352 GB, free: 71.01 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/11.88, allocations: 2.336 MB / 4.354 GB, free: 70.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006323/11.89, allocations: 2.698 MB / 4.357 GB, free: 70.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000938/11.89, allocations: 195 kB / 4.357 GB, free: 70.09 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/11.89, allocations: 0 / 4.357 GB, free: 70.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.1153/12.01, allocations: 80.05 MB / 4.435 GB, free: 54.57 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1)