Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001487/0.001487, allocations: 176 kB / 7.652 MB, free: 1.426 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.539/1.539, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001652/0.001652, allocations: 116.9 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1753/0.1753, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.905e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2782, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.468/7.746, allocations: 2.659 GB / 3.097 GB, free: 115.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/7.747, allocations: 79.95 kB / 3.097 GB, free: 115.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.592/11.34, allocations: 0.8909 GB / 3.988 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.482e-06/11.34, allocations: 0 / 3.988 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002914/11.34, allocations: 62.36 kB / 3.988 GB, free: 35.31 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: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01625/11.36, allocations: 4.026 MB / 3.992 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/11.36, allocations: 6.156 kB / 3.992 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00699/11.36, allocations: 0.8727 MB / 3.993 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006486/11.37, allocations: 2.076 MB / 3.995 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/11.37, allocations: 92.69 kB / 3.995 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004752/11.37, allocations: 122.6 kB / 3.995 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004287/11.37, allocations: 2.662 MB / 3.998 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/11.38, allocations: 2.873 MB / 4.001 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.649e-05/11.38, allocations: 6.25 kB / 4.001 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/11.38, allocations: 9.688 kB / 4.001 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/11.38, allocations: 163.5 kB / 4.001 GB, free: 32.43 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.222/11.6, allocations: 109.6 MB / 4.108 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/11.6, allocations: 2.059 MB / 4.11 GB, free: 22.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/11.61, allocations: 0.9583 MB / 4.111 GB, free: 22.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03162/11.64, allocations: 17.55 MB / 4.128 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002663/11.64, allocations: 1.172 MB / 4.129 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=153): time 4.729e-06/11.64, allocations: 0 / 4.129 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=169): time 0.02126/11.66, allocations: 7.781 MB / 4.137 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/11.66, allocations: 362.1 kB / 4.137 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/11.66, allocations: 1.133 MB / 4.138 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/11.66, allocations: 29.7 kB / 4.138 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/11.66, allocations: 1.037 MB / 4.139 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/11.66, allocations: 0.5472 MB / 4.14 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/11.66, allocations: 4 kB / 4.14 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001761/11.66, allocations: 386.9 kB / 4.14 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/11.67, allocations: 0.9995 MB / 4.141 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/11.67, allocations: 1.438 MB / 4.142 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/11.68, allocations: 2.788 MB / 4.145 GB, free: 424 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/11.68, allocations: 5.125 kB / 4.145 GB, free: 420 kB / 0.5573 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.3577/12.03, allocations: 4.936 MB / 4.15 GB, free: 80.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00101/12.04, allocations: 4.946 MB / 4.155 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/12.04, allocations: 11.88 kB / 4.155 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/12.04, allocations: 220.5 kB / 4.155 GB, free: 75.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/12.04, allocations: 0.5196 MB / 4.155 GB, free: 75.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/12.04, allocations: 2.456 MB / 4.158 GB, free: 73.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/12.04, allocations: 269.4 kB / 4.158 GB, free: 73.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/12.04, allocations: 100.7 kB / 4.158 GB, free: 73.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/12.04, allocations: 5.344 kB / 4.158 GB, free: 73.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01161/12.05, allocations: 3.998 MB / 4.162 GB, free: 73.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/12.05, allocations: 14.48 kB / 4.162 GB, free: 73.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/12.05, allocations: 219.4 kB / 4.162 GB, free: 73.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/12.06, allocations: 0.5115 MB / 4.163 GB, free: 73.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/12.06, allocations: 2.451 MB / 4.165 GB, free: 71.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/12.06, allocations: 253.8 kB / 4.165 GB, free: 71.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/12.06, allocations: 100.9 kB / 4.166 GB, free: 71.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 30 (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,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,splitter.medium.phase,source.medium.phase,sink.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006031/12.06, allocations: 237.7 kB / 4.166 GB, free: 71.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/12.06, allocations: 197.7 kB / 4.166 GB, free: 71.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009077/12.07, allocations: 6.285 MB / 4.172 GB, free: 71.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/12.07, allocations: 73.45 kB / 4.172 GB, free: 71.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/12.07, allocations: 4.625 kB / 4.172 GB, free: 71.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005909/12.08, allocations: 5.268 MB / 4.177 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/12.09, allocations: 8.99 MB / 4.186 GB, free: 69.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/12.09, allocations: 6.438 kB / 4.186 GB, free: 69.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/12.09, allocations: 366.8 kB / 4.186 GB, free: 69.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007831/12.09, allocations: 314.5 kB / 4.187 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/12.09, allocations: 43.17 kB / 4.187 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/12.09, allocations: 2.63 MB / 4.189 GB, free: 67.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/12.09, allocations: 4.594 kB / 4.189 GB, free: 67.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007709/12.1, allocations: 6.23 MB / 4.195 GB, free: 66.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/12.1, allocations: 0.7102 MB / 4.196 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/12.1, allocations: 21.38 kB / 4.196 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/12.1, allocations: 166 kB / 4.196 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/12.1, allocations: 132.8 kB / 4.196 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/12.1, allocations: 68.53 kB / 4.197 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001371/12.1, allocations: 1.04 MB / 4.198 GB, free: 66.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.192e-06/12.1, allocations: 3.688 kB / 4.198 GB, free: 66.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009132/12.11, allocations: 2.713 MB / 4.2 GB, free: 66.51 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,splitter.medium.p,splitter.medium.h) * Number of discrete variables: 46 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse30.region3boundary,$cse31.region3boundary,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.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,splitter.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 (183): * Single equations (assignments): 158 * 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,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01025/12.12, allocations: 3.145 MB / 4.203 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006811/12.13, allocations: 4.762 MB / 4.208 GB, free: 65.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/12.13, allocations: 0.5625 kB / 4.208 GB, free: 65.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/12.13, allocations: 2.151 MB / 4.21 GB, free: 65.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/12.14, allocations: 0.8554 MB / 4.211 GB, free: 65.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/12.15, allocations: 5.422 MB / 4.216 GB, free: 64.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/12.15, allocations: 2.194 MB / 4.218 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004454/12.15, allocations: 2.553 MB / 4.221 GB, free: 63.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/12.15, allocations: 171 kB / 4.221 GB, free: 63.88 MB / 0.5573 GB Notification: Performance of SimCode: time 9.72e-07/12.15, allocations: 0 / 4.221 GB, free: 63.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.09368/12.25, allocations: 73.98 MB / 4.293 GB, free: 59.2 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe 2>&1)