Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 181 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007956/0.0007957, allocations: 94.91 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 328.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2794, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.448/8.728, allocations: 3.617 GB / 3.984 GB, free: 3.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/8.728, allocations: 80.3 kB / 3.984 GB, free: 3.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.275/13, allocations: 0.9795 GB / 4.964 GB, free: 20.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.745e-06/13, allocations: 0 / 4.964 GB, free: 20.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005029/13, allocations: 160.7 kB / 4.964 GB, free: 20.09 MB / 474.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.05641/13.06, allocations: 10.52 MB / 4.974 GB, free: 15.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/13.06, allocations: 8.031 kB / 4.974 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008412/13.07, allocations: 1.046 MB / 4.975 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009861/13.08, allocations: 0.8664 MB / 4.976 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/13.1, allocations: 5.716 MB / 4.981 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007958/13.1, allocations: 0.5287 MB / 4.982 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006033/13.1, allocations: 0.7316 MB / 4.983 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04541/13.15, allocations: 14.26 MB / 4.997 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004837/13.15, allocations: 23.8 kB / 4.997 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005517/13.16, allocations: 292.3 kB / 4.997 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000906/13.16, allocations: 0.7059 MB / 4.998 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4179/13.58, allocations: 16.95 MB / 5.014 GB, free: 33.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/13.69, allocations: 48.75 MB / 5.062 GB, free: 19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02455/13.72, allocations: 11.17 MB / 5.073 GB, free: 18.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004206/13.72, allocations: 4.138 MB / 5.077 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/13.72, allocations: 152 kB / 5.077 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008757/13.73, allocations: 0.894 MB / 5.078 GB, free: 14.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=926): time 5.604e-05/13.73, allocations: 0 / 5.078 GB, free: 14.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=1188): time 0.3346/14.06, allocations: 100.2 MB / 5.176 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/14.06, allocations: 178.7 kB / 5.176 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00887/14.07, allocations: 3.568 MB / 5.179 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005038/14.08, allocations: 245.7 kB / 5.179 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002503/14.08, allocations: 2.295 MB / 5.182 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008958/14.09, allocations: 4.132 MB / 5.186 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00417/14.09, allocations: 224 kB / 5.186 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001249/14.1, allocations: 0.7685 MB / 5.187 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02527/14.12, allocations: 10.52 MB / 5.197 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.418/14.54, allocations: 11.79 MB / 5.208 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02559/14.56, allocations: 11.55 MB / 5.22 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.474e-05/14.56, allocations: 8.656 kB / 5.22 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.09284/14.66, allocations: 33.69 MB / 5.253 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002363/14.66, allocations: 9.765 MB / 5.262 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-05/14.66, allocations: 26.12 kB / 5.262 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2841/14.94, allocations: 86.12 MB / 5.346 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005667/14.95, allocations: 1.069 MB / 5.347 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1052/15.05, allocations: 38.36 MB / 5.385 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/15.07, allocations: 1.836 MB / 5.387 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005291/15.08, allocations: 0.6044 MB / 5.387 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/15.08, allocations: 4.938 kB / 5.387 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4566/15.54, allocations: 33.35 MB / 5.42 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/15.54, allocations: 26.08 kB / 5.42 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.266/15.8, allocations: 79.07 MB / 5.497 GB, free: 72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005682/15.81, allocations: 1.119 MB / 5.498 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07992/15.89, allocations: 34.86 MB / 5.532 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01714/15.91, allocations: 1.817 MB / 5.534 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005117/15.91, allocations: 0.582 MB / 5.534 GB, free: 52.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (597): * Single equations (assignments): 596 * 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.01281/15.92, allocations: 2.595 MB / 5.537 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005692/15.93, allocations: 0.6629 MB / 5.538 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08416/16.01, allocations: 30.86 MB / 5.568 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001921/16.01, allocations: 124 kB / 5.568 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/16.01, allocations: 4 kB / 5.568 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3987/16.41, allocations: 24.41 MB / 5.592 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1124/16.52, allocations: 44.65 MB / 5.635 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000161/16.52, allocations: 0 / 5.635 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01973/16.54, allocations: 3.42 MB / 5.639 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0439/16.59, allocations: 12.56 MB / 5.651 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004946/16.59, allocations: 0.6304 MB / 5.652 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03834/16.63, allocations: 44.84 MB / 5.695 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/16.63, allocations: 0 / 5.695 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08586/16.72, allocations: 38.69 MB / 5.733 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002988/16.72, allocations: 0.8152 MB / 5.734 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005975/16.73, allocations: 485.3 kB / 5.734 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01576/16.74, allocations: 1.494 MB / 5.736 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004408/16.75, allocations: 0.7996 MB / 5.737 GB, free: 30.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004149/16.75, allocations: 0.5743 MB / 5.737 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004552/16.76, allocations: 2.632 MB / 5.74 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/16.76, allocations: 1.906 kB / 5.74 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03427/16.79, allocations: 7.105 MB / 5.747 GB, free: 28.76 MB / 0.5261 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.4239/17.21, allocations: 43.92 MB / 5.79 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.09542/17.31, allocations: 38.67 MB / 5.827 GB, free: 70.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/17.31, allocations: 6.469 kB / 5.827 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03536/17.34, allocations: 14.18 MB / 5.841 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01918/17.36, allocations: 3.174 MB / 5.844 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1091/17.47, allocations: 61.54 MB / 5.904 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00828/17.48, allocations: 5.279 MB / 5.91 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02126/17.5, allocations: 5.001 MB / 5.914 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01201/17.51, allocations: 3.663 MB / 5.918 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.552e-06/17.51, allocations: 0 / 5.918 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.632/19.15, allocations: 496 MB / 6.402 GB, free: 97.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/19.15, allocations: 246.9 kB / 6.403 GB, free: 96.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/36.29, allocations: 5.531 kB / 6.403 GB, free: 96.83 MB / 0.5573 GB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_BranchingDynamicPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_BranchingDynamicPipes.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe 2>&1)