Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01203/0.01203, allocations: 108.7 kB / 15.06 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.2.mo): time 0.001425/0.001425, allocations: 180.5 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.097/2.097, allocations: 194.5 MB / 211.3 MB, free: 10.95 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2778/0.2778, allocations: 40.05 MB / 296.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007209/0.0007212, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1278, allocations: 54.89 MB / 416 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.4382/0.566, allocations: 60.52 MB / 476.6 MB, free: 31.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03557/0.6017, allocations: 21.59 MB / 498.1 MB, free: 17.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.6039, allocations: 49.84 kB / 498.2 MB, free: 17.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003209/0.6072, allocations: 0.6852 MB / 498.9 MB, free: 16.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02161/0.6288, allocations: 5.053 MB / 0.4921 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01599/0.6449, allocations: 3.586 MB / 0.4956 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.6501, allocations: 2.064 MB / 0.4976 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.6524, allocations: 0.8553 MB / 0.4985 GB, free: 10.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.6573, allocations: 1.263 MB / 0.4997 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0418/0.6991, allocations: 14.9 MB / 0.5143 GB, free: 8.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005354/0.6997, allocations: 80 kB / 0.5143 GB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.031/0.7307, allocations: 11.1 MB / 0.5252 GB, free: 13.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.732, allocations: 398.8 kB / 0.5256 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009867/0.733, allocations: 325 kB / 0.5259 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.7467, allocations: 4.775 MB / 0.5305 GB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7468, allocations: 0 / 0.5305 GB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.7468, allocations: 0 / 0.5305 GB, free: 8.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.912e-05/0.7469, allocations: 0 / 0.5305 GB, free: 8.41 MB / 394.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.0132/0.7601, allocations: 2.563 MB / 0.533 GB, free: 5.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.7601, allocations: 12.02 kB / 0.5331 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006918/0.7609, allocations: 169.2 kB / 0.5332 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/0.7675, allocations: 0.5914 MB / 0.5338 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.7707, allocations: 0.9881 MB / 0.5348 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.7709, allocations: 90.14 kB / 0.5348 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.7713, allocations: 108 kB / 0.5349 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008657/0.78, allocations: 2.237 MB / 0.5371 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.7801, allocations: 7.938 kB / 0.5371 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.7803, allocations: 51.98 kB / 0.5372 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.7805, allocations: 82 kB / 0.5373 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009825/0.7904, allocations: 2.381 MB / 0.5396 GB, free: 14.89 MB / 410.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.01921/0.8096, allocations: 9.035 MB / 0.5484 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008979/0.8187, allocations: 1.787 MB / 0.5502 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06519/0.8839, allocations: 18.99 MB / 0.5687 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.031e-05/0.884, allocations: 51.52 kB / 0.5688 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001363/0.8854, allocations: 166.9 kB / 0.5689 GB, free: 13.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 4.869e-06/0.8854, allocations: 0 / 0.5689 GB, free: 13.89 MB / 442.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.1981/1.084, allocations: 16.5 MB / 0.585 GB, free: 13.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/1.084, allocations: 230.9 kB / 0.5853 GB, free: 12.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/1.086, allocations: 0.8611 MB / 0.5861 GB, free: 12.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005591/1.086, allocations: 57.7 kB / 0.5861 GB, free: 11.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/1.087, allocations: 0.5892 MB / 0.5867 GB, free: 11.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009044/1.088, allocations: 0.5353 MB / 0.5872 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/1.088, allocations: 36 kB / 0.5873 GB, free: 10.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/1.088, allocations: 373.9 kB / 0.5876 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007967/1.096, allocations: 1.499 MB / 0.5891 GB, free: 8.934 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00869/1.105, allocations: 1.968 MB / 0.591 GB, free: 6.781 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008876/1.114, allocations: 1.626 MB / 0.5926 GB, free: 5.156 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/1.114, allocations: 7.938 kB / 0.5926 GB, free: 5.148 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02685/1.141, allocations: 4.803 MB / 0.5973 GB, free: 336 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002318/1.143, allocations: 4.797 MB / 0.602 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/1.143, allocations: 15.95 kB / 0.602 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1842/1.328, allocations: 8.121 MB / 0.6099 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/1.331, allocations: 371.4 kB / 0.6103 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03127/1.362, allocations: 5.171 MB / 0.6153 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/1.368, allocations: 240.7 kB / 0.6156 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006454/1.369, allocations: 135.8 kB / 0.6157 GB, free: 13.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.369, allocations: 4 kB / 0.6157 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.028/1.397, allocations: 4.588 MB / 0.6202 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-05/1.397, allocations: 12 kB / 0.6202 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0303/1.427, allocations: 3.069 MB / 0.6232 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/1.433, allocations: 439.4 kB / 0.6236 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03983/1.472, allocations: 4.473 MB / 0.628 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/1.484, allocations: 231.7 kB / 0.6282 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006764/1.485, allocations: 135.8 kB / 0.6283 GB, free: 72 kB / 490.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.3182/1.803, allocations: 489.9 kB / 0.6288 GB, free: 159.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/1.804, allocations: 137.3 kB / 0.6289 GB, free: 159.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06471/1.868, allocations: 9.128 MB / 0.6378 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/1.869, allocations: 67.34 kB / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.869, allocations: 0 / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/1.869, allocations: 13.48 kB / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08837/1.957, allocations: 12.35 MB / 0.65 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/1.957, allocations: 2.844 kB / 0.65 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/1.96, allocations: 270.5 kB / 0.6502 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.165/2.125, allocations: 8.457 MB / 0.6585 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007816/2.126, allocations: 63.95 kB / 0.6586 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/2.154, allocations: 5.752 MB / 0.6642 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/2.154, allocations: 9.422 kB / 0.6642 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0395/2.193, allocations: 7.348 MB / 0.6714 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/2.196, allocations: 0.6765 MB / 0.672 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006723/2.196, allocations: 38.36 kB / 0.6721 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005191/2.201, allocations: 217.8 kB / 0.6723 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006628/2.202, allocations: 136.1 kB / 0.6724 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003713/2.203, allocations: 74.36 kB / 0.6725 GB, free: 146.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001456/2.204, allocations: 0.764 MB / 0.6732 GB, free: 146 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.204, allocations: 0 / 0.6732 GB, free: 146 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008726/2.213, allocations: 2.084 MB / 0.6753 GB, free: 145.9 MB / 490.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.06229/2.275, allocations: 9.65 MB / 0.6847 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.05387/2.329, allocations: 6.644 MB / 0.6912 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/2.329, allocations: 0 / 0.6912 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01661/2.346, allocations: 2.949 MB / 0.694 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005578/2.351, allocations: 0.5921 MB / 0.6946 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/2.375, allocations: 16.46 MB / 0.7107 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/2.376, allocations: 1.65 MB / 0.7123 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004549/2.38, allocations: 1.448 MB / 0.7137 GB, free: 110.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/2.382, allocations: 0.8 MB / 0.7145 GB, free: 109.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.153e-06/2.382, allocations: 0 / 0.7145 GB, free: 109.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.571/2.953, allocations: 124.7 MB / 0.8362 GB, free: 152.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/2.953, allocations: 281.8 kB / 0.8365 GB, free: 152.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/12.45, allocations: 1.062 kB / 0.8365 GB, free: 152.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat