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.001228/0.001227, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.427/1.427, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001793/0.001793, allocations: 110.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.947e-05, allocations: 4 kB / 268.8 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08308, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.444/7.527, allocations: 3.665 GB / 3.965 GB, free: 122.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001723/7.528, allocations: 76.44 kB / 3.965 GB, free: 122.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.499/11.03, allocations: 0.9647 GB / 4.93 GB, free: 13.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/11.03, allocations: 0 / 4.93 GB, free: 13.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004459/11.03, allocations: 159.6 kB / 4.93 GB, free: 13.93 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.04577/11.07, allocations: 9.823 MB / 4.94 GB, free: 9.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/11.07, allocations: 7.812 kB / 4.94 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009007/11.08, allocations: 0.8548 MB / 4.941 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/11.1, allocations: 5.712 MB / 4.946 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007437/11.1, allocations: 0.53 MB / 4.947 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005734/11.11, allocations: 0.7349 MB / 4.947 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/11.14, allocations: 14.08 MB / 4.961 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003406/11.15, allocations: 25.98 kB / 4.961 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003284/11.15, allocations: 288.2 kB / 4.961 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006411/11.15, allocations: 0.7056 MB / 4.962 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04208/11.19, allocations: 17.53 MB / 4.979 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4193/11.61, allocations: 43.33 MB / 5.022 GB, free: 19.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02792/11.64, allocations: 10.93 MB / 5.032 GB, free: 19.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01938/11.66, allocations: 7.609 MB / 5.04 GB, free: 19.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004884/11.66, allocations: 4.185 MB / 5.044 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/11.66, allocations: 147.3 kB / 5.044 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008206/11.67, allocations: 0.8858 MB / 5.045 GB, free: 15.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=926): time 5.288e-05/11.67, allocations: 0 / 5.045 GB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=1188): time 0.3311/12, allocations: 85.93 MB / 5.129 GB, free: 15.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/12, allocations: 172.7 kB / 5.129 GB, free: 15.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/12.01, allocations: 3.268 MB / 5.132 GB, free: 12.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003877/12.01, allocations: 245.4 kB / 5.132 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/12.01, allocations: 2.314 MB / 5.135 GB, free: 10.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007315/12.02, allocations: 4.135 MB / 5.139 GB, free: 6.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002604/12.02, allocations: 224 kB / 5.139 GB, free: 6.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009357/12.03, allocations: 0.7679 MB / 5.14 GB, free: 5.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.029/12.05, allocations: 10.07 MB / 5.149 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0211/12.08, allocations: 10.55 MB / 5.16 GB, free: 6.527 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3593/12.43, allocations: 10.67 MB / 5.17 GB, free: 53.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.062e-05/12.43, allocations: 7.375 kB / 5.17 GB, free: 53.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.06935/12.5, allocations: 29.91 MB / 5.199 GB, free: 53.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002194/12.51, allocations: 10.96 MB / 5.21 GB, free: 41.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-05/12.51, allocations: 23.72 kB / 5.21 GB, free: 41.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2776/12.78, allocations: 82.44 MB / 5.291 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005112/12.79, allocations: 1.084 MB / 5.292 GB, free: 22.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07055/12.86, allocations: 33.44 MB / 5.324 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01712/12.88, allocations: 1.842 MB / 5.326 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004852/12.88, allocations: 0.6007 MB / 5.327 GB, free: 1.152 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/12.88, allocations: 7.281 kB / 5.327 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4068/13.29, allocations: 30.97 MB / 5.357 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/13.29, allocations: 25.31 kB / 5.357 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2609/13.55, allocations: 75.23 MB / 5.43 GB, free: 45.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009777/13.56, allocations: 1.133 MB / 5.432 GB, free: 44.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09109/13.65, allocations: 31.27 MB / 5.462 GB, free: 28.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02532/13.68, allocations: 1.817 MB / 5.464 GB, free: 27.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005318/13.68, allocations: 0.5815 MB / 5.464 GB, free: 27.32 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 (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.006107/13.69, allocations: 0.6147 MB / 5.465 GB, free: 27.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003827/13.69, allocations: 0.6592 MB / 5.466 GB, free: 26.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08495/13.78, allocations: 27.6 MB / 5.493 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001784/13.78, allocations: 131.6 kB / 5.493 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/13.78, allocations: 0 / 5.493 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3521/14.13, allocations: 22.03 MB / 5.514 GB, free: 63.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09824/14.23, allocations: 43.22 MB / 5.556 GB, free: 61.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000153/14.23, allocations: 0 / 5.556 GB, free: 61.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02014/14.25, allocations: 3.39 MB / 5.56 GB, free: 61.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03213/14.28, allocations: 10.16 MB / 5.57 GB, free: 61.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004533/14.28, allocations: 0.6289 MB / 5.57 GB, free: 61.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0284/14.31, allocations: 41.8 MB / 5.611 GB, free: 32.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/14.31, allocations: 0 / 5.611 GB, free: 32.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07327/14.39, allocations: 35.68 MB / 5.646 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/14.39, allocations: 0.8046 MB / 5.647 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004362/14.39, allocations: 485.2 kB / 5.647 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01469/14.41, allocations: 1.487 MB / 5.649 GB, free: 22.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003379/14.41, allocations: 0.7944 MB / 5.649 GB, free: 22.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00216/14.41, allocations: 0.5695 MB / 5.65 GB, free: 22.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003518/14.42, allocations: 2.471 MB / 5.652 GB, free: 21.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/14.42, allocations: 0 / 5.652 GB, free: 21.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02467/14.44, allocations: 7.032 MB / 5.659 GB, free: 20.61 MB / 474.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 (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.012/14.45, allocations: 3.99 MB / 5.663 GB, free: 18.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3758/14.83, allocations: 34.92 MB / 5.697 GB, free: 60.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/14.83, allocations: 6.281 kB / 5.697 GB, free: 60.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03422/14.86, allocations: 12.95 MB / 5.71 GB, free: 60.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01962/14.88, allocations: 3.076 MB / 5.713 GB, free: 60.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06173/14.95, allocations: 28.29 MB / 5.741 GB, free: 55.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007009/14.95, allocations: 5.287 MB / 5.746 GB, free: 54.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02414/14.98, allocations: 5.622 MB / 5.751 GB, free: 53.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006155/14.98, allocations: 0.7573 MB / 5.752 GB, free: 53.88 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/14.98, allocations: 0 / 5.752 GB, free: 53.88 MB / 474.7 MB Notification: Performance of Templates: time 1.297/16.28, allocations: 425.8 MB / 6.168 GB, free: 19.52 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)