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") [: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.1+maint.om/package.mo): time 0.006217/0.006217, allocations: 178.5 kB / 7.454 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.795/1.795, allocations: 170.6 MB / 178.4 MB, free: 15.72 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.001865/0.001866, allocations: 112.7 kB / 217.7 MB, free: 8.5 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.122e-05/1.136e-05, allocations: 4 kB / 261.7 MB, free: 26.69 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 38.75 MB / 300.5 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.552/8.661, allocations: 3.664 GB / 3.958 GB, free: 69.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/8.661, allocations: 71.97 kB / 3.958 GB, free: 69.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.914/12.58, allocations: 0.9633 GB / 4.921 GB, free: 17.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006108/12.58, allocations: 163.7 kB / 4.921 GB, free: 17.98 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.04397/12.62, allocations: 9.852 MB / 4.931 GB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/12.62, allocations: 6.688 kB / 4.931 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/12.63, allocations: 0.8645 MB / 4.932 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02176/12.65, allocations: 5.741 MB / 4.937 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000578/12.65, allocations: 245 kB / 4.937 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004604/12.66, allocations: 438.5 kB / 4.938 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03574/12.69, allocations: 16.28 MB / 4.954 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04511/12.74, allocations: 13.47 MB / 4.967 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006885/12.74, allocations: 21.89 kB / 4.967 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005363/12.74, allocations: 13.19 kB / 4.967 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007789/12.75, allocations: 0.7418 MB / 4.968 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1471/12.89, allocations: 42.85 MB / 5.009 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02985/12.92, allocations: 8.249 MB / 5.018 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0229/12.95, allocations: 7.789 MB / 5.025 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006944/12.95, allocations: 4.154 MB / 5.029 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/12.95, allocations: 151.7 kB / 5.029 GB, free: 5.145 MB / 426.7 MB Notification: Performance of pre-optimization done (n=925): time 1.826e-05/12.95, allocations: 4 kB / 5.029 GB, free: 5.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=1187): time 0.6246/13.58, allocations: 82.32 MB / 5.11 GB, free: 59.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/13.58, allocations: 172.5 kB / 5.11 GB, free: 59.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004729/13.58, allocations: 2.267 MB / 5.112 GB, free: 59.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004667/13.59, allocations: 31.45 kB / 5.112 GB, free: 59.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/13.59, allocations: 1.943 MB / 5.114 GB, free: 58.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008166/13.6, allocations: 3.977 MB / 5.118 GB, free: 56.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004084/13.6, allocations: 0 / 5.118 GB, free: 56.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001313/13.6, allocations: 0.7717 MB / 5.119 GB, free: 55.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01899/13.62, allocations: 9.616 MB / 5.128 GB, free: 55.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01981/13.64, allocations: 10.92 MB / 5.139 GB, free: 54.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04308/13.68, allocations: 14.26 MB / 5.153 GB, free: 54.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/13.68, allocations: 7.844 kB / 5.153 GB, free: 54.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.0931/13.78, allocations: 34.25 MB / 5.186 GB, free: 48.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001927/13.78, allocations: 10.46 MB / 5.196 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-05/13.78, allocations: 23.31 kB / 5.196 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2105/13.99, allocations: 41.77 MB / 5.237 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/14, allocations: 1.069 MB / 5.238 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3367/14.33, allocations: 39.79 MB / 5.277 GB, free: 60.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01849/14.35, allocations: 1.406 MB / 5.278 GB, free: 60.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005533/14.36, allocations: 0.6126 MB / 5.279 GB, free: 60.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/14.36, allocations: 12.28 kB / 5.279 GB, free: 60.53 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1094/14.47, allocations: 32.03 MB / 5.31 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003373/14.47, allocations: 25.94 kB / 5.31 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3164/14.78, allocations: 40.82 MB / 5.35 GB, free: 59.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007015/14.79, allocations: 1.123 MB / 5.351 GB, free: 59.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07984/14.87, allocations: 36.79 MB / 5.387 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01865/14.89, allocations: 1.388 MB / 5.389 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006558/14.9, allocations: 0.5951 MB / 5.389 GB, free: 37.44 MB / 442.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.01169/14.91, allocations: 212.1 kB / 5.389 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00663/14.91, allocations: 0.5945 MB / 5.39 GB, free: 36.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0809/14.99, allocations: 29.22 MB / 5.418 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001973/14.99, allocations: 127 kB / 5.419 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.438e-05/14.99, allocations: 3.094 kB / 5.419 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.356/15.35, allocations: 23.29 MB / 5.441 GB, free: 59.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1261/15.48, allocations: 43.96 MB / 5.484 GB, free: 57.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/15.48, allocations: 4.969 kB / 5.484 GB, free: 57.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02267/15.5, allocations: 3.203 MB / 5.487 GB, free: 57.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03487/15.53, allocations: 9.517 MB / 5.497 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005847/15.54, allocations: 0.5138 MB / 5.497 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04042/15.58, allocations: 43.62 MB / 5.54 GB, free: 28.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/15.58, allocations: 3.094 kB / 5.54 GB, free: 28.33 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1144/15.7, allocations: 38.35 MB / 5.577 GB, free: 19.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/15.7, allocations: 0.688 MB / 5.578 GB, free: 19.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007394/15.71, allocations: 303 kB / 5.578 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01766/15.72, allocations: 1.131 MB / 5.579 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004857/15.73, allocations: 0.7174 MB / 5.58 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005363/15.73, allocations: 0.5654 MB / 5.581 GB, free: 19.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.005057/15.74, allocations: 1.671 MB / 5.582 GB, free: 18.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.04212/15.78, allocations: 6.367 MB / 5.588 GB, free: 13.56 MB / 442.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.01883/15.8, allocations: 4.069 MB / 5.592 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.4531/16.25, allocations: 37.56 MB / 5.629 GB, free: 58.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.828e-05/16.25, allocations: 4.688 kB / 5.629 GB, free: 58.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05609/16.31, allocations: 12.98 MB / 5.642 GB, free: 58.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03199/16.34, allocations: 2.546 MB / 5.644 GB, free: 58.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1186/16.46, allocations: 29.09 MB / 5.673 GB, free: 54.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01789/16.48, allocations: 6.273 MB / 5.679 GB, free: 53.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/16.48, allocations: 0 / 5.679 GB, free: 53.34 MB / 442.7 MB Notification: Performance of Templates: time 1.81/18.29, allocations: 433.5 MB / 6.102 GB, free: 37.49 MB / 442.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)