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.009539/0.009539, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.496/1.496, 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.001673/0.001673, allocations: 110.6 kB / 226.2 MB, free: 10.08 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.4245/0.4245, allocations: 38.05 MB / 303.7 MB, free: 42.59 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 8 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 48.71 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.75/10.89, allocations: 3.673 GB / 4.075 GB, free: 83.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/10.89, allocations: 83.95 kB / 4.075 GB, free: 83.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.433/15.32, allocations: 0.9653 GB / 5.041 GB, free: 26.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.296e-06/15.32, allocations: 0 / 5.041 GB, free: 26.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005672/15.33, allocations: 166.4 kB / 5.041 GB, free: 26.8 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.05787/15.38, allocations: 10.31 MB / 5.051 GB, free: 22.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/15.38, allocations: 8.594 kB / 5.051 GB, free: 22.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/15.39, allocations: 0.8594 MB / 5.052 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02613/15.42, allocations: 5.764 MB / 5.057 GB, free: 21.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001188/15.42, allocations: 0.5251 MB / 5.058 GB, free: 21.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007624/15.43, allocations: 0.6898 MB / 5.058 GB, free: 21.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05935/15.49, allocations: 14 MB / 5.072 GB, free: 20.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007942/15.49, allocations: 21.75 kB / 5.072 GB, free: 20.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007001/15.5, allocations: 287.7 kB / 5.072 GB, free: 20.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/15.5, allocations: 0.7085 MB / 5.073 GB, free: 20.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04491/15.54, allocations: 16.46 MB / 5.089 GB, free: 20.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/15.67, allocations: 42.16 MB / 5.13 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02381/15.69, allocations: 10.65 MB / 5.141 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00462/15.69, allocations: 4.181 MB / 5.145 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/15.7, allocations: 147.1 kB / 5.145 GB, free: 4.262 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008447/15.7, allocations: 0.8502 MB / 5.146 GB, free: 3.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=882): time 3.806e-05/15.7, allocations: 0 / 5.146 GB, free: 3.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1122): time 0.8185/16.52, allocations: 101 MB / 5.244 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/16.52, allocations: 170.5 kB / 5.245 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006903/16.53, allocations: 3.372 MB / 5.248 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005175/16.53, allocations: 227.3 kB / 5.248 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002564/16.54, allocations: 2.406 MB / 5.25 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008916/16.55, allocations: 3.898 MB / 5.254 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004621/16.55, allocations: 213.4 kB / 5.254 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001445/16.55, allocations: 0.7496 MB / 5.255 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02548/16.58, allocations: 9.989 MB / 5.265 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02998/16.61, allocations: 11.44 MB / 5.276 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02717/16.63, allocations: 11.04 MB / 5.287 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001636/16.64, allocations: 9.312 kB / 5.287 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09874/16.73, allocations: 32.2 MB / 5.318 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003542/16.74, allocations: 13.04 MB / 5.331 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/16.74, allocations: 33.69 kB / 5.331 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2912/17.03, allocations: 77.12 MB / 5.406 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/17.03, allocations: 1.068 MB / 5.407 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5258/17.56, allocations: 35.27 MB / 5.442 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02184/17.58, allocations: 1.789 MB / 5.444 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006472/17.59, allocations: 0.5941 MB / 5.444 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/17.59, allocations: 4.25 kB / 5.444 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09948/17.69, allocations: 32.31 MB / 5.476 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/17.69, allocations: 29.66 kB / 5.476 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2327/17.92, allocations: 68.69 MB / 5.543 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006532/17.93, allocations: 1.177 MB / 5.544 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0776/18.01, allocations: 31.96 MB / 5.575 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/18.02, allocations: 1.761 MB / 5.577 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004704/18.03, allocations: 0.582 MB / 5.578 GB, free: 26.38 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 () * Number of clocked 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.01374/18.04, allocations: 2.572 MB / 5.58 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005893/18.05, allocations: 0.6395 MB / 5.581 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4878/18.54, allocations: 29.98 MB / 5.61 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000258/18.54, allocations: 121 kB / 5.61 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/18.54, allocations: 0 / 5.61 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06825/18.6, allocations: 23.72 MB / 5.633 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.127/18.73, allocations: 41.87 MB / 5.674 GB, free: 57.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001571/18.73, allocations: 0 / 5.674 GB, free: 57.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01376/18.75, allocations: 2.137 MB / 5.676 GB, free: 57.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05115/18.8, allocations: 14.11 MB / 5.69 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005135/18.8, allocations: 0.6018 MB / 5.691 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03753/18.84, allocations: 33.1 MB / 5.723 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/18.84, allocations: 2.734 kB / 5.723 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08987/18.93, allocations: 36.87 MB / 5.759 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005359/18.94, allocations: 0.788 MB / 5.76 GB, free: 26.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00684/18.94, allocations: 462.7 kB / 5.76 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01529/18.96, allocations: 1.446 MB / 5.762 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004093/18.96, allocations: 0.7617 MB / 5.762 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003951/18.97, allocations: 0.5565 MB / 5.763 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005596/18.97, allocations: 2.553 MB / 5.765 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/18.97, allocations: 0 / 5.765 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0498/19.02, allocations: 6.904 MB / 5.772 GB, free: 18.96 MB / 0.5261 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 () * Number of clocked 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,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.02135/19.04, allocations: 3.952 MB / 5.776 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.09987/19.14, allocations: 36.74 MB / 5.812 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.032e-05/19.14, allocations: 9 kB / 5.812 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.4189/19.56, allocations: 14.42 MB / 5.826 GB, free: 74.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01901/19.58, allocations: 3.066 MB / 5.829 GB, free: 74.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07915/19.66, allocations: 33.5 MB / 5.862 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/19.67, allocations: 5.192 MB / 5.867 GB, free: 64.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02016/19.69, allocations: 4.921 MB / 5.871 GB, free: 63.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00588/19.7, allocations: 0.7637 MB / 5.872 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of SimCode: time 1.523e-06/19.7, allocations: 0 / 5.872 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of Templates: time 1.44/21.14, allocations: 399.6 MB / 6.263 GB, free: 75.57 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)