Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001109/0.001109, allocations: 182.6 kB / 7.652 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.864/1.864, allocations: 194.3 MB / 202.4 MB, free: 8.492 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.0019/0.0019, allocations: 108.5 kB / 247.4 MB, free: 6.219 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.2579/0.2579, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.289e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.173/2.307, allocations: 0.6543 GB / 1.092 GB, free: 116.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/2.308, allocations: 72.66 kB / 1.092 GB, free: 116.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.397/4.705, allocations: 0.5347 GB / 1.627 GB, free: 36.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/4.705, allocations: 2.438 kB / 1.627 GB, free: 36.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003972/4.705, allocations: 60.22 kB / 1.627 GB, free: 36.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01384/4.719, allocations: 3.01 MB / 1.63 GB, free: 35.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/4.719, allocations: 10.84 kB / 1.63 GB, free: 35.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/4.724, allocations: 450.5 kB / 1.63 GB, free: 35.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008627/4.732, allocations: 1.931 MB / 1.632 GB, free: 35.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/4.733, allocations: 55.62 kB / 1.632 GB, free: 35.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/4.734, allocations: 96.97 kB / 1.632 GB, free: 35.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005574/4.739, allocations: 2.115 MB / 1.634 GB, free: 35.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005675/4.745, allocations: 2.349 MB / 1.637 GB, free: 34.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/4.745, allocations: 9.734 kB / 1.637 GB, free: 34.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/4.745, allocations: 6.094 kB / 1.637 GB, free: 34.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/4.746, allocations: 155.2 kB / 1.637 GB, free: 34.61 MB / 490.7 MB 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.01515/4.761, allocations: 10.73 MB / 1.647 GB, free: 28.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/4.763, allocations: 1.718 MB / 1.649 GB, free: 28.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/4.765, allocations: 0.963 MB / 1.65 GB, free: 28.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009477/4.766, allocations: 448.3 kB / 1.65 GB, free: 28.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/4.767, allocations: 1.038 MB / 1.651 GB, free: 28.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.739e-06/4.767, allocations: 2.531 kB / 1.651 GB, free: 28.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.04441/4.811, allocations: 9.334 MB / 1.66 GB, free: 27.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/4.812, allocations: 256.7 kB / 1.661 GB, free: 26.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/4.816, allocations: 1.077 MB / 1.662 GB, free: 26.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009599/4.817, allocations: 29.67 kB / 1.662 GB, free: 26.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/4.819, allocations: 0.9085 MB / 1.663 GB, free: 26.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001299/4.82, allocations: 0.5731 MB / 1.663 GB, free: 25.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006008/4.821, allocations: 1.438 kB / 1.663 GB, free: 25.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002788/4.821, allocations: 390.8 kB / 1.664 GB, free: 25.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/4.823, allocations: 0.9702 MB / 1.664 GB, free: 25.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/4.825, allocations: 1.398 MB / 1.666 GB, free: 25.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/4.836, allocations: 2.313 MB / 1.668 GB, free: 25.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-05/4.837, allocations: 3.594 kB / 1.668 GB, free: 25.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01546/4.852, allocations: 3.911 MB / 1.672 GB, free: 24.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001167/4.853, allocations: 4.239 MB / 1.676 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/4.853, allocations: 9.094 kB / 1.676 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/4.854, allocations: 172.2 kB / 1.676 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/4.856, allocations: 0.5482 MB / 1.677 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/4.858, allocations: 2.342 MB / 1.679 GB, free: 18.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/4.861, allocations: 169.6 kB / 1.679 GB, free: 18.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007172/4.862, allocations: 191.2 kB / 1.679 GB, free: 18.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/4.862, allocations: 3.25 kB / 1.679 GB, free: 18.47 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01319/4.875, allocations: 3.434 MB / 1.683 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.927e-05/4.875, allocations: 11.75 kB / 1.683 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/4.875, allocations: 173.3 kB / 1.683 GB, free: 18.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/4.878, allocations: 0.5361 MB / 1.683 GB, free: 18.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/4.879, allocations: 2.347 MB / 1.686 GB, free: 16.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/4.882, allocations: 167.5 kB / 1.686 GB, free: 16.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006695/4.882, allocations: 184.9 kB / 1.686 GB, free: 16.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * 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.001223/4.884, allocations: 228.5 kB / 1.686 GB, free: 16.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/4.885, allocations: 188.6 kB / 1.686 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/4.902, allocations: 3.885 MB / 1.69 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/4.902, allocations: 19.44 kB / 1.69 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/4.902, allocations: 0 / 1.69 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01335/4.916, allocations: 3.391 MB / 1.694 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/4.937, allocations: 6.873 MB / 1.7 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/4.937, allocations: 2.844 kB / 1.7 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/4.939, allocations: 416.5 kB / 1.701 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/4.939, allocations: 162.9 kB / 1.701 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004291/4.94, allocations: 74.45 kB / 1.701 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/4.942, allocations: 3.019 MB / 1.704 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/4.942, allocations: 13.59 kB / 1.704 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/4.958, allocations: 5.088 MB / 1.709 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/4.959, allocations: 0.5043 MB / 1.709 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/4.96, allocations: 25.14 kB / 1.709 GB, free: 23.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/4.962, allocations: 98.48 kB / 1.709 GB, free: 22.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/4.963, allocations: 160.9 kB / 1.71 GB, free: 22.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003502/4.963, allocations: 144.9 kB / 1.71 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001613/4.965, allocations: 0.7936 MB / 1.711 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/4.965, allocations: 0 / 1.711 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008936/4.974, allocations: 1.792 MB / 1.712 GB, free: 21.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,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 (184): * Single equations (assignments): 178 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007989/4.982, allocations: 2.655 MB / 1.715 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008212/4.99, allocations: 4.118 MB / 1.719 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/4.99, allocations: 1.812 kB / 1.719 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002739/4.993, allocations: 1.414 MB / 1.72 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005803/4.998, allocations: 0.7729 MB / 1.721 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/5.015, allocations: 5.396 MB / 1.726 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/5.017, allocations: 1.728 MB / 1.728 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008008/5.025, allocations: 1.405 MB / 1.729 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/5.026, allocations: 259.3 kB / 1.73 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/5.026, allocations: 0 / 1.73 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of Templates: time 0.4875/5.514, allocations: 59.07 MB / 1.787 GB, free: 61.13 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1)