Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.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.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006644/0.006644, allocations: 166.8 kB / 15.11 MB, free: 5.984 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.386/1.386, 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.001758/0.001758, 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.3625/0.3625, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 16 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.825/5.943, allocations: 2.563 GB / 2.965 GB, free: 61.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/5.943, allocations: 82.95 kB / 2.965 GB, free: 61.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.097/9.04, allocations: 0.8485 GB / 3.813 GB, free: 29.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.315e-06/9.04, allocations: 0 / 3.813 GB, free: 29.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000275/9.04, allocations: 62.72 kB / 3.813 GB, free: 29.6 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: 472 * Number of variables: 472 Notification: Performance of Generate backend data structure: time 0.01543/9.056, allocations: 3.887 MB / 3.817 GB, free: 27.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/9.056, allocations: 10 kB / 3.817 GB, free: 27.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/9.062, allocations: 0.7581 MB / 3.818 GB, free: 27.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/9.069, allocations: 1.988 MB / 3.82 GB, free: 27.22 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/9.069, allocations: 163.9 kB / 3.82 GB, free: 27.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009671/9.07, allocations: 180.2 kB / 3.82 GB, free: 27.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009114/9.079, allocations: 3.259 MB / 3.823 GB, free: 26.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.78e-05/9.079, allocations: 9.062 kB / 3.823 GB, free: 26.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005775/9.08, allocations: 75.52 kB / 3.823 GB, free: 26.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/9.08, allocations: 148.2 kB / 3.823 GB, free: 26.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008502/9.089, allocations: 2.933 MB / 3.826 GB, free: 26.71 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.02278/9.111, allocations: 13.88 MB / 3.84 GB, free: 18.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/9.116, allocations: 2.036 MB / 3.842 GB, free: 18.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03306/9.15, allocations: 18.79 MB / 3.86 GB, free: 22.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00454/9.154, allocations: 1.583 MB / 3.862 GB, free: 22.12 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001628/9.156, allocations: 162.6 kB / 3.862 GB, free: 22.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 1.097e-05/9.156, allocations: 0 / 3.862 GB, free: 22.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.0223/9.178, allocations: 8.313 MB / 3.87 GB, free: 20.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/9.178, allocations: 255.2 kB / 3.87 GB, free: 20.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/9.181, allocations: 1.271 MB / 3.872 GB, free: 20.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/9.181, allocations: 52.98 kB / 3.872 GB, free: 20.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009982/9.182, allocations: 0.8954 MB / 3.872 GB, free: 19.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/9.183, allocations: 0.5443 MB / 3.873 GB, free: 19.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/9.183, allocations: 43.91 kB / 3.873 GB, free: 19.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/9.183, allocations: 383.8 kB / 3.873 GB, free: 19.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/9.185, allocations: 1.006 MB / 3.874 GB, free: 19.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/9.187, allocations: 1.443 MB / 3.876 GB, free: 18.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/9.189, allocations: 1.247 MB / 3.877 GB, free: 18.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/9.189, allocations: 2.969 kB / 3.877 GB, free: 18.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006278/9.196, allocations: 3.126 MB / 3.88 GB, free: 17.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001898/9.198, allocations: 4.365 MB / 3.884 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/9.198, allocations: 15.3 kB / 3.884 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/9.2, allocations: 0.5349 MB / 3.885 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/9.202, allocations: 451.6 kB / 3.885 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/9.205, allocations: 2.711 MB / 3.888 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/9.208, allocations: 265.3 kB / 3.888 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005365/9.208, allocations: 102 kB / 3.888 GB, free: 10.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/9.208, allocations: 3.844 kB / 3.888 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005752/9.214, allocations: 2.765 MB / 3.891 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/9.214, allocations: 12.44 kB / 3.891 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/9.215, allocations: 208.2 kB / 3.891 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/9.217, allocations: 474.4 kB / 3.892 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/9.218, allocations: 1.874 MB / 3.893 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/9.22, allocations: 261 kB / 3.894 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003166/9.221, allocations: 95.23 kB / 3.894 GB, free: 7.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001698/9.222, allocations: 0.7103 MB / 3.894 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/9.223, allocations: 193.1 kB / 3.895 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/9.233, allocations: 7.445 MB / 3.902 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/9.233, allocations: 82.97 kB / 3.902 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/9.233, allocations: 0 / 3.902 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00908/9.242, allocations: 6.532 MB / 3.908 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/9.261, allocations: 11.21 MB / 3.919 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/9.261, allocations: 4 kB / 3.919 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/9.263, allocations: 357.5 kB / 3.92 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002867/9.266, allocations: 1.186 MB / 3.921 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/9.266, allocations: 63.31 kB / 3.921 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/9.269, allocations: 3.194 MB / 3.924 GB, free: 468 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/9.269, allocations: 8 kB / 3.924 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.339/9.608, allocations: 7.462 MB / 3.931 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/9.61, allocations: 0.7014 MB / 3.932 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/9.61, allocations: 51.56 kB / 3.932 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/9.612, allocations: 182.5 kB / 3.932 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/9.612, allocations: 152.6 kB / 3.932 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/9.612, allocations: 71.73 kB / 3.932 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001517/9.614, allocations: 1.081 MB / 3.934 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/9.614, allocations: 0 / 3.934 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01252/9.626, allocations: 2.58 MB / 3.936 GB, free: 58.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.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) * 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 (177): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01274/9.639, allocations: 2.746 MB / 3.939 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008778/9.648, allocations: 4.747 MB / 3.943 GB, free: 58.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/9.648, allocations: 2.844 kB / 3.943 GB, free: 58.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/9.651, allocations: 2.454 MB / 3.946 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004944/9.656, allocations: 0.9037 MB / 3.947 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/9.874, allocations: 127.8 MB / 4.071 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002856/9.876, allocations: 2.185 MB / 4.074 GB, free: 33.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005317/9.882, allocations: 2.258 MB / 4.076 GB, free: 32.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009139/9.883, allocations: 177.9 kB / 4.076 GB, free: 32.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.913e-06/9.883, allocations: 0 / 4.076 GB, free: 32.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.4203/10.3, allocations: 80.28 MB / 4.154 GB, free: 53.17 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe 2>&1)