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.00135/0.00135, 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.824/1.824, 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.001966/0.001966, allocations: 122.8 kB / 247.4 MB, free: 6.223 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.2316/0.2316, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.715e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 54.86 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.529/7.648, allocations: 2.655 GB / 3.093 GB, free: 13.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/7.649, allocations: 80.27 kB / 3.093 GB, free: 13.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.143/10.79, allocations: 0.7948 GB / 3.888 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/10.79, allocations: 3.906 kB / 3.888 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002103/10.79, allocations: 69.19 kB / 3.888 GB, free: 32.07 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.01124/10.8, allocations: 3.95 MB / 3.892 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/10.8, allocations: 7.375 kB / 3.892 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/10.81, allocations: 0.8336 MB / 3.892 GB, free: 30.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/10.81, allocations: 2.168 MB / 3.895 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/10.81, allocations: 90.88 kB / 3.895 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/10.81, allocations: 121.1 kB / 3.895 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003702/10.82, allocations: 2.869 MB / 3.898 GB, free: 29.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/10.82, allocations: 2.878 MB / 3.9 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/10.82, allocations: 4.875 kB / 3.9 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/10.82, allocations: 12.14 kB / 3.9 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/10.82, allocations: 161.6 kB / 3.901 GB, free: 28.99 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.2123/11.03, allocations: 108.9 MB / 4.007 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/11.04, allocations: 1.584 MB / 4.008 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/11.04, allocations: 0.9831 MB / 4.009 GB, free: 20.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03073/11.07, allocations: 17.53 MB / 4.027 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/11.07, allocations: 1.224 MB / 4.028 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001439/11.07, allocations: 169.5 kB / 4.028 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=152): time 5.491e-06/11.07, allocations: 1.594 kB / 4.028 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of matching and sorting (n=164): time 0.02075/11.09, allocations: 7.897 MB / 4.036 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004495/11.09, allocations: 0.5078 MB / 4.036 GB, free: 21.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/11.09, allocations: 1.187 MB / 4.037 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002602/11.09, allocations: 29.7 kB / 4.037 GB, free: 20.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/11.09, allocations: 1.036 MB / 4.038 GB, free: 19.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000399/11.1, allocations: 0.5356 MB / 4.039 GB, free: 19.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/11.1, allocations: 0 / 4.039 GB, free: 19.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001724/11.1, allocations: 390.5 kB / 4.039 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/11.1, allocations: 1.045 MB / 4.04 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/11.1, allocations: 1.49 MB / 4.042 GB, free: 17.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/11.11, allocations: 2.855 MB / 4.044 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/11.11, allocations: 0 / 4.044 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01394/11.12, allocations: 4.708 MB / 4.049 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001841/11.12, allocations: 4.524 MB / 4.053 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/11.12, allocations: 19.88 kB / 4.054 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/11.13, allocations: 0.8055 MB / 4.054 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/11.13, allocations: 477.6 kB / 4.055 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/11.13, allocations: 3.33 MB / 4.058 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/11.14, allocations: 235.9 kB / 4.058 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/11.14, allocations: 107.2 kB / 4.058 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/11.14, allocations: 7.438 kB / 4.058 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01465/11.15, allocations: 4.2 MB / 4.062 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.938e-05/11.15, allocations: 15.95 kB / 4.062 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/11.15, allocations: 343.2 kB / 4.063 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/11.15, allocations: 493.7 kB / 4.063 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3521/11.51, allocations: 3.99 MB / 4.067 GB, free: 89.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/11.51, allocations: 206.1 kB / 4.067 GB, free: 89.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/11.51, allocations: 101.4 kB / 4.067 GB, free: 89.68 MB / 0.5573 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,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,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 (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.0006482/11.51, allocations: 249.4 kB / 4.068 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/11.51, allocations: 195.9 kB / 4.068 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008806/11.52, allocations: 6.688 MB / 4.074 GB, free: 89.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/11.52, allocations: 71.38 kB / 4.074 GB, free: 89.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/11.52, allocations: 2.719 kB / 4.074 GB, free: 89.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006904/11.53, allocations: 5.662 MB / 4.08 GB, free: 88.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/11.54, allocations: 9.027 MB / 4.089 GB, free: 87.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/11.54, allocations: 2.281 kB / 4.089 GB, free: 87.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/11.54, allocations: 298.6 kB / 4.089 GB, free: 87.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/11.54, allocations: 2.343 MB / 4.091 GB, free: 87.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/11.54, allocations: 45.84 kB / 4.091 GB, free: 87.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/11.55, allocations: 4.423 MB / 4.096 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/11.55, allocations: 7.859 kB / 4.096 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008563/11.56, allocations: 7.107 MB / 4.103 GB, free: 85.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/11.56, allocations: 0.6883 MB / 4.103 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/11.56, allocations: 22.22 kB / 4.103 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/11.56, allocations: 151.8 kB / 4.104 GB, free: 84.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/11.56, allocations: 135.1 kB / 4.104 GB, free: 84.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/11.56, allocations: 70.47 kB / 4.104 GB, free: 84.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001615/11.56, allocations: 1.078 MB / 4.105 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.233e-06/11.56, allocations: 0 / 4.105 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01022/11.57, allocations: 2.7 MB / 4.107 GB, free: 84.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 45 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.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) * 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 (151): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 15 * 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.01028/11.58, allocations: 3.002 MB / 4.11 GB, free: 84.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006701/11.59, allocations: 5.016 MB / 4.115 GB, free: 84.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/11.59, allocations: 0 / 4.115 GB, free: 84.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/11.59, allocations: 2.102 MB / 4.117 GB, free: 83.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/11.59, allocations: 0.7841 MB / 4.118 GB, free: 83.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/11.6, allocations: 5.363 MB / 4.123 GB, free: 82.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/11.6, allocations: 2.211 MB / 4.125 GB, free: 82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004182/11.61, allocations: 2.422 MB / 4.128 GB, free: 81.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/11.61, allocations: 143.9 kB / 4.128 GB, free: 81.95 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/11.61, allocations: 0 / 4.128 GB, free: 81.95 MB / 0.5573 GB Notification: Performance of Templates: time 0.09604/11.7, allocations: 76.18 MB / 4.202 GB, free: 77.57 MB / 0.5573 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)