Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.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) 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(Modelica.Fluid.Examples.BranchingDynamicPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes") translateModel(Modelica.Fluid.Examples.BranchingDynamicPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001579/0.001579, allocations: 157.2 kB / 7.633 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.52/1.52, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.00186/0.00186, allocations: 110 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.769e-05, allocations: 7.984 kB / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 38.76 MB / 301 MB, free: 39.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.318/8.581, allocations: 3.664 GB / 3.958 GB, free: 22.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/8.581, allocations: 68.97 kB / 3.958 GB, free: 22.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.824/12.4, allocations: 0.9563 GB / 4.915 GB, free: 18.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/12.4, allocations: 0 / 4.915 GB, free: 18.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000451/12.41, allocations: 164.9 kB / 4.915 GB, free: 18.22 MB / 410.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.04799/12.45, allocations: 9.821 MB / 4.924 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/12.45, allocations: 12.58 kB / 4.924 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008711/12.46, allocations: 0.8468 MB / 4.925 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01787/12.48, allocations: 5.72 MB / 4.931 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/12.48, allocations: 240.5 kB / 4.931 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005174/12.49, allocations: 432.3 kB / 4.931 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.035/12.52, allocations: 15.83 MB / 4.947 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/12.56, allocations: 13.14 MB / 4.96 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000557/12.56, allocations: 27.02 kB / 4.96 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005073/12.57, allocations: 7.219 kB / 4.96 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000815/12.57, allocations: 0.7117 MB / 4.96 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1169/12.68, allocations: 42.59 MB / 5.002 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3806/13.07, allocations: 11.23 MB / 5.013 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/13.08, allocations: 7.54 MB / 5.02 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00546/13.09, allocations: 4.164 MB / 5.024 GB, free: 27.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/13.09, allocations: 148.5 kB / 5.024 GB, free: 27.65 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009809/13.1, allocations: 0.9048 MB / 5.025 GB, free: 27.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=925): time 7.823e-05/13.1, allocations: 0 / 5.025 GB, free: 27.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=1187): time 0.3006/13.4, allocations: 83.22 MB / 5.107 GB, free: 25.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/13.4, allocations: 172.6 kB / 5.107 GB, free: 25.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/13.4, allocations: 2.226 MB / 5.109 GB, free: 24.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004991/13.41, allocations: 36.42 kB / 5.109 GB, free: 24.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/13.41, allocations: 2.302 MB / 5.111 GB, free: 24.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006464/13.41, allocations: 3.983 MB / 5.115 GB, free: 21.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003089/13.42, allocations: 0 / 5.115 GB, free: 21.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009711/13.42, allocations: 0.7666 MB / 5.116 GB, free: 21.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01342/13.43, allocations: 9.178 MB / 5.125 GB, free: 16.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01565/13.45, allocations: 10.48 MB / 5.135 GB, free: 7.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05001/13.5, allocations: 14.56 MB / 5.149 GB, free: 15.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/13.5, allocations: 4 kB / 5.149 GB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.4004/13.9, allocations: 33.94 MB / 5.182 GB, free: 41.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002327/13.9, allocations: 10.48 MB / 5.193 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-05/13.9, allocations: 27.69 kB / 5.193 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.19/14.09, allocations: 43.49 MB / 5.235 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006217/14.1, allocations: 1.094 MB / 5.236 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08255/14.18, allocations: 37.43 MB / 5.273 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01684/14.2, allocations: 1.623 MB / 5.274 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005633/14.2, allocations: 0.6104 MB / 5.275 GB, free: 29.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/14.2, allocations: 14.48 kB / 5.275 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07322/14.28, allocations: 30.55 MB / 5.305 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/14.28, allocations: 24 kB / 5.305 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5114/14.79, allocations: 43.94 MB / 5.348 GB, free: 51.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007557/14.79, allocations: 1.141 MB / 5.349 GB, free: 51.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06341/14.86, allocations: 34.59 MB / 5.383 GB, free: 50.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01589/14.87, allocations: 1.589 MB / 5.384 GB, free: 50.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003766/14.88, allocations: 0.6002 MB / 5.385 GB, free: 50.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 605 * 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 {68 768} Notification: Performance of prepare postOptimizeDAE: time 0.003807/14.88, allocations: 216.3 kB / 5.385 GB, free: 50.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/14.88, allocations: 0.5916 MB / 5.386 GB, free: 50.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05649/14.94, allocations: 27.25 MB / 5.412 GB, free: 49.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/14.94, allocations: 121 kB / 5.412 GB, free: 49.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/14.94, allocations: 5.516 kB / 5.412 GB, free: 49.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04338/14.98, allocations: 21.37 MB / 5.433 GB, free: 46.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09944/15.08, allocations: 43.15 MB / 5.475 GB, free: 31.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001062/15.08, allocations: 1.969 kB / 5.475 GB, free: 31.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02/15.1, allocations: 3.371 MB / 5.479 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03019/15.13, allocations: 10.08 MB / 5.488 GB, free: 22.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005695/15.14, allocations: 0.4915 MB / 5.489 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3333/15.47, allocations: 42.59 MB / 5.531 GB, free: 46.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/15.47, allocations: 0 / 5.531 GB, free: 46.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08919/15.56, allocations: 37.15 MB / 5.567 GB, free: 45.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/15.56, allocations: 0.702 MB / 5.567 GB, free: 44.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004091/15.57, allocations: 283.5 kB / 5.568 GB, free: 44.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01259/15.58, allocations: 1.273 MB / 5.569 GB, free: 44.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002722/15.58, allocations: 0.8003 MB / 5.57 GB, free: 44.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003073/15.59, allocations: 0.5667 MB / 5.57 GB, free: 44.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002991/15.59, allocations: 1.63 MB / 5.572 GB, free: 44.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.383e-06/15.59, allocations: 0 / 5.572 GB, free: 44.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02941/15.62, allocations: 6.357 MB / 5.578 GB, free: 44.58 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],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,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],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,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],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,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {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} Notification: Performance of Backend phase and start with SimCode phase: time 0.01375/15.63, allocations: 3.997 MB / 5.582 GB, free: 44.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.06537/15.7, allocations: 33.98 MB / 5.615 GB, free: 42.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/15.7, allocations: 7.344 kB / 5.615 GB, free: 42.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02784/15.73, allocations: 12.71 MB / 5.628 GB, free: 36.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0183/15.75, allocations: 2.691 MB / 5.63 GB, free: 35.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05404/15.8, allocations: 27.59 MB / 5.657 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006564/15.81, allocations: 5.297 MB / 5.662 GB, free: 9.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01935/15.83, allocations: 5.242 MB / 5.668 GB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006093/15.83, allocations: 0.738 MB / 5.668 GB, free: 4.848 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/15.83, allocations: 0 / 5.668 GB, free: 4.848 MB / 458.7 MB Notification: Performance of Templates: time 1.44/17.27, allocations: 400.7 MB / 6.06 GB, free: 72.69 MB / 490.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe 2>&1)