Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.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) 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(Modelica.Fluid.Examples.BranchingDynamicPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes") translateModel(Modelica.Fluid.Examples.BranchingDynamicPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000983/0.0009832, allocations: 187.9 kB / 8.351 MB, free: 0.707 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.355/1.355, allocations: 194.3 MB / 203.1 MB, free: 9.25 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001829/0.001829, allocations: 115.8 kB / 248.1 MB, free: 6.367 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.85e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08614, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.822/7.908, allocations: 3.67 GB / 4.004 GB, free: 45.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/7.908, allocations: 70.59 kB / 4.004 GB, free: 45.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.922/11.83, allocations: 0.9665 GB / 4.971 GB, free: 20.74 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.956e-06/11.83, allocations: 0 / 4.971 GB, free: 20.74 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0007109/11.83, allocations: 167.1 kB / 4.971 GB, free: 20.73 MB / 459.1 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.04267/11.87, allocations: 9.822 MB / 4.981 GB, free: 16.67 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/11.87, allocations: 6.281 kB / 4.981 GB, free: 16.67 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009523/11.88, allocations: 0.8688 MB / 4.982 GB, free: 16.27 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02138/11.9, allocations: 5.716 MB / 4.987 GB, free: 15.4 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006786/11.9, allocations: 241.1 kB / 4.987 GB, free: 15.4 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00481/11.91, allocations: 433.6 kB / 4.988 GB, free: 15.38 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03066/11.94, allocations: 15.83 MB / 5.003 GB, free: 15.35 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03498/11.98, allocations: 13.14 MB / 5.016 GB, free: 13.48 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/11.98, allocations: 32.19 kB / 5.016 GB, free: 13.47 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003074/11.98, allocations: 7.594 kB / 5.016 GB, free: 13.47 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/11.98, allocations: 0.7086 MB / 5.017 GB, free: 13.37 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4716/12.45, allocations: 47.98 MB / 5.064 GB, free: 29.49 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/12.47, allocations: 10.82 MB / 5.074 GB, free: 29.43 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01687/12.49, allocations: 7.542 MB / 5.082 GB, free: 29.37 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004451/12.49, allocations: 4.169 MB / 5.086 GB, free: 25.14 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/12.49, allocations: 146.3 kB / 5.086 GB, free: 25.09 MB / 475.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007845/12.5, allocations: 0.9088 MB / 5.087 GB, free: 25.09 MB / 475.1 MB Notification: Performance of pre-optimization done (n=925): time 7.587e-05/12.5, allocations: 0 / 5.087 GB, free: 25.09 MB / 475.1 MB Notification: Performance of matching and sorting (n=1187): time 0.3022/12.8, allocations: 83.21 MB / 5.168 GB, free: 22.53 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/12.8, allocations: 172.1 kB / 5.168 GB, free: 22.46 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007015/12.81, allocations: 2.227 MB / 5.17 GB, free: 22.23 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00455/12.82, allocations: 31.98 kB / 5.17 GB, free: 22.2 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/12.82, allocations: 2.314 MB / 5.173 GB, free: 21.37 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.007056/12.82, allocations: 3.978 MB / 5.177 GB, free: 18.86 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003814/12.83, allocations: 0 / 5.177 GB, free: 18.86 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.001256/12.83, allocations: 0.7676 MB / 5.177 GB, free: 18.54 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01808/12.85, allocations: 9.183 MB / 5.186 GB, free: 15.77 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.018/12.87, allocations: 10.48 MB / 5.196 GB, free: 7.699 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05027/12.92, allocations: 14.5 MB / 5.211 GB, free: 15.08 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/12.92, allocations: 5.031 kB / 5.211 GB, free: 15.07 MB / 491.1 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.4554/13.37, allocations: 34.24 MB / 5.244 GB, free: 41.4 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001887/13.37, allocations: 10.48 MB / 5.254 GB, free: 30.58 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.09e-05/13.37, allocations: 27.05 kB / 5.254 GB, free: 30.58 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1855/13.56, allocations: 43.48 MB / 5.297 GB, free: 30.27 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005603/13.56, allocations: 1.095 MB / 5.298 GB, free: 30.27 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08489/13.65, allocations: 37.43 MB / 5.334 GB, free: 29.43 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01869/13.67, allocations: 1.628 MB / 5.336 GB, free: 29.43 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005193/13.67, allocations: 0.6098 MB / 5.337 GB, free: 29.43 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/13.67, allocations: 7.031 kB / 5.337 GB, free: 29.43 MB / 491.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08496/13.76, allocations: 30.55 MB / 5.366 GB, free: 25.95 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002678/13.76, allocations: 25.66 kB / 5.366 GB, free: 25.95 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1774/13.94, allocations: 42.58 MB / 5.408 GB, free: 0.8984 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005955/13.94, allocations: 1.141 MB / 5.409 GB, free: 0 / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4605/14.4, allocations: 34.76 MB / 5.443 GB, free: 55.19 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01724/14.42, allocations: 1.59 MB / 5.445 GB, free: 55.19 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004254/14.42, allocations: 0.5985 MB / 5.445 GB, free: 55.19 MB / 0.4953 GB 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.005434/14.43, allocations: 222 kB / 5.445 GB, free: 55.08 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004448/14.43, allocations: 0.5903 MB / 5.446 GB, free: 55.08 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07366/14.51, allocations: 27.26 MB / 5.473 GB, free: 54.27 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001818/14.51, allocations: 124.2 kB / 5.473 GB, free: 54.27 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.78e-05/14.51, allocations: 3.531 kB / 5.473 GB, free: 54.27 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04821/14.56, allocations: 21.37 MB / 5.494 GB, free: 53.55 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1031/14.66, allocations: 43.15 MB / 5.536 GB, free: 48.3 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001291/14.66, allocations: 0 / 5.536 GB, free: 48.3 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01961/14.68, allocations: 3.375 MB / 5.539 GB, free: 48.22 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03125/14.71, allocations: 10.08 MB / 5.549 GB, free: 46.74 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005841/14.72, allocations: 0.492 MB / 5.549 GB, free: 46.63 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03279/14.75, allocations: 42.6 MB / 5.591 GB, free: 13.02 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/14.75, allocations: 2.844 kB / 5.591 GB, free: 13.02 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4467/15.2, allocations: 37.86 MB / 5.628 GB, free: 53.69 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002961/15.2, allocations: 0.697 MB / 5.629 GB, free: 53.6 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004827/15.2, allocations: 282.7 kB / 5.629 GB, free: 53.6 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01304/15.22, allocations: 1.274 MB / 5.63 GB, free: 53.59 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00358/15.22, allocations: 0.8002 MB / 5.631 GB, free: 53.58 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003274/15.22, allocations: 0.5632 MB / 5.631 GB, free: 53.58 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.002699/15.23, allocations: 1.631 MB / 5.633 GB, free: 53.44 MB / 0.4953 GB Notification: Performance of sort global known variables: time 3.1e-07/15.23, allocations: 4.672 kB / 5.633 GB, free: 53.44 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.03572/15.26, allocations: 6.375 MB / 5.639 GB, free: 53.44 MB / 0.4953 GB 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.01537/15.28, allocations: 4.001 MB / 5.643 GB, free: 53.2 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.07668/15.35, allocations: 33.99 MB / 5.676 GB, free: 52.75 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/15.35, allocations: 5.719 kB / 5.676 GB, free: 52.75 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.02982/15.38, allocations: 12.72 MB / 5.689 GB, free: 52.19 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01808/15.4, allocations: 2.69 MB / 5.691 GB, free: 52.12 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06486/15.47, allocations: 27.58 MB / 5.718 GB, free: 47.2 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007938/15.48, allocations: 5.308 MB / 5.724 GB, free: 46.24 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.02066/15.5, allocations: 5.229 MB / 5.729 GB, free: 45.71 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006593/15.5, allocations: 0.7416 MB / 5.729 GB, free: 45.7 MB / 0.4953 GB Notification: Performance of SimCode: time 2.064e-06/15.5, allocations: 0 / 5.729 GB, free: 45.7 MB / 0.4953 GB Notification: Performance of Templates: time 1.292/16.8, allocations: 400.7 MB / 6.121 GB, free: 46.8 MB / 0.5265 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe 2>&1)