Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009594/0.009594, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.46/1.46, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001681/0.001681, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.325/0.325, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 12 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.914/6.033, allocations: 2.55 GB / 2.951 GB, free: 59.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/6.033, allocations: 84.23 kB / 2.952 GB, free: 59.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146/9.179, allocations: 0.8785 GB / 3.83 GB, free: 27.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.785e-06/9.179, allocations: 0 / 3.83 GB, free: 27.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00033/9.18, allocations: 72.34 kB / 3.83 GB, free: 27 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.01787/9.198, allocations: 4.174 MB / 3.834 GB, free: 24.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/9.198, allocations: 7.594 kB / 3.834 GB, free: 24.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00713/9.205, allocations: 0.8443 MB / 3.835 GB, free: 24.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/9.213, allocations: 2.086 MB / 3.837 GB, free: 24.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/9.213, allocations: 179.8 kB / 3.837 GB, free: 24.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/9.215, allocations: 198.3 kB / 3.837 GB, free: 24.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/9.226, allocations: 3.686 MB / 3.841 GB, free: 23.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/9.226, allocations: 12.53 kB / 3.841 GB, free: 23.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007451/9.227, allocations: 87.12 kB / 3.841 GB, free: 23.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/9.227, allocations: 171.8 kB / 3.841 GB, free: 23.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00846/9.236, allocations: 3.418 MB / 3.845 GB, free: 23.68 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.02116/9.257, allocations: 15.37 MB / 3.86 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/9.262, allocations: 2.265 MB / 3.862 GB, free: 11.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03232/9.294, allocations: 18.87 MB / 3.88 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004863/9.299, allocations: 1.672 MB / 3.882 GB, free: 14.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 5.27e-06/9.299, allocations: 0 / 3.882 GB, free: 14.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=175): time 0.02481/9.324, allocations: 8.994 MB / 3.891 GB, free: 8.172 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/9.324, allocations: 265 kB / 3.891 GB, free: 7.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/9.327, allocations: 1.446 MB / 3.892 GB, free: 6.641 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/9.328, allocations: 65.64 kB / 3.892 GB, free: 6.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/9.329, allocations: 0.9865 MB / 3.893 GB, free: 5.672 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007528/9.329, allocations: 0.591 MB / 3.894 GB, free: 5.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/9.33, allocations: 40 kB / 3.894 GB, free: 5.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/9.33, allocations: 388.9 kB / 3.894 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/9.332, allocations: 1.117 MB / 3.895 GB, free: 3.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/9.335, allocations: 1.583 MB / 3.897 GB, free: 2.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/9.337, allocations: 1.372 MB / 3.898 GB, free: 1.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/9.337, allocations: 4 kB / 3.898 GB, free: 1.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.3545/9.692, allocations: 3.329 MB / 3.902 GB, free: 42.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001094/9.693, allocations: 5.007 MB / 3.907 GB, free: 37.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/9.693, allocations: 16.61 kB / 3.907 GB, free: 37.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/9.694, allocations: 250.2 kB / 3.907 GB, free: 37.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/9.696, allocations: 0.5154 MB / 3.907 GB, free: 37.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/9.698, allocations: 2.439 MB / 3.91 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/9.701, allocations: 265.4 kB / 3.91 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/9.701, allocations: 107 kB / 3.91 GB, free: 35.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/9.701, allocations: 3.406 kB / 3.91 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005419/9.706, allocations: 3.034 MB / 3.913 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/9.706, allocations: 20.97 kB / 3.913 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/9.707, allocations: 246.3 kB / 3.913 GB, free: 34.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/9.709, allocations: 0.5125 MB / 3.914 GB, free: 34.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/9.71, allocations: 2.431 MB / 3.916 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/9.713, allocations: 269.4 kB / 3.916 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/9.713, allocations: 103.7 kB / 3.916 GB, free: 32.88 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 (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,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,splitter.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked 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.001573/9.714, allocations: 0.7569 MB / 3.917 GB, free: 32.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/9.715, allocations: 203.6 kB / 3.917 GB, free: 32.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/9.725, allocations: 7.631 MB / 3.925 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/9.725, allocations: 81.06 kB / 3.925 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/9.725, allocations: 0.5625 kB / 3.925 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007362/9.733, allocations: 6.662 MB / 3.931 GB, free: 31.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/9.747, allocations: 10.84 MB / 3.942 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/9.747, allocations: 4.469 kB / 3.942 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/9.749, allocations: 412.1 kB / 3.942 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/9.75, allocations: 366.7 kB / 3.943 GB, free: 30.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/9.75, allocations: 63.06 kB / 3.943 GB, free: 30.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/9.751, allocations: 2.521 MB / 3.945 GB, free: 28.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/9.751, allocations: 0 / 3.945 GB, free: 28.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009962/9.761, allocations: 7.127 MB / 3.952 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/9.763, allocations: 0.7484 MB / 3.953 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008228/9.764, allocations: 56.92 kB / 3.953 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/9.767, allocations: 211 kB / 3.953 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/9.767, allocations: 148.2 kB / 3.953 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/9.767, allocations: 72.16 kB / 3.953 GB, free: 27.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002891/9.77, allocations: 1.211 MB / 3.955 GB, free: 27.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/9.77, allocations: 0 / 3.955 GB, free: 27.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01378/9.784, allocations: 2.824 MB / 3.957 GB, free: 27.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.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,splitter.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 (200): * Single equations (assignments): 171 * 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.01414/9.798, allocations: 2.936 MB / 3.96 GB, free: 27.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01039/9.809, allocations: 5.2 MB / 3.965 GB, free: 26.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/9.809, allocations: 0 / 3.965 GB, free: 26.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003597/9.812, allocations: 2.428 MB / 3.968 GB, free: 26.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005311/9.818, allocations: 0.9639 MB / 3.969 GB, free: 26.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6405/10.46, allocations: 128.3 MB / 4.094 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/10.46, allocations: 2.273 MB / 4.096 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00466/10.46, allocations: 2.443 MB / 4.099 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/10.47, allocations: 196.9 kB / 4.099 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/10.47, allocations: 0 / 4.099 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.1205/10.59, allocations: 84.11 MB / 4.181 GB, free: 48.53 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe 2>&1)