Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01117/0.01117, allocations: 104.7 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001218/0.001218, allocations: 170.1 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.649/1.649, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.27/0.27, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004813, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09852, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.1067/0.2053, allocations: 60.06 MB / 432.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3543/0.5597, allocations: 21.36 MB / 453.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.562, allocations: 53.5 kB / 453.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.5653, allocations: 0.6749 MB / 454.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02824/0.5936, allocations: 5.004 MB / 459.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0205/0.6142, allocations: 3.541 MB / 463 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006491/0.6207, allocations: 2.044 MB / 465 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.6234, allocations: 0.8452 MB / 465.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.6284, allocations: 1.252 MB / 467.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04618/0.6746, allocations: 14.75 MB / 481.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004926/0.6751, allocations: 76 kB / 481.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03285/0.708, allocations: 10.93 MB / 492.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.7092, allocations: 399.7 kB / 493.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009964/0.7102, allocations: 320.9 kB / 493.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.7267, allocations: 4.696 MB / 498.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.7268, allocations: 0 / 498.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.7268, allocations: 0 / 498.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.263e-05/0.7269, allocations: 0 / 498.3 MB, free: 7.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.0171/0.744, allocations: 2.518 MB / 0.4891 GB, free: 4.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.7441, allocations: 12.03 kB / 0.4891 GB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005341/0.7446, allocations: 177.1 kB / 0.4892 GB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006319/0.751, allocations: 0.5679 MB / 0.4898 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.7542, allocations: 0.9774 MB / 0.4907 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.7544, allocations: 98.84 kB / 0.4908 GB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.7548, allocations: 101.8 kB / 0.4909 GB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009122/0.7639, allocations: 2.246 MB / 0.4931 GB, free: 456 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.764, allocations: 11.88 kB / 0.4931 GB, free: 444 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.7643, allocations: 52.25 kB / 0.4932 GB, free: 396 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.7645, allocations: 86 kB / 0.4933 GB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.7747, allocations: 2.373 MB / 0.4956 GB, free: 13.92 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.7929, allocations: 9.011 MB / 0.5044 GB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007608/0.8006, allocations: 1.795 MB / 0.5061 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06424/0.8649, allocations: 18.97 MB / 0.5247 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/0.865, allocations: 43.56 kB / 0.5247 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001476/0.8665, allocations: 162 kB / 0.5249 GB, free: 13.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 4.218e-06/0.8665, allocations: 7.938 kB / 0.5249 GB, free: 13.06 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.2007/1.067, allocations: 16.5 MB / 0.541 GB, free: 12.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/1.067, allocations: 226.9 kB / 0.5412 GB, free: 12.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/1.069, allocations: 0.8651 MB / 0.542 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006836/1.07, allocations: 49.7 kB / 0.5421 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/1.071, allocations: 0.598 MB / 0.5427 GB, free: 10.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.072, allocations: 0.5282 MB / 0.5432 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/1.072, allocations: 36 kB / 0.5432 GB, free: 10.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/1.073, allocations: 369.9 kB / 0.5436 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008044/1.081, allocations: 1.507 MB / 0.5451 GB, free: 8.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008873/1.09, allocations: 1.965 MB / 0.547 GB, free: 6.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/1.099, allocations: 1.633 MB / 0.5486 GB, free: 4.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.099, allocations: 4 kB / 0.5486 GB, free: 4.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02715/1.126, allocations: 4.796 MB / 0.5533 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002348/1.128, allocations: 4.801 MB / 0.5579 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.554e-05/1.128, allocations: 12 kB / 0.558 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2062/1.334, allocations: 8.12 MB / 0.5659 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/1.338, allocations: 371.5 kB / 0.5662 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03155/1.369, allocations: 5.184 MB / 0.5713 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006281/1.376, allocations: 227.7 kB / 0.5715 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007678/1.376, allocations: 139.8 kB / 0.5717 GB, free: 12.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.376, allocations: 4 kB / 0.5717 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02831/1.405, allocations: 4.595 MB / 0.5761 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-05/1.405, allocations: 12 kB / 0.5762 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02228/1.427, allocations: 3.073 MB / 0.5792 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/1.431, allocations: 435.3 kB / 0.5796 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02667/1.458, allocations: 4.46 MB / 0.5839 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006228/1.464, allocations: 235.7 kB / 0.5841 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007441/1.465, allocations: 135.8 kB / 0.5843 GB, free: 15.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001739/1.467, allocations: 494.9 kB / 0.5848 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/1.467, allocations: 138.3 kB / 0.5849 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03659/1.504, allocations: 9.143 MB / 0.5938 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/1.504, allocations: 67.91 kB / 0.5939 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.504, allocations: 0 / 0.5939 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.589e-05/1.504, allocations: 7.969 kB / 0.5939 GB, free: 5.453 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3438/1.848, allocations: 12.36 MB / 0.606 GB, free: 176.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-05/1.848, allocations: 3.438 kB / 0.606 GB, free: 176.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.85, allocations: 263.5 kB / 0.6062 GB, free: 176.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.161/2.011, allocations: 8.466 MB / 0.6145 GB, free: 175.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006304/2.012, allocations: 61.81 kB / 0.6145 GB, free: 175.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0269/2.039, allocations: 5.756 MB / 0.6202 GB, free: 172.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/2.039, allocations: 1.969 kB / 0.6202 GB, free: 172.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03677/2.076, allocations: 7.347 MB / 0.6273 GB, free: 166.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/2.078, allocations: 0.6829 MB / 0.628 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005995/2.079, allocations: 35.16 kB / 0.628 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004989/2.084, allocations: 214.3 kB / 0.6282 GB, free: 166.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/2.084, allocations: 129.8 kB / 0.6284 GB, free: 166 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/2.085, allocations: 75.92 kB / 0.6284 GB, free: 165.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00146/2.086, allocations: 0.7631 MB / 0.6292 GB, free: 165.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.71e-07/2.086, allocations: 3.906 kB / 0.6292 GB, free: 165.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00869/2.095, allocations: 2.071 MB / 0.6312 GB, free: 163.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.04609/2.141, allocations: 9.652 MB / 0.6406 GB, free: 153.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04284/2.184, allocations: 6.638 MB / 0.6471 GB, free: 147.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.184, allocations: 0 / 0.6471 GB, free: 147.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01688/2.201, allocations: 2.958 MB / 0.65 GB, free: 144.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005778/2.207, allocations: 0.5859 MB / 0.6506 GB, free: 143.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/2.231, allocations: 16.46 MB / 0.6666 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/2.233, allocations: 1.655 MB / 0.6683 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005097/2.238, allocations: 1.449 MB / 0.6697 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/2.24, allocations: 0.7961 MB / 0.6704 GB, free: 123.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.094e-06/2.24, allocations: 1.094 kB / 0.6705 GB, free: 123.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6094/2.849, allocations: 124.3 MB / 0.7919 GB, free: 169.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/2.849, allocations: 280.6 kB / 0.7921 GB, free: 169.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.39/12.24, allocations: 7.906 kB / 0.7922 GB, free: 169.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat