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.001106/0.001106, allocations: 170.3 kB / 12.72 MB, free: 2.594 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.533/1.533, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.00185/0.00185, allocations: 107.4 kB / 223.2 MB, free: 4.105 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.2357/0.2357, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.517e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.653/8.782, allocations: 3.673 GB / 4.069 GB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/8.782, allocations: 78.55 kB / 4.069 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957/12.74, allocations: 0.9642 GB / 5.034 GB, free: 24.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/12.74, allocations: 0 / 5.034 GB, free: 24.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006892/12.74, allocations: 160.1 kB / 5.034 GB, free: 24.19 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.04793/12.79, allocations: 9.635 MB / 5.043 GB, free: 20.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/12.79, allocations: 10.41 kB / 5.043 GB, free: 20.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009812/12.8, allocations: 0.8481 MB / 5.044 GB, free: 19.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/12.82, allocations: 5.745 MB / 5.05 GB, free: 19.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009644/12.82, allocations: 0.5222 MB / 5.05 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00664/12.83, allocations: 0.6998 MB / 5.051 GB, free: 18.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04753/12.88, allocations: 13.83 MB / 5.064 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001118/12.88, allocations: 24.69 kB / 5.064 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006843/12.88, allocations: 289.1 kB / 5.065 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008839/12.89, allocations: 0.7105 MB / 5.065 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03673/12.92, allocations: 16.19 MB / 5.081 GB, free: 18.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1049/13.03, allocations: 42.15 MB / 5.122 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/13.05, allocations: 10.5 MB / 5.132 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3864/13.44, allocations: 8.119 MB / 5.14 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004125/13.44, allocations: 4.177 MB / 5.144 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/13.44, allocations: 144.3 kB / 5.145 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008811/13.45, allocations: 0.8521 MB / 5.145 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 9.202e-05/13.45, allocations: 0 / 5.145 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.2698/13.72, allocations: 83.22 MB / 5.227 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/13.72, allocations: 163.5 kB / 5.227 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007893/13.73, allocations: 3.327 MB / 5.23 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004988/13.73, allocations: 227.7 kB / 5.23 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/13.73, allocations: 2.41 MB / 5.233 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007885/13.74, allocations: 3.897 MB / 5.237 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003986/13.75, allocations: 215.5 kB / 5.237 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001336/13.75, allocations: 0.7393 MB / 5.237 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01673/13.76, allocations: 8.736 MB / 5.246 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01969/13.78, allocations: 10.18 MB / 5.256 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02104/13.81, allocations: 9.818 MB / 5.265 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/13.81, allocations: 7.188 kB / 5.266 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.07378/13.88, allocations: 28.51 MB / 5.293 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004575/13.88, allocations: 13.05 MB / 5.306 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001953/13.88, allocations: 28 kB / 5.306 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7568/14.64, allocations: 79.71 MB / 5.384 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005576/14.65, allocations: 1.073 MB / 5.385 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0689/14.72, allocations: 31.55 MB / 5.416 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01724/14.73, allocations: 1.79 MB / 5.418 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004748/14.74, allocations: 0.5872 MB / 5.418 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/14.74, allocations: 5.781 kB / 5.418 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06258/14.8, allocations: 26.99 MB / 5.444 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002543/14.8, allocations: 32 kB / 5.445 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.223/15.02, allocations: 66.59 MB / 5.51 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/15.03, allocations: 1.175 MB / 5.511 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4741/15.5, allocations: 29.07 MB / 5.539 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/15.52, allocations: 1.748 MB / 5.541 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004616/15.53, allocations: 0.5838 MB / 5.541 GB, free: 62.73 MB / 0.5261 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 (588): * Single equations (assignments): 587 * 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 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.006647/15.53, allocations: 0.6027 MB / 5.542 GB, free: 62.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003665/15.54, allocations: 0.6401 MB / 5.543 GB, free: 62.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06795/15.6, allocations: 26.78 MB / 5.569 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002107/15.6, allocations: 121.5 kB / 5.569 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001121/15.6, allocations: 0.6562 kB / 5.569 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05322/15.66, allocations: 20.44 MB / 5.589 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1115/15.77, allocations: 41.33 MB / 5.629 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001241/15.77, allocations: 3.562 kB / 5.629 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01297/15.78, allocations: 2.136 MB / 5.631 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04034/15.82, allocations: 11.69 MB / 5.643 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005047/15.83, allocations: 0.6017 MB / 5.643 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02704/15.85, allocations: 30.04 MB / 5.673 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/15.85, allocations: 3.875 kB / 5.673 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08363/15.94, allocations: 35.13 MB / 5.707 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00352/15.94, allocations: 0.7888 MB / 5.708 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008291/15.95, allocations: 0.4989 MB / 5.708 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01685/15.97, allocations: 1.456 MB / 5.71 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004929/15.97, allocations: 0.7597 MB / 5.71 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004841/15.98, allocations: 0.5469 MB / 5.711 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006195/15.98, allocations: 2.524 MB / 5.713 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.71e-07/15.98, allocations: 0 / 5.713 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.04627/16.03, allocations: 6.902 MB / 5.72 GB, free: 5.699 MB / 0.5417 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 (1057): * Single equations (assignments): 1030 * 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,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,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.01816/16.05, allocations: 3.946 MB / 5.724 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4771/16.53, allocations: 34.33 MB / 5.757 GB, free: 76.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/16.53, allocations: 8.906 kB / 5.757 GB, free: 76.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03033/16.56, allocations: 11.48 MB / 5.769 GB, free: 75.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01953/16.57, allocations: 3.068 MB / 5.772 GB, free: 75.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06522/16.64, allocations: 26.06 MB / 5.797 GB, free: 71.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009723/16.65, allocations: 5.193 MB / 5.802 GB, free: 70.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02639/16.68, allocations: 5.546 MB / 5.808 GB, free: 70.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007415/16.68, allocations: 0.7145 MB / 5.808 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.283e-06/16.68, allocations: 0 / 5.808 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of Templates: time 1.665/18.35, allocations: 407.9 MB / 6.207 GB, free: 84.94 MB / 0.573 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)