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.001621/0.001621, allocations: 181.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.077/2.077, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001949/0.001949, allocations: 108.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-05/4.382e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 44.5 MB / 349.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.113/9.232, allocations: 3.671 GB / 4.012 GB, free: 141.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/9.232, allocations: 72.42 kB / 4.012 GB, free: 141.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.553/12.79, allocations: 0.975 GB / 4.987 GB, free: 14.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.926e-06/12.79, allocations: 0 / 4.987 GB, free: 14.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006243/12.79, allocations: 167.6 kB / 4.987 GB, free: 14.07 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.05825/12.84, allocations: 9.818 MB / 4.997 GB, free: 4.188 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/12.84, allocations: 8.031 kB / 4.997 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/12.86, allocations: 0.872 MB / 4.997 GB, free: 3.301 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02569/12.88, allocations: 5.713 MB / 5.003 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/12.88, allocations: 0.5282 MB / 5.003 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008287/12.89, allocations: 0.7298 MB / 5.004 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4586/13.35, allocations: 14.08 MB / 5.018 GB, free: 25.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005317/13.35, allocations: 19.56 kB / 5.018 GB, free: 25.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005183/13.36, allocations: 289.2 kB / 5.018 GB, free: 25.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/13.36, allocations: 0.7103 MB / 5.019 GB, free: 25.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04097/13.4, allocations: 16.66 MB / 5.035 GB, free: 25.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/13.51, allocations: 48.78 MB / 5.083 GB, free: 26.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02371/13.54, allocations: 10.93 MB / 5.094 GB, free: 26.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01632/13.55, allocations: 7.611 MB / 5.101 GB, free: 26.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006008/13.56, allocations: 4.183 MB / 5.105 GB, free: 22.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/13.56, allocations: 149.2 kB / 5.105 GB, free: 22.53 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00824/13.57, allocations: 0.8825 MB / 5.106 GB, free: 22.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=926): time 4.592e-05/13.57, allocations: 3.75 kB / 5.106 GB, free: 22.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1188): time 0.3237/13.89, allocations: 88.24 MB / 5.192 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/13.89, allocations: 176.7 kB / 5.192 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006064/13.9, allocations: 3.257 MB / 5.196 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004578/13.9, allocations: 241.7 kB / 5.196 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/13.91, allocations: 2.32 MB / 5.198 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007639/13.91, allocations: 4.139 MB / 5.202 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004002/13.92, allocations: 228 kB / 5.202 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001106/13.92, allocations: 0.7628 MB / 5.203 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3987/14.32, allocations: 10.2 MB / 5.213 GB, free: 57.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02136/14.34, allocations: 10.54 MB / 5.223 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01958/14.36, allocations: 10.28 MB / 5.233 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-05/14.36, allocations: 5.625 kB / 5.233 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.06892/14.43, allocations: 29.91 MB / 5.263 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002088/14.43, allocations: 10.95 MB / 5.273 GB, free: 44.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-05/14.43, allocations: 27.5 kB / 5.273 GB, free: 44.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2722/14.7, allocations: 83.75 MB / 5.355 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005259/14.71, allocations: 1.081 MB / 5.356 GB, free: 20.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08066/14.79, allocations: 34.62 MB / 5.39 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01736/14.81, allocations: 1.84 MB / 5.392 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004861/14.81, allocations: 0.5978 MB / 5.392 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/14.81, allocations: 5.562 kB / 5.392 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4582/15.27, allocations: 28.59 MB / 5.42 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/15.27, allocations: 24.02 kB / 5.42 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.305/15.57, allocations: 76.35 MB / 5.495 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005549/15.58, allocations: 1.135 MB / 5.496 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06529/15.65, allocations: 31.27 MB / 5.526 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/15.66, allocations: 1.813 MB / 5.528 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004253/15.67, allocations: 0.5855 MB / 5.529 GB, free: 51.95 MB / 0.5105 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 (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.008132/15.67, allocations: 0.6202 MB / 5.529 GB, free: 51.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004757/15.68, allocations: 0.6556 MB / 5.53 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06252/15.74, allocations: 27.6 MB / 5.557 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001586/15.74, allocations: 126.1 kB / 5.557 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-05/15.74, allocations: 0 / 5.557 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04647/15.79, allocations: 21.02 MB / 5.578 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4278/16.22, allocations: 43.39 MB / 5.62 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001237/16.22, allocations: 7.031 kB / 5.62 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01903/16.23, allocations: 3.38 MB / 5.623 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03174/16.27, allocations: 10.17 MB / 5.633 GB, free: 67.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00466/16.27, allocations: 0.6284 MB / 5.634 GB, free: 67.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02925/16.3, allocations: 41.79 MB / 5.675 GB, free: 38.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/16.3, allocations: 1.656 kB / 5.675 GB, free: 38.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07598/16.38, allocations: 35.69 MB / 5.71 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/16.38, allocations: 0.7976 MB / 5.71 GB, free: 35.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006531/16.39, allocations: 489.5 kB / 5.711 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0157/16.4, allocations: 1.483 MB / 5.712 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004369/16.41, allocations: 0.799 MB / 5.713 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003937/16.41, allocations: 0.5664 MB / 5.714 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004267/16.41, allocations: 2.47 MB / 5.716 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/16.41, allocations: 0 / 5.716 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03565/16.45, allocations: 7.06 MB / 5.723 GB, free: 33.45 MB / 0.5105 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 (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.01609/16.47, allocations: 3.993 MB / 5.727 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.08/16.55, allocations: 34.94 MB / 5.761 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/16.55, allocations: 4.781 kB / 5.761 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3561/16.9, allocations: 13.19 MB / 5.774 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0181/16.92, allocations: 3.068 MB / 5.777 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05933/16.98, allocations: 28.28 MB / 5.804 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005509/16.99, allocations: 5.284 MB / 5.81 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02061/17.01, allocations: 5.617 MB / 5.815 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006728/17.01, allocations: 0.7527 MB / 5.816 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.214e-06/17.01, allocations: 0 / 5.816 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of Templates: time 1.586/18.6, allocations: 426 MB / 6.232 GB, free: 72.86 MB / 0.5418 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)