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.001419/0.001419, allocations: 187.3 kB / 7.654 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.622/1.622, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001847/0.001847, allocations: 111.2 kB / 247.4 MB, free: 6.203 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.2202/0.2202, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.039e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.602/9.731, allocations: 3.679 GB / 4.117 GB, free: 159 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/9.731, allocations: 77.72 kB / 4.117 GB, free: 159 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.224/13.95, allocations: 0.9661 GB / 5.083 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.965e-06/13.95, allocations: 0 / 5.083 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001035/13.96, allocations: 160.6 kB / 5.083 GB, free: 34.08 MB / 0.5261 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.06514/14.02, allocations: 9.63 MB / 5.093 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.129e-05/14.02, allocations: 10.12 kB / 5.093 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/14.04, allocations: 0.8642 MB / 5.093 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0326/14.07, allocations: 5.75 MB / 5.099 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/14.07, allocations: 241.3 kB / 5.099 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006806/14.08, allocations: 414.6 kB / 5.1 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05088/14.13, allocations: 15.35 MB / 5.115 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05309/14.18, allocations: 12.88 MB / 5.127 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004624/14.18, allocations: 32.78 kB / 5.127 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004825/14.19, allocations: 7.219 kB / 5.127 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008308/14.19, allocations: 0.7053 MB / 5.128 GB, free: 28.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/14.3, allocations: 46.63 MB / 5.173 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02481/14.32, allocations: 10.41 MB / 5.184 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01656/14.34, allocations: 7.049 MB / 5.19 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006254/14.34, allocations: 4.169 MB / 5.195 GB, free: 25.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/14.34, allocations: 143.4 kB / 5.195 GB, free: 25.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009403/14.35, allocations: 0.8759 MB / 5.196 GB, free: 24.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=881): time 0.0001042/14.35, allocations: 0 / 5.196 GB, free: 24.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1121): time 0.3261/14.68, allocations: 82.36 MB / 5.276 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/14.68, allocations: 164.2 kB / 5.276 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006185/14.69, allocations: 2.293 MB / 5.278 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00521/14.69, allocations: 29.7 kB / 5.278 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/14.69, allocations: 2.4 MB / 5.281 GB, free: 128 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.4188/15.11, allocations: 3.746 MB / 5.284 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005566/15.12, allocations: 2.953 kB / 5.284 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001559/15.12, allocations: 0.7453 MB / 5.285 GB, free: 59.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01833/15.14, allocations: 8.74 MB / 5.294 GB, free: 59.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01985/15.16, allocations: 10.12 MB / 5.304 GB, free: 58.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03868/15.2, allocations: 13.16 MB / 5.316 GB, free: 58.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001882/15.2, allocations: 6.156 kB / 5.316 GB, free: 58.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09528/15.29, allocations: 31.3 MB / 5.347 GB, free: 57.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00318/15.3, allocations: 12.48 MB / 5.359 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/15.3, allocations: 29.06 kB / 5.359 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2332/15.53, allocations: 41.52 MB / 5.4 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008688/15.54, allocations: 1.082 MB / 5.401 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08499/15.62, allocations: 35.32 MB / 5.435 GB, free: 35.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01826/15.64, allocations: 1.578 MB / 5.437 GB, free: 35.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005692/15.65, allocations: 0.6068 MB / 5.437 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/15.65, allocations: 4 kB / 5.437 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07906/15.73, allocations: 29.29 MB / 5.466 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/15.73, allocations: 30.58 kB / 5.466 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6595/16.39, allocations: 42.59 MB / 5.508 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006488/16.39, allocations: 1.184 MB / 5.509 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07645/16.47, allocations: 31.26 MB / 5.539 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01747/16.49, allocations: 1.541 MB / 5.541 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005786/16.49, allocations: 0.5922 MB / 5.541 GB, free: 52.31 MB / 0.5573 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.01004/16.5, allocations: 221.5 kB / 5.542 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00572/16.51, allocations: 0.5837 MB / 5.542 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08664/16.6, allocations: 26.56 MB / 5.568 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000208/16.6, allocations: 122.7 kB / 5.568 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-05/16.6, allocations: 1.969 kB / 5.568 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06233/16.66, allocations: 20.87 MB / 5.589 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1135/16.77, allocations: 40.4 MB / 5.628 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001658/16.77, allocations: 0 / 5.628 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01488/16.79, allocations: 2.135 MB / 5.63 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03506/16.82, allocations: 11.08 MB / 5.641 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005607/16.83, allocations: 481.5 kB / 5.641 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/16.86, allocations: 30.69 MB / 5.671 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/16.86, allocations: 2.625 kB / 5.671 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1136/16.97, allocations: 36.46 MB / 5.707 GB, free: 2.484 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/16.97, allocations: 0.6919 MB / 5.708 GB, free: 1.828 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006618/16.98, allocations: 264.2 kB / 5.708 GB, free: 1.637 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01665/17, allocations: 1.248 MB / 5.709 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005134/17, allocations: 0.7646 MB / 5.71 GB, free: 448 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004694/17.01, allocations: 0.5467 MB / 5.71 GB, free: 0 / 0.573 GB Notification: Performance of sorting global known variables: time 0.4887/17.49, allocations: 1.681 MB / 5.712 GB, free: 70.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.82e-07/17.49, allocations: 0 / 5.712 GB, free: 70.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03696/17.53, allocations: 6.267 MB / 5.718 GB, free: 70.84 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 (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.01698/17.55, allocations: 3.964 MB / 5.722 GB, free: 70.61 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.07689/17.63, allocations: 32.28 MB / 5.754 GB, free: 70.19 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-05/17.63, allocations: 6 kB / 5.754 GB, free: 70.19 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02544/17.65, allocations: 11.22 MB / 5.765 GB, free: 69.65 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01908/17.67, allocations: 2.689 MB / 5.767 GB, free: 69.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05934/17.73, allocations: 25.41 MB / 5.792 GB, free: 66.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008896/17.74, allocations: 5.21 MB / 5.797 GB, free: 65.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02439/17.76, allocations: 5.15 MB / 5.802 GB, free: 64.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006879/17.77, allocations: 0.7063 MB / 5.803 GB, free: 64.72 MB / 0.573 GB Notification: Performance of SimCode: time 2.064e-06/17.77, allocations: 0 / 5.803 GB, free: 64.72 MB / 0.573 GB Notification: Performance of Templates: time 1.884/19.65, allocations: 384.6 MB / 6.178 GB, free: 107.4 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)