Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002384/0.002384, allocations: 156.7 kB / 7.632 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.501/1.501, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001687/0.001687, allocations: 99.77 kB / 218 MB, free: 15.34 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.2302/0.2302, allocations: 37.97 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.93e-05, allocations: 0 / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3487, allocations: 48.69 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.11/10.46, allocations: 3.672 GB / 4.062 GB, free: 32.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/10.46, allocations: 79.7 kB / 4.062 GB, free: 32.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.48/14.94, allocations: 0.9558 GB / 5.018 GB, free: 21.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/14.94, allocations: 0 / 5.018 GB, free: 21.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006504/14.94, allocations: 165.8 kB / 5.018 GB, free: 21.05 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.05267/14.99, allocations: 9.626 MB / 5.027 GB, free: 17.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/14.99, allocations: 15.44 kB / 5.027 GB, free: 17.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008886/15, allocations: 0.8488 MB / 5.028 GB, free: 16.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/15.02, allocations: 5.749 MB / 5.034 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008065/15.02, allocations: 239.3 kB / 5.034 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005468/15.03, allocations: 413.8 kB / 5.034 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03201/15.06, allocations: 15.35 MB / 5.049 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04035/15.1, allocations: 12.89 MB / 5.062 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005147/15.1, allocations: 22.31 kB / 5.062 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005615/15.11, allocations: 9.781 kB / 5.062 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007975/15.11, allocations: 0.7032 MB / 5.063 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/15.25, allocations: 41.24 MB / 5.103 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0304/15.28, allocations: 10.92 MB / 5.114 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01691/15.29, allocations: 7.047 MB / 5.12 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005486/15.3, allocations: 4.162 MB / 5.125 GB, free: 8 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4283/15.73, allocations: 141.5 kB / 5.125 GB, free: 51.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00984/15.74, allocations: 0.8699 MB / 5.126 GB, free: 51.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=881): time 0.0001285/15.74, allocations: 0 / 5.126 GB, free: 51.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1121): time 0.3023/16.04, allocations: 81.51 MB / 5.205 GB, free: 49.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/16.04, allocations: 165.9 kB / 5.205 GB, free: 49.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/16.04, allocations: 2.296 MB / 5.208 GB, free: 49.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004217/16.05, allocations: 31.73 kB / 5.208 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/16.05, allocations: 2.391 MB / 5.21 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006995/16.06, allocations: 3.755 MB / 5.214 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003107/16.06, allocations: 0 / 5.214 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008893/16.06, allocations: 0.7468 MB / 5.214 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01602/16.08, allocations: 8.733 MB / 5.223 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01765/16.09, allocations: 10.13 MB / 5.233 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03715/16.13, allocations: 13.16 MB / 5.246 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/16.13, allocations: 7.25 kB / 5.246 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.08706/16.22, allocations: 31.3 MB / 5.276 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003361/16.22, allocations: 12.47 MB / 5.288 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.983e-05/16.22, allocations: 35.28 kB / 5.288 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7011/16.92, allocations: 43.99 MB / 5.331 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/16.93, allocations: 1.083 MB / 5.332 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0864/17.02, allocations: 35.32 MB / 5.367 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01982/17.04, allocations: 1.575 MB / 5.368 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006581/17.04, allocations: 0.6049 MB / 5.369 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/17.04, allocations: 2.875 kB / 5.369 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08924/17.13, allocations: 29.28 MB / 5.398 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/17.13, allocations: 30.72 kB / 5.398 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.17/17.3, allocations: 40.16 MB / 5.437 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006095/17.31, allocations: 1.181 MB / 5.438 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05662/17.37, allocations: 31.26 MB / 5.469 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/17.38, allocations: 1.548 MB / 5.47 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005177/17.39, allocations: 0.5882 MB / 5.471 GB, free: 32.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 589 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.008269/17.4, allocations: 231 kB / 5.471 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004428/17.4, allocations: 0.5758 MB / 5.471 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06098/17.46, allocations: 26.57 MB / 5.497 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.213e-05/17.46, allocations: 120 kB / 5.497 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/17.46, allocations: 0 / 5.497 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5542/18.02, allocations: 22.1 MB / 5.519 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1133/18.13, allocations: 40.41 MB / 5.559 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000179/18.13, allocations: 2 kB / 5.559 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01363/18.14, allocations: 2.131 MB / 5.561 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03636/18.18, allocations: 11.09 MB / 5.571 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004969/18.18, allocations: 478.5 kB / 5.572 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/18.21, allocations: 30.67 MB / 5.602 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/18.21, allocations: 0 / 5.602 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08668/18.3, allocations: 34.75 MB / 5.636 GB, free: 34.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004078/18.3, allocations: 0.6832 MB / 5.636 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006801/18.31, allocations: 263 kB / 5.637 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/18.33, allocations: 1.255 MB / 5.638 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00517/18.33, allocations: 0.7654 MB / 5.639 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004969/18.34, allocations: 0.5461 MB / 5.639 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004569/18.34, allocations: 1.676 MB / 5.641 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/18.34, allocations: 0 / 5.641 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.04698/18.39, allocations: 6.244 MB / 5.647 GB, free: 32.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01947/18.41, allocations: 3.968 MB / 5.651 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.07656/18.49, allocations: 32.28 MB / 5.682 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/18.49, allocations: 7.375 kB / 5.682 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02668/18.51, allocations: 11.23 MB / 5.693 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02484/18.54, allocations: 2.734 MB / 5.696 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5191/19.06, allocations: 25.78 MB / 5.721 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/19.07, allocations: 5.208 MB / 5.726 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0276/19.1, allocations: 5.159 MB / 5.731 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005828/19.1, allocations: 0.6982 MB / 5.732 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/19.1, allocations: 0 / 5.732 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of Templates: time 1.548/20.65, allocations: 384.5 MB / 6.107 GB, free: 101.4 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1)