Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.0102/0.0102, allocations: 176.1 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.094/2.094, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00205/0.002049, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2546/0.2546, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004972, allocations: 11.58 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1054, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.19/11.3, allocations: 3.68 GB / 4.13 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/11.3, allocations: 80.39 kB / 4.13 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.806/17.11, allocations: 0.9756 GB / 5.106 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.01e-06/17.11, allocations: 1.062 kB / 5.106 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006991/17.11, allocations: 160.6 kB / 5.106 GB, free: 25.64 MB / 0.5261 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.06507/17.17, allocations: 10.32 MB / 5.116 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/17.17, allocations: 10.25 kB / 5.116 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007218/17.18, allocations: 1.046 MB / 5.117 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009555/17.19, allocations: 0.8718 MB / 5.118 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/17.22, allocations: 5.763 MB / 5.124 GB, free: 20.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009411/17.22, allocations: 0.5265 MB / 5.124 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005342/17.22, allocations: 0.6928 MB / 5.125 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04959/17.27, allocations: 14 MB / 5.138 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005457/17.27, allocations: 26.8 kB / 5.139 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005205/17.28, allocations: 290.7 kB / 5.139 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/17.28, allocations: 0.7049 MB / 5.139 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05003/17.33, allocations: 16.46 MB / 5.156 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1418/17.47, allocations: 47.59 MB / 5.202 GB, free: 16.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03303/17.51, allocations: 10.65 MB / 5.212 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006587/17.51, allocations: 4.178 MB / 5.217 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/17.51, allocations: 148.2 kB / 5.217 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00932/17.52, allocations: 0.8588 MB / 5.217 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 3.276e-05/17.52, allocations: 3.938 kB / 5.217 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 1.105/18.63, allocations: 100.6 MB / 5.316 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/18.63, allocations: 172.1 kB / 5.316 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/18.64, allocations: 3.365 MB / 5.319 GB, free: 51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.005279/18.64, allocations: 229.8 kB / 5.319 GB, free: 50.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003347/18.65, allocations: 2.406 MB / 5.322 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.008666/18.65, allocations: 3.897 MB / 5.326 GB, free: 48.13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004803/18.66, allocations: 215 kB / 5.326 GB, free: 48.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001338/18.66, allocations: 0.7456 MB / 5.326 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03625/18.7, allocations: 9.989 MB / 5.336 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03889/18.74, allocations: 11.44 MB / 5.347 GB, free: 46.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03996/18.78, allocations: 11.04 MB / 5.358 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.776e-05/18.78, allocations: 9.875 kB / 5.358 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1253/18.9, allocations: 32.19 MB / 5.39 GB, free: 43.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002899/18.9, allocations: 13.05 MB / 5.402 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/18.9, allocations: 35.28 kB / 5.402 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031/19.94, allocations: 78.99 MB / 5.48 GB, free: 61.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009186/19.95, allocations: 1.065 MB / 5.481 GB, free: 61.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1335/20.08, allocations: 35.07 MB / 5.515 GB, free: 60.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02613/20.1, allocations: 1.787 MB / 5.517 GB, free: 60.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004794/20.11, allocations: 0.5988 MB / 5.517 GB, free: 60.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/20.11, allocations: 8.406 kB / 5.517 GB, free: 60.28 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1554/20.27, allocations: 32.3 MB / 5.549 GB, free: 59.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/20.27, allocations: 31.62 kB / 5.549 GB, free: 59.97 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4598/20.73, allocations: 70.15 MB / 5.617 GB, free: 38.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/20.74, allocations: 1.167 MB / 5.618 GB, free: 37.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1213/20.86, allocations: 31.97 MB / 5.65 GB, free: 17.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02604/20.88, allocations: 1.758 MB / 5.651 GB, free: 16.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005516/20.89, allocations: 0.5804 MB / 5.652 GB, free: 16.01 MB / 0.573 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.01585/20.9, allocations: 2.573 MB / 5.654 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006553/20.91, allocations: 0.6343 MB / 5.655 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.678/21.59, allocations: 32.7 MB / 5.687 GB, free: 61.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002392/21.59, allocations: 119.1 kB / 5.687 GB, free: 61.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.916e-05/21.59, allocations: 2.188 kB / 5.687 GB, free: 61.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09745/21.69, allocations: 23.72 MB / 5.71 GB, free: 61.16 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1566/21.84, allocations: 41.86 MB / 5.751 GB, free: 59.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000195/21.84, allocations: 0.75 kB / 5.751 GB, free: 59.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02218/21.87, allocations: 2.136 MB / 5.753 GB, free: 59.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1003/21.97, allocations: 14.11 MB / 5.767 GB, free: 59.49 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005482/21.97, allocations: 0.6112 MB / 5.768 GB, free: 59.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06789/22.04, allocations: 33.09 MB / 5.8 GB, free: 41.88 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/22.04, allocations: 6.312 kB / 5.8 GB, free: 41.88 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1386/22.18, allocations: 36.89 MB / 5.836 GB, free: 32.96 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/22.18, allocations: 0.7852 MB / 5.837 GB, free: 32.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006705/22.19, allocations: 458.8 kB / 5.837 GB, free: 32.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02489/22.21, allocations: 1.452 MB / 5.839 GB, free: 32.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005514/22.22, allocations: 0.7729 MB / 5.839 GB, free: 31.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005239/22.22, allocations: 0.5473 MB / 5.84 GB, free: 31.86 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00727/22.23, allocations: 2.552 MB / 5.842 GB, free: 30.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.41e-07/22.23, allocations: 0 / 5.842 GB, free: 30.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04192/22.27, allocations: 6.923 MB / 5.849 GB, free: 28.51 MB / 0.573 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.1784/22.45, allocations: 42.59 MB / 5.891 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.6693/23.12, allocations: 37.87 MB / 5.928 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/23.12, allocations: 5.844 kB / 5.928 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.04811/23.17, allocations: 12.62 MB / 5.94 GB, free: 74.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03043/23.2, allocations: 3.074 MB / 5.943 GB, free: 74.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1472/23.35, allocations: 63.68 MB / 6.005 GB, free: 38.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/23.36, allocations: 5.201 MB / 6.01 GB, free: 37.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03269/23.39, allocations: 4.924 MB / 6.015 GB, free: 36.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01554/23.41, allocations: 3.493 MB / 6.019 GB, free: 36.73 MB / 0.5886 GB Notification: Performance of SimCode: time 2.244e-06/23.41, allocations: 0.7188 kB / 6.019 GB, free: 36.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.073/25.48, allocations: 472.1 MB / 6.48 GB, free: 80.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/25.48, allocations: 292.6 kB / 6.48 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.93/48.41, allocations: 0 / 6.48 GB, free: 80.52 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat