Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01065/0.01065, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.699/1.699, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002026/0.002026, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4342/0.4342, allocations: 38.06 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 19.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.5/11.64, allocations: 3.673 GB / 4.075 GB, free: 104.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/11.64, allocations: 80.86 kB / 4.075 GB, free: 104.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.626/17.27, allocations: 0.9653 GB / 5.041 GB, free: 23.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.37e-06/17.27, allocations: 3.562 kB / 5.041 GB, free: 23.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005775/17.27, allocations: 158 kB / 5.041 GB, free: 23.64 MB / 490.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.06504/17.33, allocations: 10.32 MB / 5.051 GB, free: 19.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/17.33, allocations: 13.03 kB / 5.051 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008684/17.34, allocations: 1.045 MB / 5.052 GB, free: 19.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009579/17.35, allocations: 0.8543 MB / 5.053 GB, free: 18.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02939/17.38, allocations: 5.765 MB / 5.058 GB, free: 18.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/17.38, allocations: 0.5191 MB / 5.059 GB, free: 18.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006213/17.39, allocations: 0.7003 MB / 5.06 GB, free: 18.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0515/17.44, allocations: 14 MB / 5.073 GB, free: 17.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005762/17.44, allocations: 25.41 kB / 5.073 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00526/17.45, allocations: 286.6 kB / 5.074 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/17.45, allocations: 0.7005 MB / 5.074 GB, free: 17.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04969/17.5, allocations: 16.47 MB / 5.09 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/17.64, allocations: 42.16 MB / 5.131 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4861/18.13, allocations: 11.09 MB / 5.142 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005555/18.13, allocations: 4.181 MB / 5.146 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/18.13, allocations: 146.8 kB / 5.147 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009329/18.14, allocations: 0.8491 MB / 5.147 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 6.108e-05/18.14, allocations: 0.8438 kB / 5.147 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.5775/18.72, allocations: 98.62 MB / 5.244 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/18.72, allocations: 179.6 kB / 5.244 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009255/18.73, allocations: 3.365 MB / 5.247 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004673/18.73, allocations: 225.9 kB / 5.247 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002778/18.74, allocations: 2.409 MB / 5.25 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008161/18.75, allocations: 3.893 MB / 5.253 GB, free: 23.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004823/18.75, allocations: 215.1 kB / 5.254 GB, free: 23.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001261/18.75, allocations: 0.74 MB / 5.254 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0357/18.79, allocations: 9.991 MB / 5.264 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03948/18.83, allocations: 11.44 MB / 5.275 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03858/18.87, allocations: 11.04 MB / 5.286 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-05/18.87, allocations: 8 kB / 5.286 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1763/19.04, allocations: 34.99 MB / 5.32 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.005424/19.05, allocations: 13.05 MB / 5.333 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/19.05, allocations: 28 kB / 5.333 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9334/19.98, allocations: 76.94 MB / 5.408 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008937/19.99, allocations: 1.07 MB / 5.409 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1305/20.12, allocations: 35.07 MB / 5.443 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02542/20.15, allocations: 1.792 MB / 5.445 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00511/20.15, allocations: 0.594 MB / 5.446 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/20.15, allocations: 0 / 5.446 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1353/20.29, allocations: 32.31 MB / 5.477 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/20.29, allocations: 37 kB / 5.477 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.866/21.15, allocations: 68.86 MB / 5.545 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/21.16, allocations: 1.174 MB / 5.546 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1222/21.29, allocations: 31.97 MB / 5.577 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02489/21.31, allocations: 1.756 MB / 5.579 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004781/21.32, allocations: 0.5802 MB / 5.579 GB, free: 55.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (588): * Single equations (assignments): 587 * 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 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.01331/21.33, allocations: 2.571 MB / 5.582 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005348/21.33, allocations: 0.6359 MB / 5.582 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1169/21.45, allocations: 29.99 MB / 5.612 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002281/21.45, allocations: 118.7 kB / 5.612 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-05/21.45, allocations: 2.719 kB / 5.612 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09233/21.54, allocations: 23.73 MB / 5.635 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1491/21.69, allocations: 41.85 MB / 5.676 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001631/21.69, allocations: 9.5 kB / 5.676 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02126/21.71, allocations: 2.132 MB / 5.678 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09347/21.81, allocations: 14.12 MB / 5.692 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004825/21.81, allocations: 0.6086 MB / 5.692 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06314/21.88, allocations: 33.09 MB / 5.725 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/21.88, allocations: 0 / 5.725 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5968/22.47, allocations: 38.28 MB / 5.762 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003592/22.48, allocations: 0.7858 MB / 5.763 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006377/22.48, allocations: 460.9 kB / 5.763 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02419/22.51, allocations: 1.451 MB / 5.765 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005238/22.51, allocations: 0.7653 MB / 5.765 GB, free: 60.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004523/22.52, allocations: 0.5496 MB / 5.766 GB, free: 60.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006991/22.52, allocations: 2.553 MB / 5.768 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/22.52, allocations: 4.156 kB / 5.768 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.04352/22.57, allocations: 6.893 MB / 5.775 GB, free: 60.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (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,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,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,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) * 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 (1057): * Single equations (assignments): 1030 * 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: 27 * Mixed (continuous/discrete) equation systems: 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: 22 {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,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.1545/22.72, allocations: 41.57 MB / 5.816 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1368/22.86, allocations: 36.65 MB / 5.852 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-05/22.86, allocations: 7.312 kB / 5.852 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04642/22.91, allocations: 12.61 MB / 5.864 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02909/22.93, allocations: 3.064 MB / 5.867 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1421/23.08, allocations: 63.73 MB / 5.929 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/23.09, allocations: 5.19 MB / 5.934 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.4722/23.56, allocations: 4.968 MB / 5.939 GB, free: 67.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01437/23.58, allocations: 3.492 MB / 5.942 GB, free: 67.24 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/23.58, allocations: 4.219 kB / 5.942 GB, free: 67.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/25.97, allocations: 472.1 MB / 6.404 GB, free: 113.4 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/25.97, allocations: 292.3 kB / 6.404 GB, free: 113 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.47/48.44, allocations: 0 / 6.404 GB, free: 113 MB / 0.5887 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat