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.00098/0.0009801, allocations: 180 kB / 16.38 MB, free: 5.762 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.225/1.225, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001779/0.001779, allocations: 108.6 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08868, allocations: 44.49 MB / 355 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.764/6.853, allocations: 3.671 GB / 4.017 GB, free: 101.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/6.854, allocations: 83.73 kB / 4.017 GB, free: 101.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.825/10.68, allocations: 0.9761 GB / 4.993 GB, free: 19.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.816e-06/10.68, allocations: 0 / 4.993 GB, free: 19.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005873/10.68, allocations: 161.2 kB / 4.994 GB, free: 19.76 MB / 458.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.05063/10.73, allocations: 10.52 MB / 5.004 GB, free: 15.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/10.73, allocations: 10.12 kB / 5.004 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/10.74, allocations: 0.8667 MB / 5.005 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/10.76, allocations: 5.73 MB / 5.01 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006731/10.76, allocations: 0.5288 MB / 5.011 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005396/10.77, allocations: 0.7303 MB / 5.012 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/10.8, allocations: 14.26 MB / 5.026 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002515/10.8, allocations: 20.34 kB / 5.026 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002657/10.81, allocations: 283.9 kB / 5.026 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007515/10.81, allocations: 0.7071 MB / 5.026 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/10.84, allocations: 16.95 MB / 5.043 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1124/10.95, allocations: 49.34 MB / 5.091 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/10.97, allocations: 11.07 MB / 5.102 GB, free: 4.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004648/10.98, allocations: 4.187 MB / 5.106 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2741/11.25, allocations: 153.6 kB / 5.106 GB, free: 50.27 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00692/11.26, allocations: 0.8757 MB / 5.107 GB, free: 50.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=926): time 4.279e-05/11.26, allocations: 0 / 5.107 GB, free: 50.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=1188): time 0.3031/11.56, allocations: 99.94 MB / 5.205 GB, free: 46.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/11.56, allocations: 170.9 kB / 5.205 GB, free: 46.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007327/11.57, allocations: 3.304 MB / 5.208 GB, free: 46.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004358/11.57, allocations: 242.7 kB / 5.208 GB, free: 46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/11.58, allocations: 2.319 MB / 5.211 GB, free: 45.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007835/11.58, allocations: 4.13 MB / 5.215 GB, free: 42.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004104/11.59, allocations: 226.1 kB / 5.215 GB, free: 42.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001157/11.59, allocations: 0.7713 MB / 5.216 GB, free: 42.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02126/11.61, allocations: 10.44 MB / 5.226 GB, free: 42.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02396/11.64, allocations: 11.8 MB / 5.237 GB, free: 33.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02391/11.66, allocations: 11.5 MB / 5.249 GB, free: 23.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.866e-05/11.66, allocations: 8 kB / 5.249 GB, free: 23.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1126/11.77, allocations: 35.43 MB / 5.283 GB, free: 0 / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2905/12.06, allocations: 10.96 MB / 5.294 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/12.06, allocations: 24.59 kB / 5.294 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2807/12.34, allocations: 87.12 MB / 5.379 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006324/12.35, allocations: 1.08 MB / 5.38 GB, free: 53.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08206/12.43, allocations: 36.95 MB / 5.416 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01829/12.45, allocations: 1.838 MB / 5.418 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004493/12.45, allocations: 0.5988 MB / 5.419 GB, free: 33.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/12.45, allocations: 5.25 kB / 5.419 GB, free: 33.35 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07903/12.53, allocations: 32.12 MB / 5.45 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/12.53, allocations: 26.05 kB / 5.45 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5592/13.09, allocations: 80.84 MB / 5.529 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005388/13.1, allocations: 1.138 MB / 5.53 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07574/13.17, allocations: 34.79 MB / 5.564 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/13.19, allocations: 1.803 MB / 5.566 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004568/13.19, allocations: 0.588 MB / 5.566 GB, free: 55.16 MB / 0.4948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 603 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.01226/13.21, allocations: 2.602 MB / 5.569 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006203/13.21, allocations: 0.6601 MB / 5.569 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07637/13.29, allocations: 30.77 MB / 5.599 GB, free: 41.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/13.29, allocations: 127 kB / 5.6 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/13.29, allocations: 4 kB / 5.6 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05662/13.35, allocations: 24.3 MB / 5.623 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4051/13.75, allocations: 47.04 MB / 5.669 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.677e-05/13.75, allocations: 4.656 kB / 5.669 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01847/13.77, allocations: 3.411 MB / 5.673 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04262/13.81, allocations: 12.56 MB / 5.685 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004805/13.82, allocations: 0.6305 MB / 5.686 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04401/13.86, allocations: 44.83 MB / 5.729 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/13.86, allocations: 0.75 kB / 5.729 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08367/13.95, allocations: 38.57 MB / 5.767 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/13.95, allocations: 0.796 MB / 5.768 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005765/13.95, allocations: 485.9 kB / 5.768 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01542/13.97, allocations: 1.485 MB / 5.77 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00475/13.97, allocations: 0.7999 MB / 5.77 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004517/13.98, allocations: 0.5688 MB / 5.771 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005015/13.98, allocations: 2.51 MB / 5.773 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/13.98, allocations: 0 / 5.773 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.03288/14.02, allocations: 7.059 MB / 5.78 GB, free: 22.65 MB / 0.4948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1169): * Single equations (assignments): 1122 * 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.01422/14.03, allocations: 3.994 MB / 5.784 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.08346/14.11, allocations: 38.5 MB / 5.822 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/14.11, allocations: 5 kB / 5.822 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.03232/14.15, allocations: 14.15 MB / 5.836 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/14.16, allocations: 3.082 MB / 5.839 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3316/14.5, allocations: 35.93 MB / 5.874 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/14.51, allocations: 5.281 MB / 5.879 GB, free: 62.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01976/14.53, allocations: 4.995 MB / 5.884 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006409/14.53, allocations: 0.7932 MB / 5.885 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of SimCode: time 2.344e-06/14.53, allocations: 0.5625 kB / 5.885 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of Templates: time 1.001/15.53, allocations: 417.4 MB / 6.292 GB, free: 77.72 MB / 0.5261 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)