Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",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.01123/0.01123, allocations: 106.9 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.001261/0.001261, allocations: 182.3 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.103/2.103, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.2659/0.2659, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05688/0.1722, allocations: 32.95 MB / 449 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4095/0.5818, allocations: 17.18 MB / 466.2 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5829, allocations: 23.5 kB / 466.2 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.5845, allocations: 382 kB / 466.6 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.6, allocations: 3.995 MB / 470.5 MB, free: 31.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008612/0.6087, allocations: 2.109 MB / 472.7 MB, free: 31.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.6112, allocations: 1.162 MB / 473.8 MB, free: 31.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.612, allocations: 415.8 kB / 474.2 MB, free: 31.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01665/0.6287, allocations: 6.288 MB / 480.5 MB, free: 31.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02391/0.6527, allocations: 8.765 MB / 489.3 MB, free: 31.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.653, allocations: 34.78 kB / 489.3 MB, free: 31.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02155/0.6746, allocations: 7.176 MB / 496.5 MB, free: 30.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.6752, allocations: 230.1 kB / 496.7 MB, free: 30.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.6757, allocations: 189.2 kB / 496.9 MB, free: 30.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.6859, allocations: 3.461 MB / 0.4886 GB, free: 29.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.686, allocations: 0 / 0.4886 GB, free: 29.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.686, allocations: 0 / 0.4886 GB, free: 29.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.686, allocations: 4 kB / 0.4886 GB, free: 29.88 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006352/0.6924, allocations: 1.495 MB / 0.4901 GB, free: 28.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6925, allocations: 8.281 kB / 0.4901 GB, free: 28.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.6927, allocations: 113.3 kB / 0.4902 GB, free: 28.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.6957, allocations: 317.8 kB / 0.4905 GB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.697, allocations: 0.5485 MB / 0.491 GB, free: 28.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.6971, allocations: 112.1 kB / 0.4912 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.6973, allocations: 57.38 kB / 0.4912 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.7006, allocations: 1.169 MB / 0.4924 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.7007, allocations: 6.656 kB / 0.4924 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.7008, allocations: 31.31 kB / 0.4924 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-05/0.7009, allocations: 47.06 kB / 0.4924 GB, free: 27.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.7034, allocations: 0.8397 MB / 0.4933 GB, free: 27.49 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.008044/0.7115, allocations: 5.489 MB / 0.4986 GB, free: 23.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.7132, allocations: 0.5702 MB / 0.4992 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1894/0.9026, allocations: 49.71 MB / 0.5477 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/0.9027, allocations: 44.14 kB / 0.5478 GB, free: 15.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 5.42e-06/0.9028, allocations: 0 / 0.5478 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.01334/0.9161, allocations: 1.941 MB / 0.5497 GB, free: 13.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.9163, allocations: 158.2 kB / 0.5498 GB, free: 13.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.9182, allocations: 0.6016 MB / 0.5504 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.9184, allocations: 37.64 kB / 0.5504 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/0.919, allocations: 408.7 kB / 0.5508 GB, free: 12.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.9194, allocations: 172.8 kB / 0.551 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.9196, allocations: 20.03 kB / 0.551 GB, free: 11.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002683/0.9198, allocations: 374.8 kB / 0.5514 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.921, allocations: 225.9 kB / 0.5516 GB, free: 11.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.9226, allocations: 0.5912 MB / 0.5522 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.9242, allocations: 328.6 kB / 0.5525 GB, free: 10.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.9242, allocations: 8 kB / 0.5525 GB, free: 10.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004186/0.9284, allocations: 0.8906 MB / 0.5533 GB, free: 9.285 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.9286, allocations: 12 kB / 0.5534 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.9286, allocations: 12 kB / 0.5534 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.9294, allocations: 67.89 kB / 0.5534 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.9333, allocations: 292 kB / 0.5537 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.9366, allocations: 1.981 MB / 0.5556 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.9384, allocations: 64.11 kB / 0.5557 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.9386, allocations: 44 kB / 0.5558 GB, free: 6.672 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008842/0.9395, allocations: 273.9 kB / 0.556 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.9399, allocations: 75.2 kB / 0.5561 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/0.9472, allocations: 2.216 MB / 0.5582 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.9473, allocations: 31.95 kB / 0.5583 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9474, allocations: 0 / 0.5583 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.9474, allocations: 7.938 kB / 0.5583 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006684/0.9541, allocations: 3.28 MB / 0.5615 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.9541, allocations: 0 / 0.5615 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.956, allocations: 193.4 kB / 0.5617 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006529/0.9567, allocations: 84.77 kB / 0.5618 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.9568, allocations: 15.95 kB / 0.5618 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.959, allocations: 1.999 MB / 0.5637 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.959, allocations: 3.438 kB / 0.5637 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/0.9628, allocations: 1.991 MB / 0.5657 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/0.9635, allocations: 283.2 kB / 0.5659 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.9637, allocations: 16.16 kB / 0.566 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9647, allocations: 53.27 kB / 0.566 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.9649, allocations: 36.33 kB / 0.566 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.965, allocations: 23.98 kB / 0.5661 GB, free: 11.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.966, allocations: 0.4951 MB / 0.5665 GB, free: 11.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.966, allocations: 0 / 0.5665 GB, free: 11.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005533/0.9716, allocations: 1.085 MB / 0.5676 GB, free: 10.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01368/0.9853, allocations: 3.736 MB / 0.5713 GB, free: 6.598 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.9885, allocations: 0.9398 MB / 0.5722 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.9885, allocations: 3.938 kB / 0.5722 GB, free: 5.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.9906, allocations: 0.6677 MB / 0.5728 GB, free: 4.988 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.9938, allocations: 355.8 kB / 0.5732 GB, free: 4.652 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.012, allocations: 13.75 MB / 0.5866 GB, free: 6.605 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.013, allocations: 1.137 MB / 0.5877 GB, free: 5.445 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001632/1.015, allocations: 445.2 kB / 0.5881 GB, free: 5.008 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/1.015, allocations: 387.3 kB / 0.5885 GB, free: 4.633 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/1.015, allocations: 0 / 0.5885 GB, free: 4.633 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4768/1.492, allocations: 55.16 MB / 0.6424 GB, free: 161.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.493, allocations: 286.8 kB / 0.6426 GB, free: 161.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.227/7.719, allocations: 0 / 0.6426 GB, free: 161.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat