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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01113/0.01114, allocations: 106.8 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.001284/0.001284, allocations: 185.2 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.059/2.059, allocations: 194.5 MB / 211.3 MB, free: 11.28 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.275/0.275, allocations: 40.04 MB / 296.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006662, allocations: 12 kB / 361.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1392, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.397/0.5363, allocations: 60.53 MB / 476.6 MB, free: 31.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03487/0.5712, allocations: 21.59 MB / 498.2 MB, free: 17.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.5734, allocations: 52.47 kB / 498.2 MB, free: 17.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.5765, allocations: 0.6766 MB / 498.9 MB, free: 16.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02093/0.5974, allocations: 5.058 MB / 0.4921 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01567/0.6132, allocations: 3.582 MB / 0.4956 GB, free: 12.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005377/0.6186, allocations: 2.064 MB / 0.4976 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.6209, allocations: 0.8526 MB / 0.4985 GB, free: 10.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.6256, allocations: 1.26 MB / 0.4997 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0423/0.6679, allocations: 14.91 MB / 0.5143 GB, free: 8.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000607/0.6686, allocations: 76 kB / 0.5143 GB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03086/0.6995, allocations: 11.1 MB / 0.5252 GB, free: 13.92 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.7007, allocations: 398.8 kB / 0.5256 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009767/0.7017, allocations: 325 kB / 0.5259 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.716, allocations: 4.775 MB / 0.5305 GB, free: 8.418 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7161, allocations: 0 / 0.5305 GB, free: 8.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7161, allocations: 0 / 0.5305 GB, free: 8.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.934e-05/0.7162, allocations: 0 / 0.5305 GB, free: 8.418 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.0136/0.7298, allocations: 2.56 MB / 0.533 GB, free: 5.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.7299, allocations: 12.03 kB / 0.533 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006661/0.7305, allocations: 173.1 kB / 0.5332 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00639/0.7369, allocations: 0.5914 MB / 0.5338 GB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.74, allocations: 0.9877 MB / 0.5348 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.7402, allocations: 90.14 kB / 0.5348 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/0.7406, allocations: 104 kB / 0.5349 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008804/0.7494, allocations: 2.245 MB / 0.5371 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.7495, allocations: 7.938 kB / 0.5371 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.7498, allocations: 47.98 kB / 0.5372 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.75, allocations: 86 kB / 0.5373 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.7601, allocations: 2.377 MB / 0.5396 GB, free: 14.91 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.02088/0.7811, allocations: 9.039 MB / 0.5484 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/0.7891, allocations: 1.785 MB / 0.5502 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06476/0.8539, allocations: 19 MB / 0.5687 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/0.854, allocations: 51.52 kB / 0.5688 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001338/0.8554, allocations: 158.9 kB / 0.5689 GB, free: 13.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 4.949e-06/0.8554, allocations: 0 / 0.5689 GB, free: 13.91 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.1956/1.051, allocations: 16.51 MB / 0.585 GB, free: 13.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.051, allocations: 222.9 kB / 0.5852 GB, free: 12.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.053, allocations: 0.8689 MB / 0.5861 GB, free: 12.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005907/1.054, allocations: 53.7 kB / 0.5861 GB, free: 11.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/1.054, allocations: 0.597 MB / 0.5867 GB, free: 11.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.055, allocations: 0.5314 MB / 0.5873 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/1.056, allocations: 32 kB / 0.5873 GB, free: 10.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/1.056, allocations: 373.9 kB / 0.5876 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008126/1.064, allocations: 1.507 MB / 0.5891 GB, free: 8.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008607/1.073, allocations: 1.964 MB / 0.591 GB, free: 6.781 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008728/1.082, allocations: 1.622 MB / 0.5926 GB, free: 5.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/1.082, allocations: 11.94 kB / 0.5926 GB, free: 5.148 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02657/1.108, allocations: 4.803 MB / 0.5973 GB, free: 336 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001971/1.11, allocations: 4.793 MB / 0.602 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/1.11, allocations: 15.95 kB / 0.602 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.182/1.292, allocations: 8.122 MB / 0.6099 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/1.295, allocations: 371.4 kB / 0.6103 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/1.326, allocations: 5.171 MB / 0.6153 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/1.333, allocations: 239.7 kB / 0.6156 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/1.334, allocations: 139.8 kB / 0.6157 GB, free: 13.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.334, allocations: 4 kB / 0.6157 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02828/1.362, allocations: 4.582 MB / 0.6202 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-05/1.362, allocations: 12 kB / 0.6202 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/1.385, allocations: 3.08 MB / 0.6232 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.389, allocations: 435.4 kB / 0.6236 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02859/1.418, allocations: 4.469 MB / 0.628 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007745/1.425, allocations: 239.6 kB / 0.6282 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.426, allocations: 135.8 kB / 0.6283 GB, free: 80 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.3344/1.761, allocations: 485.4 kB / 0.6288 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/1.762, allocations: 137.1 kB / 0.6289 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03489/1.796, allocations: 9.132 MB / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/1.797, allocations: 63.73 kB / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.797, allocations: 5.531 kB / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/1.797, allocations: 6.797 kB / 0.6379 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09909/1.896, allocations: 12.34 MB / 0.65 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.088e-05/1.896, allocations: 2.938 kB / 0.65 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.899, allocations: 268.8 kB / 0.6502 GB, free: 153.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1825/2.082, allocations: 8.467 MB / 0.6585 GB, free: 152.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000552/2.083, allocations: 64.34 kB / 0.6586 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02797/2.111, allocations: 5.75 MB / 0.6642 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/2.111, allocations: 9.766 kB / 0.6642 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05481/2.166, allocations: 7.345 MB / 0.6714 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/2.169, allocations: 0.6803 MB / 0.672 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.17, allocations: 35.17 kB / 0.6721 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007719/2.178, allocations: 220.5 kB / 0.6723 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001121/2.179, allocations: 137 kB / 0.6724 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007651/2.18, allocations: 75.12 kB / 0.6725 GB, free: 146.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002606/2.183, allocations: 0.7603 MB / 0.6732 GB, free: 146.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.806e-06/2.183, allocations: 0 / 0.6732 GB, free: 146.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01415/2.197, 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.05918/2.256, allocations: 9.653 MB / 0.6847 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.05581/2.312, allocations: 6.65 MB / 0.6912 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/2.312, allocations: 0 / 0.6912 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0169/2.329, allocations: 2.956 MB / 0.6941 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005398/2.334, allocations: 0.596 MB / 0.6946 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/2.357, allocations: 16.44 MB / 0.7107 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/2.358, allocations: 1.652 MB / 0.7123 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004588/2.363, allocations: 1.453 MB / 0.7137 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/2.364, allocations: 0.7919 MB / 0.7145 GB, free: 109.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/2.364, allocations: 4 kB / 0.7145 GB, free: 109.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5828/2.947, allocations: 124.6 MB / 0.8362 GB, free: 153.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/2.947, allocations: 287.5 kB / 0.8365 GB, free: 152.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.561/12.51, allocations: 1.125 kB / 0.8365 GB, free: 152.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat