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.001311/0.001311, allocations: 175.8 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008779/0.0008779, allocations: 82.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.764e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08637, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.062/8.149, allocations: 3.616 GB / 3.971 GB, free: 44.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/8.149, allocations: 71.34 kB / 3.971 GB, free: 44.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888/12.04, allocations: 0.9699 GB / 4.941 GB, free: 21.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/12.04, allocations: 2.953 kB / 4.941 GB, free: 21.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005031/12.04, allocations: 160.4 kB / 4.941 GB, free: 21.58 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.04716/12.08, allocations: 9.843 MB / 4.951 GB, free: 17.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/12.08, allocations: 10 kB / 4.951 GB, free: 17.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008317/12.09, allocations: 0.8617 MB / 4.952 GB, free: 17.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01812/12.11, allocations: 5.708 MB / 4.957 GB, free: 16.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/12.11, allocations: 246.7 kB / 4.957 GB, free: 16.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004988/12.12, allocations: 427.1 kB / 4.958 GB, free: 16.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03265/12.15, allocations: 15.84 MB / 4.973 GB, free: 16.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/12.19, allocations: 13.15 MB / 4.986 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/12.19, allocations: 23.59 kB / 4.986 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004687/12.19, allocations: 7.562 kB / 4.986 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007353/12.19, allocations: 0.7079 MB / 4.987 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/12.3, allocations: 47.77 MB / 5.033 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03126/12.33, allocations: 11.68 MB / 5.045 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01498/12.34, allocations: 7.591 MB / 5.052 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4375/12.78, allocations: 4.129 MB / 5.056 GB, free: 52.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/12.78, allocations: 154.6 kB / 5.056 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01023/12.79, allocations: 0.9036 MB / 5.057 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=925): time 8.64e-05/12.79, allocations: 0 / 5.057 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187): time 0.3009/13.09, allocations: 83.36 MB / 5.139 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/13.09, allocations: 174.3 kB / 5.139 GB, free: 49.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/13.1, allocations: 2.247 MB / 5.141 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004552/13.1, allocations: 31.48 kB / 5.141 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002393/13.11, allocations: 2.293 MB / 5.143 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008134/13.11, allocations: 3.98 MB / 5.147 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003148/13.12, allocations: 0 / 5.147 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009476/13.12, allocations: 0.7664 MB / 5.148 GB, free: 45.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01699/13.13, allocations: 9.237 MB / 5.157 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01877/13.15, allocations: 10.46 MB / 5.167 GB, free: 45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03877/13.19, allocations: 13.66 MB / 5.181 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/13.19, allocations: 8 kB / 5.181 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.08705/13.28, allocations: 32.78 MB / 5.213 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002181/13.28, allocations: 9.28 MB / 5.222 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.311e-05/13.28, allocations: 27.95 kB / 5.222 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6277/13.91, allocations: 46.09 MB / 5.267 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006684/13.92, allocations: 1.077 MB / 5.268 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08314/14, allocations: 37.54 MB / 5.304 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/14.02, allocations: 1.624 MB / 5.306 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004367/14.02, allocations: 0.607 MB / 5.307 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/14.02, allocations: 3.594 kB / 5.307 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0812/14.1, allocations: 30.57 MB / 5.336 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/14.1, allocations: 22.03 kB / 5.336 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1808/14.28, allocations: 42.58 MB / 5.378 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/14.29, allocations: 1.136 MB / 5.379 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06369/14.35, allocations: 34.64 MB / 5.413 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0156/14.37, allocations: 1.59 MB / 5.415 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003893/14.37, allocations: 0.5958 MB / 5.415 GB, free: 2.035 MB / 0.4948 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 (599): * Single equations (assignments): 598 * 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.006251/14.38, allocations: 216.8 kB / 5.415 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4511/14.83, allocations: 23.85 MB / 5.439 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006303/14.84, allocations: 0.5922 MB / 5.439 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07094/14.91, allocations: 27.32 MB / 5.466 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001405/14.91, allocations: 124.6 kB / 5.466 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/14.91, allocations: 3.25 kB / 5.466 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.045/14.95, allocations: 21.42 MB / 5.487 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09879/15.05, allocations: 43.29 MB / 5.529 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001074/15.05, allocations: 6.875 kB / 5.529 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01853/15.07, allocations: 3.37 MB / 5.533 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03034/15.1, allocations: 10.08 MB / 5.542 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004157/15.1, allocations: 0.4895 MB / 5.543 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02947/15.13, allocations: 42.59 MB / 5.584 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/15.13, allocations: 0 / 5.584 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4593/15.59, allocations: 38.9 MB / 5.622 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/15.6, allocations: 0.7032 MB / 5.623 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004785/15.6, allocations: 282.7 kB / 5.623 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01601/15.62, allocations: 1.279 MB / 5.625 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004973/15.62, allocations: 0.8068 MB / 5.625 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004334/15.63, allocations: 0.572 MB / 5.626 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003264/15.63, allocations: 1.664 MB / 5.628 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/15.63, allocations: 4.031 kB / 5.628 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03619/15.67, allocations: 6.417 MB / 5.634 GB, free: 62.5 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 (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.09968/15.77, allocations: 42 MB / 5.675 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.07091/15.84, allocations: 34.19 MB / 5.708 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-05/15.84, allocations: 9.438 kB / 5.708 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02999/15.87, allocations: 12.75 MB / 5.721 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01908/15.89, allocations: 2.689 MB / 5.723 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07698/15.96, allocations: 30.88 MB / 5.753 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005284/15.97, allocations: 5.291 MB / 5.759 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02012/15.99, allocations: 5.216 MB / 5.764 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01004/16, allocations: 3.588 MB / 5.767 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/16, allocations: 0 / 5.767 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.078/18.08, allocations: 474.3 MB / 6.23 GB, free: 97.15 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/18.08, allocations: 163 kB / 6.231 GB, free: 96.96 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/34.27, allocations: 0 / 6.231 GB, free: 96.96 MB / 0.5574 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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat