Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001732/0.001732, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.642/1.642, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.001709/0.001709, allocations: 119.5 kB / 252.6 MB, free: 4.797 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.2684/0.2684, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.668e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.675/9.816, allocations: 3.68 GB / 4.124 GB, free: 56.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/9.816, allocations: 76.47 kB / 4.124 GB, free: 55.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.341/14.16, allocations: 0.9745 GB / 5.099 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.045e-06/14.16, allocations: 8 kB / 5.099 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005036/14.16, allocations: 155.5 kB / 5.099 GB, free: 18.89 MB / 0.5105 GB 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.04678/14.21, allocations: 9.634 MB / 5.108 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/14.21, allocations: 12.03 kB / 5.108 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009405/14.21, allocations: 0.8579 MB / 5.109 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/14.24, allocations: 5.753 MB / 5.115 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/14.24, allocations: 0.5204 MB / 5.115 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005872/14.24, allocations: 0.7064 MB / 5.116 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04898/14.29, allocations: 13.82 MB / 5.13 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006052/14.29, allocations: 31.73 kB / 5.13 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006375/14.3, allocations: 284 kB / 5.13 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/14.3, allocations: 0.7133 MB / 5.131 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5431/14.84, allocations: 16.18 MB / 5.146 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/14.96, allocations: 47.58 MB / 5.193 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/14.99, allocations: 10.5 MB / 5.203 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01496/15, allocations: 7.107 MB / 5.21 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004767/15.01, allocations: 4.185 MB / 5.214 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/15.01, allocations: 143.8 kB / 5.214 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009212/15.02, allocations: 0.8537 MB / 5.215 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=882): time 6.882e-05/15.02, allocations: 1.125 kB / 5.215 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122): time 0.3197/15.34, allocations: 83.63 MB / 5.297 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002749/15.34, allocations: 172.1 kB / 5.297 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009476/15.35, allocations: 3.328 MB / 5.3 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.006253/15.35, allocations: 225.7 kB / 5.3 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003248/15.36, allocations: 2.405 MB / 5.303 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.01104/15.37, allocations: 3.902 MB / 5.307 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00496/15.37, allocations: 216 kB / 5.307 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001555/15.37, allocations: 0.7458 MB / 5.307 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04312/15.42, allocations: 10.56 MB / 5.318 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.026/15.44, allocations: 10.19 MB / 5.328 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0241/15.47, allocations: 9.973 MB / 5.337 GB, free: 15.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-05/15.47, allocations: 8 kB / 5.337 GB, free: 15.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.646/16.11, allocations: 29.26 MB / 5.366 GB, free: 71.95 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003798/16.12, allocations: 13.05 MB / 5.379 GB, free: 58.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/16.12, allocations: 33.59 kB / 5.379 GB, free: 58.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2864/16.4, allocations: 77.06 MB / 5.454 GB, free: 57.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006239/16.41, allocations: 1.072 MB / 5.455 GB, free: 57.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08446/16.49, allocations: 31.56 MB / 5.486 GB, free: 56.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02183/16.52, allocations: 1.784 MB / 5.488 GB, free: 55.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006272/16.52, allocations: 0.5932 MB / 5.488 GB, free: 54.86 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/16.52, allocations: 4.938 kB / 5.488 GB, free: 54.86 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07733/16.6, allocations: 26.98 MB / 5.515 GB, free: 41.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/16.6, allocations: 34.44 kB / 5.515 GB, free: 40.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7834/17.38, allocations: 68.07 MB / 5.581 GB, free: 67.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006975/17.39, allocations: 1.173 MB / 5.582 GB, free: 67.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07142/17.46, allocations: 28.49 MB / 5.61 GB, free: 66.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02052/17.48, allocations: 1.75 MB / 5.612 GB, free: 66.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006312/17.49, allocations: 0.5797 MB / 5.612 GB, free: 66.79 MB / 0.573 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.01352/17.5, allocations: 0.6049 MB / 5.613 GB, free: 66.69 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007222/17.51, allocations: 0.6407 MB / 5.614 GB, free: 66.69 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08737/17.6, allocations: 26.78 MB / 5.64 GB, free: 65.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002311/17.6, allocations: 120.2 kB / 5.64 GB, free: 65.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001112/17.6, allocations: 0.6875 kB / 5.64 GB, free: 65.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06058/17.66, allocations: 20.44 MB / 5.66 GB, free: 65.08 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1296/17.79, allocations: 41.32 MB / 5.7 GB, free: 53.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001485/17.79, allocations: 7.922 kB / 5.7 GB, free: 53.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01399/17.8, allocations: 2.133 MB / 5.702 GB, free: 53.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04098/17.84, allocations: 11.69 MB / 5.714 GB, free: 51.38 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005837/17.85, allocations: 0.6048 MB / 5.714 GB, free: 50.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03034/17.88, allocations: 30.04 MB / 5.744 GB, free: 22.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/17.88, allocations: 4.031 kB / 5.744 GB, free: 22.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6247/18.5, allocations: 37.53 MB / 5.78 GB, free: 73.41 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003603/18.51, allocations: 0.7881 MB / 5.781 GB, free: 73.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00544/18.51, allocations: 458 kB / 5.781 GB, free: 73.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01901/18.53, allocations: 1.449 MB / 5.783 GB, free: 73.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00654/18.54, allocations: 0.7699 MB / 5.784 GB, free: 73.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004228/18.54, allocations: 0.5486 MB / 5.784 GB, free: 73.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005027/18.55, allocations: 2.518 MB / 5.787 GB, free: 73.15 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/18.55, allocations: 0 / 5.787 GB, free: 73.15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03854/18.59, allocations: 6.927 MB / 5.793 GB, free: 73.15 MB / 0.573 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.01789/18.6, allocations: 3.947 MB / 5.797 GB, free: 72.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.08733/18.69, allocations: 33.13 MB / 5.83 GB, free: 72.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.419e-05/18.69, allocations: 11.28 kB / 5.83 GB, free: 72.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03008/18.72, allocations: 11.49 MB / 5.841 GB, free: 71.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02482/18.75, allocations: 3.062 MB / 5.844 GB, free: 71.69 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07471/18.82, allocations: 26.05 MB / 5.869 GB, free: 67.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01342/18.83, allocations: 5.199 MB / 5.874 GB, free: 66.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03148/18.87, allocations: 5.547 MB / 5.88 GB, free: 66.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009298/18.88, allocations: 0.7132 MB / 5.88 GB, free: 66.39 MB / 0.573 GB Notification: Performance of SimCode: time 2.635e-06/18.88, allocations: 0 / 5.88 GB, free: 66.39 MB / 0.573 GB Notification: Performance of Templates: time 2.021/20.9, allocations: 408.1 MB / 6.279 GB, free: 119.8 MB / 0.6199 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1)