Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.01098/0.01098, allocations: 103.8 kB / 15.05 MB, free: 6.027 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.001169/0.001169, allocations: 174.7 kB / 15.94 MB, free: 5.961 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.647/1.647, allocations: 170.9 MB / 187.5 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.277/0.277, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004575, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09033, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05721/0.1476, allocations: 34.22 MB / 406.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008698/0.1564, allocations: 4.117 MB / 410.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009153/0.1573, allocations: 27.75 kB / 410.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.1586, allocations: 270.6 kB / 410.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.1616, allocations: 0.712 MB / 411.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.1648, allocations: 0.6899 MB / 412.3 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.1673, allocations: 1.028 MB / 413.4 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.1682, allocations: 381.4 kB / 413.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4735/0.6417, allocations: 70.97 MB / 484.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03787/0.6797, allocations: 13.24 MB / 497.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.6799, allocations: 32 kB / 498 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0531/0.7331, allocations: 18.13 MB / 0.504 GB, free: 15.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005599/0.7337, allocations: 206.5 kB / 0.5042 GB, free: 15.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.734, allocations: 169.1 kB / 0.5044 GB, free: 15.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.7354, allocations: 0.7646 MB / 0.5051 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7354, allocations: 0 / 0.5051 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7354, allocations: 0 / 0.5051 GB, free: 14.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.7355, allocations: 0 / 0.5051 GB, free: 14.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002803/0.7383, allocations: 0.9137 MB / 0.506 GB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7384, allocations: 12.02 kB / 0.506 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.7386, allocations: 102 kB / 0.5061 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/0.739, allocations: 83.16 kB / 0.5062 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.7403, allocations: 0.4974 MB / 0.5067 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.7404, allocations: 102.3 kB / 0.5068 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.7406, allocations: 47.72 kB / 0.5068 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.7425, allocations: 0.8163 MB / 0.5076 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.7425, allocations: 2.906 kB / 0.5076 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.7427, allocations: 27.27 kB / 0.5077 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.955e-05/0.7428, allocations: 36.73 kB / 0.5077 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.7445, allocations: 0.639 MB / 0.5083 GB, free: 11.99 MB / 378.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.007082/0.7516, allocations: 4.217 MB / 0.5124 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.753, allocations: 405.3 kB / 0.5128 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/0.7537, allocations: 0.4991 MB / 0.5133 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.7537, allocations: 48.78 kB / 0.5133 GB, free: 7.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 3.156e-06/0.7537, allocations: 0 / 0.5133 GB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.004846/0.7586, allocations: 1.502 MB / 0.5148 GB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.7587, allocations: 136.5 kB / 0.5149 GB, free: 5.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.7597, allocations: 0.5531 MB / 0.5155 GB, free: 5.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.7598, allocations: 32.77 kB / 0.5155 GB, free: 5.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.7602, allocations: 364.2 kB / 0.5159 GB, free: 5.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.7604, allocations: 162.6 kB / 0.516 GB, free: 5.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.7604, allocations: 20.59 kB / 0.516 GB, free: 5.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7607, allocations: 375.3 kB / 0.5164 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.7613, allocations: 226.9 kB / 0.5166 GB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.7623, allocations: 0.5324 MB / 0.5171 GB, free: 3.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.7631, allocations: 320.2 kB / 0.5174 GB, free: 3.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.7631, allocations: 8 kB / 0.5174 GB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003059/0.7662, allocations: 0.9751 MB / 0.5184 GB, free: 3.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.7663, allocations: 11.95 kB / 0.5184 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.7663, allocations: 12 kB / 0.5184 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.7681, allocations: 261.5 kB / 0.5187 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.7689, allocations: 136.2 kB / 0.5188 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.7703, allocations: 0.858 MB / 0.5196 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.7713, allocations: 50.08 kB / 0.5197 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.7714, allocations: 31.62 kB / 0.5197 GB, free: 1.887 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004833/0.7719, allocations: 256.6 kB / 0.52 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.772, allocations: 68.84 kB / 0.52 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.7741, allocations: 0.7005 MB / 0.5207 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.7742, allocations: 4 kB / 0.5207 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7742, allocations: 8 kB / 0.5207 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.7742, allocations: 3.984 kB / 0.5207 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.7776, allocations: 1.4 MB / 0.5221 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7777, allocations: 0 / 0.5221 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.7796, allocations: 189.7 kB / 0.5223 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.7802, allocations: 64.81 kB / 0.5223 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/0.7803, allocations: 18.92 kB / 0.5224 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.7836, allocations: 2.807 MB / 0.5251 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7837, allocations: 3.188 kB / 0.5251 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.7862, allocations: 1.064 MB / 0.5261 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.7868, allocations: 209.3 kB / 0.5263 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7869, allocations: 15.64 kB / 0.5264 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006874/0.7876, allocations: 22.11 kB / 0.5264 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.7878, allocations: 41.7 kB / 0.5264 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.7879, allocations: 22.61 kB / 0.5264 GB, free: 11.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006819/0.7886, allocations: 377.3 kB / 0.5268 GB, free: 11.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7886, allocations: 1.859 kB / 0.5268 GB, free: 11.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001237/0.7898, allocations: 212.9 kB / 0.527 GB, free: 11.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003512/0.7934, allocations: 2.211 MB / 0.5292 GB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.7953, allocations: 0.6072 MB / 0.5298 GB, free: 8.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7953, allocations: 2.844 kB / 0.5298 GB, free: 8.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.7973, allocations: 490.3 kB / 0.5302 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.7999, allocations: 300.6 kB / 0.5305 GB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.8129, allocations: 11.07 MB / 0.5413 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.8136, allocations: 0.9505 MB / 0.5422 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001269/0.8149, allocations: 214.5 kB / 0.5424 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.8154, allocations: 232.5 kB / 0.5427 GB, free: 12.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.364e-06/0.8154, allocations: 0 / 0.5427 GB, free: 12.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06824/0.8836, allocations: 19.4 MB / 0.5616 GB, free: 9.316 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004288/0.8841, allocations: 291.4 kB / 0.5619 GB, free: 8.957 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/3.943, allocations: 0 / 0.5619 GB, free: 8.957 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat