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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",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.0158/0.0158, allocations: 104.3 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.1.mo): time 0.001805/0.001804, allocations: 169.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.723/1.723, allocations: 170.9 MB / 187.6 MB, free: 1.004 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.2917/0.2917, allocations: 38.1 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006329, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1047, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.1468/0.2516, allocations: 60.06 MB / 432.4 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3503/0.602, allocations: 21.35 MB / 453.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.6045, allocations: 51.25 kB / 453.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.6077, allocations: 0.6865 MB / 454.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02377/0.6315, allocations: 4.993 MB / 459.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0166/0.6481, allocations: 3.539 MB / 463 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00506/0.6532, allocations: 2.044 MB / 465 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.6554, allocations: 0.8481 MB / 465.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.6599, allocations: 1.243 MB / 467.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04011/0.7, allocations: 14.77 MB / 481.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.7007, allocations: 80 kB / 482 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03312/0.7338, allocations: 10.93 MB / 492.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.7351, allocations: 399 kB / 493.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.7362, allocations: 316.6 kB / 493.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.7512, allocations: 4.704 MB / 498.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7512, allocations: 0 / 498.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.7512, allocations: 4 kB / 498.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.774e-05/0.7513, allocations: 0 / 498.3 MB, free: 7.258 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.01329/0.7646, allocations: 2.509 MB / 0.4891 GB, free: 4.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.7647, allocations: 8.031 kB / 0.4891 GB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006714/0.7654, allocations: 187.4 kB / 0.4892 GB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006501/0.7719, allocations: 0.568 MB / 0.4898 GB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/0.7752, allocations: 0.9846 MB / 0.4908 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.7754, allocations: 89.59 kB / 0.4908 GB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.7759, allocations: 104.6 kB / 0.4909 GB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009134/0.785, allocations: 2.245 MB / 0.4931 GB, free: 448 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.7851, allocations: 7.938 kB / 0.4931 GB, free: 440 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.7854, allocations: 50.91 kB / 0.4932 GB, free: 392 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.7856, allocations: 86 kB / 0.4933 GB, free: 304 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.7963, allocations: 2.379 MB / 0.4956 GB, free: 13.91 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.02018/0.8166, allocations: 9.009 MB / 0.5044 GB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008075/0.8247, allocations: 1.798 MB / 0.5062 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06701/0.8918, allocations: 18.97 MB / 0.5247 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.384e-05/0.8919, allocations: 47.56 kB / 0.5247 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001732/0.8937, allocations: 158.8 kB / 0.5249 GB, free: 13.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 1.141e-05/0.8937, allocations: 0 / 0.5249 GB, free: 13.05 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.2193/1.113, allocations: 16.51 MB / 0.541 GB, free: 12.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.113, allocations: 222.9 kB / 0.5412 GB, free: 12.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/1.115, allocations: 0.8612 MB / 0.5421 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006127/1.116, allocations: 53.7 kB / 0.5421 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/1.116, allocations: 0.6017 MB / 0.5427 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009074/1.117, allocations: 0.5284 MB / 0.5432 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/1.118, allocations: 32 kB / 0.5432 GB, free: 10.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/1.118, allocations: 373.9 kB / 0.5436 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00793/1.126, allocations: 1.507 MB / 0.5451 GB, free: 8.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/1.135, allocations: 1.96 MB / 0.547 GB, free: 6.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00878/1.143, allocations: 1.624 MB / 0.5486 GB, free: 4.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/1.143, allocations: 8 kB / 0.5486 GB, free: 4.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02649/1.17, allocations: 4.8 MB / 0.5533 GB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002213/1.172, allocations: 4.796 MB / 0.558 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/1.172, allocations: 12 kB / 0.558 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.184/1.356, allocations: 8.123 MB / 0.5659 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/1.359, allocations: 371.5 kB / 0.5663 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/1.391, allocations: 5.18 MB / 0.5713 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.398, allocations: 235.7 kB / 0.5715 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009037/1.399, allocations: 135.8 kB / 0.5717 GB, free: 12.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.399, allocations: 7.938 kB / 0.5717 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02848/1.427, allocations: 4.591 MB / 0.5762 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/1.427, allocations: 12 kB / 0.5762 GB, free: 7.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02274/1.45, allocations: 3.076 MB / 0.5792 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/1.454, allocations: 443.3 kB / 0.5796 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02734/1.481, allocations: 4.46 MB / 0.584 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006369/1.488, allocations: 235.7 kB / 0.5842 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007919/1.489, allocations: 135.8 kB / 0.5843 GB, free: 15.32 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.001684/1.49, allocations: 484.3 kB / 0.5848 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000687/1.491, allocations: 138.3 kB / 0.5849 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03645/1.528, allocations: 9.147 MB / 0.5938 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/1.528, allocations: 63.91 kB / 0.5939 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.528, allocations: 0 / 0.5939 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-05/1.528, allocations: 7.969 kB / 0.5939 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3394/1.867, allocations: 12.36 MB / 0.606 GB, free: 176.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/1.867, allocations: 2.75 kB / 0.606 GB, free: 176.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.87, allocations: 266.1 kB / 0.6062 GB, free: 176.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1588/2.029, allocations: 8.473 MB / 0.6145 GB, free: 175.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006532/2.029, allocations: 59.16 kB / 0.6146 GB, free: 175.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/2.056, allocations: 5.753 MB / 0.6202 GB, free: 172.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/2.056, allocations: 5.812 kB / 0.6202 GB, free: 172.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03655/2.092, allocations: 7.348 MB / 0.6274 GB, free: 166.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/2.094, allocations: 0.6867 MB / 0.628 GB, free: 166.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005899/2.095, allocations: 36 kB / 0.6281 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004857/2.1, allocations: 213.9 kB / 0.6283 GB, free: 166.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/2.101, allocations: 129.6 kB / 0.6284 GB, free: 166 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003406/2.101, allocations: 75.92 kB / 0.6285 GB, free: 165.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001483/2.102, allocations: 0.7631 MB / 0.6292 GB, free: 165.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.102, allocations: 0 / 0.6292 GB, free: 165.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008721/2.111, allocations: 2.077 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.0457/2.157, allocations: 9.645 MB / 0.6407 GB, free: 153.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04241/2.199, allocations: 6.643 MB / 0.6471 GB, free: 147.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/2.199, allocations: 0 / 0.6471 GB, free: 147.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01655/2.216, allocations: 2.953 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.005367/2.221, allocations: 0.5898 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.02287/2.244, allocations: 16.46 MB / 0.6667 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/2.246, allocations: 1.643 MB / 0.6683 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004677/2.25, allocations: 1.454 MB / 0.6697 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/2.252, allocations: 0.7961 MB / 0.6705 GB, free: 123.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/2.252, allocations: 4 kB / 0.6705 GB, free: 123.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5463/2.798, 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.0002766/2.798, allocations: 278.3 kB / 0.7922 GB, free: 169.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/12.12, allocations: 1.422 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_laminar_res.mat does not exist to compare? outputFormat=mat