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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00107/0.00107, allocations: 187.7 kB / 8.134 MB, free: 2.215 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.113/1.113, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001756/0.001756, allocations: 115.4 kB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.055e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.07668, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.423/5.5, allocations: 3.67 GB / 4.004 GB, free: 123 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/5.5, allocations: 77.02 kB / 4.004 GB, free: 123 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.576/9.076, allocations: 0.9737 GB / 4.978 GB, free: 24.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004843/9.077, allocations: 163.1 kB / 4.978 GB, free: 24.45 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.04057/9.117, allocations: 9.858 MB / 4.987 GB, free: 20.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/9.117, allocations: 9.844 kB / 4.987 GB, free: 20.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007141/9.124, allocations: 0.8783 MB / 4.988 GB, free: 20.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/9.143, allocations: 5.737 MB / 4.994 GB, free: 19.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/9.143, allocations: 243.1 kB / 4.994 GB, free: 19.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005431/9.149, allocations: 433.6 kB / 4.995 GB, free: 19.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02892/9.178, allocations: 16.27 MB / 5.01 GB, free: 19.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/9.211, allocations: 13.48 MB / 5.024 GB, free: 18.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003056/9.211, allocations: 31.67 kB / 5.024 GB, free: 18.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002632/9.214, allocations: 8.312 kB / 5.024 GB, free: 18.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005697/9.214, allocations: 0.7496 MB / 5.024 GB, free: 18.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09353/9.308, allocations: 48.28 MB / 5.071 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/9.326, allocations: 8.305 MB / 5.08 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01332/9.339, allocations: 7.787 MB / 5.087 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004781/9.344, allocations: 4.166 MB / 5.091 GB, free: 5.902 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/9.344, allocations: 146.6 kB / 5.091 GB, free: 5.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=925): time 1.167e-05/9.344, allocations: 0 / 5.091 GB, free: 5.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=1187): time 0.499/9.843, allocations: 82.3 MB / 5.172 GB, free: 68.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/9.843, allocations: 175.9 kB / 5.172 GB, free: 68.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/9.847, allocations: 2.264 MB / 5.174 GB, free: 68.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002793/9.85, allocations: 29.45 kB / 5.174 GB, free: 68.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000858/9.85, allocations: 1.942 MB / 5.176 GB, free: 67.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004883/9.855, allocations: 3.981 MB / 5.18 GB, free: 64.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/9.857, allocations: 0 / 5.18 GB, free: 64.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006412/9.858, allocations: 0.7716 MB / 5.181 GB, free: 64.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01422/9.872, allocations: 9.621 MB / 5.19 GB, free: 64.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01979/9.892, allocations: 10.92 MB / 5.201 GB, free: 63.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0413/9.933, allocations: 14.26 MB / 5.215 GB, free: 63.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/9.933, allocations: 7.656 kB / 5.215 GB, free: 63.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.09408/10.03, allocations: 34.25 MB / 5.248 GB, free: 58.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001819/10.03, allocations: 10.45 MB / 5.258 GB, free: 47.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/10.03, allocations: 27.66 kB / 5.258 GB, free: 47.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2161/10.25, allocations: 41.76 MB / 5.299 GB, free: 27.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005838/10.25, allocations: 1.075 MB / 5.3 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2984/10.55, allocations: 40.75 MB / 5.34 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01733/10.57, allocations: 1.406 MB / 5.341 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004998/10.57, allocations: 0.6141 MB / 5.342 GB, free: 64.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/10.57, allocations: 3.5 kB / 5.342 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08769/10.66, allocations: 32.04 MB / 5.373 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/10.66, allocations: 24.91 kB / 5.373 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2112/10.87, allocations: 40.82 MB / 5.413 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/10.88, allocations: 1.125 MB / 5.414 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08264/10.96, allocations: 36.78 MB / 5.45 GB, free: 61.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/10.98, allocations: 1.387 MB / 5.452 GB, free: 61.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005827/10.98, allocations: 0.6028 MB / 5.452 GB, free: 61.75 MB / 490.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.01085/10.99, allocations: 217.9 kB / 5.452 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005159/11, allocations: 0.5938 MB / 5.453 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08117/11.08, allocations: 29.21 MB / 5.481 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002047/11.08, allocations: 124 kB / 5.482 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.205e-05/11.08, allocations: 3.719 kB / 5.482 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05843/11.14, allocations: 22.34 MB / 5.503 GB, free: 27.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3542/11.49, allocations: 46.58 MB / 5.549 GB, free: 71.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001052/11.49, allocations: 0 / 5.549 GB, free: 71.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02347/11.52, allocations: 3.204 MB / 5.552 GB, free: 71.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03476/11.55, allocations: 9.514 MB / 5.561 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004358/11.56, allocations: 0.5166 MB / 5.562 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03569/11.59, allocations: 43.63 MB / 5.604 GB, free: 42.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/11.59, allocations: 3.75 kB / 5.604 GB, free: 42.11 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09291/11.69, allocations: 38.36 MB / 5.642 GB, free: 40.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/11.69, allocations: 0.6833 MB / 5.643 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005294/11.69, allocations: 305 kB / 5.643 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01525/11.71, allocations: 1.124 MB / 5.644 GB, free: 40.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003884/11.71, allocations: 0.7225 MB / 5.645 GB, free: 40.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003438/11.72, allocations: 0.5694 MB / 5.645 GB, free: 40.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002802/11.72, allocations: 1.663 MB / 5.647 GB, free: 40.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.03278/11.75, allocations: 6.386 MB / 5.653 GB, free: 40.21 MB / 490.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.01679/11.77, allocations: 4.083 MB / 5.657 GB, free: 39.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.08275/11.85, allocations: 35.66 MB / 5.692 GB, free: 29.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/11.85, allocations: 4.781 kB / 5.692 GB, free: 29.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03503/11.89, allocations: 12.98 MB / 5.705 GB, free: 18.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01928/11.91, allocations: 2.533 MB / 5.707 GB, free: 17.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3088/12.21, allocations: 29.71 MB / 5.736 GB, free: 62.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01205/12.23, allocations: 6.267 MB / 5.742 GB, free: 61.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/12.23, allocations: 3.438 kB / 5.742 GB, free: 61.24 MB / 490.7 MB Notification: Performance of Templates: time 1.196/13.42, allocations: 433.6 MB / 6.166 GB, free: 55.59 MB / 490.8 MB 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)