Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.002181, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001464, allocations: 86.61 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.41e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 50.41 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.027/9.174, allocations: 3.452 GB / 3.837 GB, free: 66.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/9.174, allocations: 75.95 kB / 3.837 GB, free: 66.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607/12.78, allocations: 0.9574 GB / 4.794 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/12.78, allocations: 0 / 4.794 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008456/12.78, allocations: 163.1 kB / 4.795 GB, free: 4.441 MB / 0.4948 GB 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.8752/13.66, allocations: 9.627 MB / 4.804 GB, free: 27.77 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/13.66, allocations: 10.84 kB / 4.804 GB, free: 27.77 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007251/13.67, allocations: 1.022 MB / 4.805 GB, free: 27.68 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009888/13.67, allocations: 0.8633 MB / 4.806 GB, free: 27.29 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/13.7, allocations: 5.698 MB / 4.811 GB, free: 26.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001172/13.7, allocations: 0.5322 MB / 4.812 GB, free: 26.81 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006327/13.71, allocations: 0.7231 MB / 4.813 GB, free: 26.78 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05136/13.76, allocations: 14.08 MB / 4.826 GB, free: 26.11 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005732/13.76, allocations: 19.45 kB / 4.826 GB, free: 26.1 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006368/13.77, allocations: 286.2 kB / 4.827 GB, free: 26.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009964/13.77, allocations: 0.7095 MB / 4.827 GB, free: 26.09 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04219/13.81, allocations: 16.64 MB / 4.844 GB, free: 26.02 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/13.92, allocations: 48.81 MB / 4.891 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/13.94, allocations: 10.99 MB / 4.902 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01363/13.96, allocations: 7.651 MB / 4.909 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005163/13.96, allocations: 4.139 MB / 4.913 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/13.96, allocations: 151.5 kB / 4.914 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00811/13.97, allocations: 0.8973 MB / 4.914 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=925): time 3.596e-05/13.97, allocations: 0 / 4.914 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1187): time 0.7139/14.69, allocations: 89.29 MB / 5.002 GB, free: 56.09 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/14.69, allocations: 176.7 kB / 5.002 GB, free: 56.01 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007047/14.69, allocations: 3.398 MB / 5.005 GB, free: 55.79 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.004402/14.7, allocations: 243.5 kB / 5.005 GB, free: 55.75 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/14.7, allocations: 2.304 MB / 5.008 GB, free: 55.61 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.008162/14.71, allocations: 4.133 MB / 5.012 GB, free: 53.02 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003702/14.71, allocations: 230.1 kB / 5.012 GB, free: 53.02 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001216/14.71, allocations: 0.7672 MB / 5.013 GB, free: 52.7 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01965/14.73, allocations: 9.231 MB / 5.022 GB, free: 52.67 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01938/14.75, allocations: 10.52 MB / 5.032 GB, free: 51.75 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/14.77, allocations: 10.31 MB / 5.042 GB, free: 51.6 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.79e-05/14.77, allocations: 9.25 kB / 5.042 GB, free: 51.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.06895/14.84, allocations: 29.96 MB / 5.071 GB, free: 50.92 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.00183/14.84, allocations: 9.771 MB / 5.081 GB, free: 40.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-05/14.84, allocations: 25.22 kB / 5.081 GB, free: 40.53 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2683/15.11, allocations: 83.6 MB / 5.162 GB, free: 11.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005836/15.12, allocations: 1.064 MB / 5.164 GB, free: 10.96 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4484/15.56, allocations: 34.88 MB / 5.198 GB, free: 66.81 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/15.58, allocations: 1.842 MB / 5.199 GB, free: 66.81 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004626/15.59, allocations: 0.5711 MB / 5.2 GB, free: 66.81 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/15.59, allocations: 3.562 kB / 5.2 GB, free: 66.81 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06952/15.65, allocations: 28.56 MB / 5.228 GB, free: 66.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/15.65, allocations: 26.61 kB / 5.228 GB, free: 66.5 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2473/15.9, allocations: 77.28 MB / 5.303 GB, free: 64.58 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005561/15.91, allocations: 1.112 MB / 5.304 GB, free: 63.74 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06019/15.97, allocations: 31.33 MB / 5.335 GB, free: 47.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01529/15.98, allocations: 1.816 MB / 5.337 GB, free: 46.91 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003682/15.99, allocations: 0.5537 MB / 5.337 GB, free: 46.54 MB / 0.5418 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 () * 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.007961/16, allocations: 0.6112 MB / 5.338 GB, free: 46.33 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003859/16, allocations: 0.661 MB / 5.339 GB, free: 45.99 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.059/16.06, allocations: 28.29 MB / 5.366 GB, free: 25.95 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/16.06, allocations: 125.5 kB / 5.366 GB, free: 25.83 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/16.06, allocations: 0 / 5.366 GB, free: 25.83 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04542/16.1, allocations: 21.06 MB / 5.387 GB, free: 7.914 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4575/16.56, allocations: 43.2 MB / 5.429 GB, free: 68.79 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000135/16.56, allocations: 0 / 5.429 GB, free: 68.79 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01942/16.58, allocations: 3.374 MB / 5.432 GB, free: 68.79 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03106/16.61, allocations: 10.15 MB / 5.442 GB, free: 68.59 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004591/16.62, allocations: 0.6261 MB / 5.443 GB, free: 68.59 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02872/16.65, allocations: 41.78 MB / 5.484 GB, free: 39.19 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/16.65, allocations: 2.5 kB / 5.484 GB, free: 39.19 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0788/16.72, allocations: 37.56 MB / 5.52 GB, free: 37.42 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002967/16.73, allocations: 0.8245 MB / 5.521 GB, free: 36.89 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00477/16.73, allocations: 488 kB / 5.522 GB, free: 36.66 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01438/16.75, allocations: 1.482 MB / 5.523 GB, free: 36.47 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003787/16.75, allocations: 0.7991 MB / 5.524 GB, free: 36.37 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003484/16.75, allocations: 0.5463 MB / 5.524 GB, free: 36.28 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.004656/16.76, allocations: 2.602 MB / 5.527 GB, free: 35.33 MB / 0.5418 GB Notification: Performance of sort global known variables: time 3.9e-07/16.76, allocations: 0 / 5.527 GB, free: 35.33 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.03282/16.79, allocations: 6.976 MB / 5.534 GB, free: 34.64 MB / 0.5418 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 (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.09392/16.89, allocations: 42.02 MB / 5.575 GB, free: 9.168 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.4957/17.38, allocations: 37.98 MB / 5.612 GB, free: 69.61 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/17.38, allocations: 8.625 kB / 5.612 GB, free: 69.61 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.03318/17.41, allocations: 12.97 MB / 5.625 GB, free: 68.98 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02126/17.44, allocations: 3.188 MB / 5.628 GB, free: 68.93 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0894/17.52, allocations: 31.93 MB / 5.659 GB, free: 64.36 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007547/17.53, allocations: 5.287 MB / 5.664 GB, free: 63.4 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02176/17.55, allocations: 6.322 MB / 5.67 GB, free: 62.89 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009931/17.56, allocations: 3.573 MB / 5.674 GB, free: 62.89 MB / 0.5418 GB Notification: Performance of SimCode: time 1.313e-06/17.56, allocations: 0 / 5.674 GB, free: 62.89 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.491/19.06, allocations: 0.4922 GB / 6.166 GB, free: 34.75 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/19.06, allocations: 227.9 kB / 6.166 GB, free: 34.52 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/35.55, allocations: 0 / 6.166 GB, free: 34.52 MB / 0.573 GB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat