Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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.BranchingPipes14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00865/0.00865, allocations: 165.9 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.00169/0.00169, allocations: 107.3 kB / 226.2 MB, free: 10.12 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.298/0.298, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 12 kB / 362.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 48.7 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.119/5.222, allocations: 2.566 GB / 2.968 GB, free: 42.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/5.223, allocations: 79.52 kB / 2.968 GB, free: 42.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.843/8.065, allocations: 0.8821 GB / 3.851 GB, free: 27.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.435e-06/8.065, allocations: 0 / 3.851 GB, free: 27.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001991/8.065, allocations: 61.8 kB / 3.851 GB, free: 27.58 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01486/8.08, allocations: 4.109 MB / 3.855 GB, free: 25.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/8.08, allocations: 7.344 kB / 3.855 GB, free: 25.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006718/8.087, allocations: 0.8454 MB / 3.855 GB, free: 25.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006291/8.093, allocations: 2.105 MB / 3.857 GB, free: 24.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/8.094, allocations: 185.9 kB / 3.858 GB, free: 24.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007198/8.094, allocations: 196 kB / 3.858 GB, free: 24.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007662/8.102, allocations: 3.644 MB / 3.861 GB, free: 22.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-05/8.102, allocations: 10.58 kB / 3.861 GB, free: 22.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/8.102, allocations: 96.16 kB / 3.862 GB, free: 22.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/8.103, allocations: 172.1 kB / 3.862 GB, free: 22.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007426/8.11, allocations: 3.333 MB / 3.865 GB, free: 21.47 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01801/8.128, allocations: 15.43 MB / 3.88 GB, free: 9.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005393/8.134, allocations: 2.788 MB / 3.883 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03668/8.17, allocations: 18.87 MB / 3.901 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005518/8.176, allocations: 1.701 MB / 3.903 GB, free: 4.824 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 6.492e-06/8.176, allocations: 3.938 kB / 3.903 GB, free: 4.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=185): time 0.2914/8.467, allocations: 9.145 MB / 3.912 GB, free: 44.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/8.467, allocations: 257.8 kB / 3.912 GB, free: 44.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/8.47, allocations: 1.358 MB / 3.913 GB, free: 43.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/8.47, allocations: 61.83 kB / 3.913 GB, free: 43.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/8.471, allocations: 0.9798 MB / 3.914 GB, free: 43.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/8.471, allocations: 0.6212 MB / 3.915 GB, free: 43.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/8.471, allocations: 40.62 kB / 3.915 GB, free: 43.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/8.471, allocations: 389.8 kB / 3.915 GB, free: 42.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/8.473, allocations: 1.128 MB / 3.916 GB, free: 42.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/8.476, allocations: 1.626 MB / 3.918 GB, free: 42.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/8.478, allocations: 1.373 MB / 3.919 GB, free: 42.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/8.478, allocations: 3.75 kB / 3.919 GB, free: 42.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.006288/8.484, allocations: 3.327 MB / 3.923 GB, free: 42.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001036/8.485, allocations: 5.01 MB / 3.928 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/8.485, allocations: 10.53 kB / 3.928 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009403/8.486, allocations: 247.9 kB / 3.928 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/8.488, allocations: 0.5294 MB / 3.928 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/8.49, allocations: 2.43 MB / 3.931 GB, free: 34.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/8.493, allocations: 316 kB / 3.931 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/8.493, allocations: 103.2 kB / 3.931 GB, free: 34.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/8.493, allocations: 2.531 kB / 3.931 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005792/8.499, allocations: 3.064 MB / 3.934 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/8.499, allocations: 17.27 kB / 3.934 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008259/8.5, allocations: 252.4 kB / 3.934 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/8.502, allocations: 0.5223 MB / 3.935 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/8.503, allocations: 2.429 MB / 3.937 GB, free: 32.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/8.506, allocations: 305.2 kB / 3.937 GB, free: 32.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/8.507, allocations: 106.9 kB / 3.938 GB, free: 32.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 28 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.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,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,junctionIdeal.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 248 * 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.001983/8.509, allocations: 0.7598 MB / 3.938 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/8.509, allocations: 205 kB / 3.939 GB, free: 32.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009703/8.519, allocations: 7.562 MB / 3.946 GB, free: 31.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-05/8.519, allocations: 85.62 kB / 3.946 GB, free: 31.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/8.519, allocations: 3.125 kB / 3.946 GB, free: 31.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008107/8.527, allocations: 6.583 MB / 3.952 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/8.545, allocations: 12.18 MB / 3.964 GB, free: 28.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/8.545, allocations: 7.344 kB / 3.964 GB, free: 28.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/8.547, allocations: 429.4 kB / 3.965 GB, free: 28.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/8.549, allocations: 368.9 kB / 3.965 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/8.549, allocations: 71.83 kB / 3.965 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/8.55, allocations: 2.535 MB / 3.968 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/8.55, allocations: 8.531 kB / 3.968 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/8.562, allocations: 7.762 MB / 3.975 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/8.564, allocations: 0.7452 MB / 3.976 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/8.564, allocations: 63.67 kB / 3.976 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/8.566, allocations: 216.8 kB / 3.976 GB, free: 25.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/8.566, allocations: 176.3 kB / 3.976 GB, free: 25.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/8.567, allocations: 80 kB / 3.976 GB, free: 25.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001795/8.568, allocations: 1.138 MB / 3.978 GB, free: 24.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/8.568, allocations: 0 / 3.978 GB, free: 24.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01412/8.583, allocations: 2.716 MB / 3.98 GB, free: 24.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,junctionIdeal.medium.p,junctionIdeal.medium.h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse34.region3boundary,$cse35.region3boundary,$cse36.phase,$cse36.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse42.phase,$cse42.region,$cse43.region3boundary,$cse44.region3boundary,$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,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,junctionIdeal.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 23 * 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.01288/8.595, allocations: 2.837 MB / 3.983 GB, free: 24.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009435/8.605, allocations: 5.262 MB / 3.988 GB, free: 24.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/8.605, allocations: 3.625 kB / 3.988 GB, free: 24.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/8.609, allocations: 2.693 MB / 3.991 GB, free: 24.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/8.614, allocations: 0.9778 MB / 3.992 GB, free: 24.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.523/9.137, allocations: 128.5 MB / 4.117 GB, free: 53.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/9.14, allocations: 2.283 MB / 4.119 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006265/9.146, allocations: 2.367 MB / 4.122 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/9.147, allocations: 200.6 kB / 4.122 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/9.147, allocations: 0 / 4.122 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.1132/9.26, allocations: 83.94 MB / 4.204 GB, free: 46.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe 2>&1)