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.Water.WaterIF97_ph.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.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_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.1/package.mo): time 0.01819/0.0182, allocations: 105 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.002629/0.002629, allocations: 166.5 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.682/1.682, allocations: 170.9 MB / 187.5 MB, free: 1 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.2573/0.2573, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006283, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09243, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05458/0.1471, allocations: 32.69 MB / 405 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03165/0.1788, allocations: 17.02 MB / 422 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.1799, allocations: 27.75 kB / 422.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.1816, allocations: 394.1 kB / 422.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.1982, allocations: 3.942 MB / 426.4 MB, free: 6.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008456/0.2067, allocations: 2.076 MB / 428.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002662/0.2094, allocations: 1.138 MB / 429.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009105/0.2103, allocations: 413.2 kB / 430 MB, free: 3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3223/0.5326, allocations: 6.199 MB / 436.2 MB, free: 16.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02575/0.5584, allocations: 8.679 MB / 444.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.5588, allocations: 35.41 kB / 444.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/0.5772, allocations: 7.063 MB / 452 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.5778, allocations: 222.8 kB / 452.2 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.5782, allocations: 188.5 kB / 452.4 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008286/0.5865, allocations: 3.406 MB / 455.8 MB, free: 16.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5866, allocations: 0 / 455.8 MB, free: 16.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5866, allocations: 1.969 kB / 455.8 MB, free: 16.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5866, allocations: 3.844 kB / 455.8 MB, free: 16.39 MB / 330.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.005903/0.5926, allocations: 1.518 MB / 457.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5926, allocations: 12.03 kB / 457.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002718/0.5929, allocations: 115.8 kB / 457.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.5961, allocations: 305.4 kB / 457.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5976, allocations: 0.5321 MB / 458.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.5978, allocations: 118.9 kB / 458.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.598, allocations: 69 kB / 458.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.6019, allocations: 1.198 MB / 459.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.602, allocations: 3.75 kB / 459.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6022, allocations: 33.55 kB / 459.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.461e-05/0.6023, allocations: 46.72 kB / 459.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.6066, allocations: 1.059 MB / 460.8 MB, free: 12.89 MB / 330.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.008946/0.6155, allocations: 5.61 MB / 466.4 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/0.6193, allocations: 0.8032 MB / 467.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07532/0.6946, allocations: 18.96 MB / 486.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/0.6948, allocations: 37.81 kB / 486.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.788e-06/0.6948, allocations: 0 / 486.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.01555/0.7104, allocations: 2.356 MB / 488.5 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7105, allocations: 161.8 kB / 488.7 MB, free: 72 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.7121, allocations: 0.6032 MB / 489.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.7122, allocations: 36.77 kB / 489.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.7127, allocations: 400.1 kB / 489.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.713, allocations: 176.9 kB / 489.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.7131, allocations: 20.06 kB / 489.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002608/0.7134, allocations: 374.9 kB / 490.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.715, allocations: 290.2 kB / 490.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.717, allocations: 0.6384 MB / 491.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.7189, allocations: 385.7 kB / 491.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.7189, allocations: 4 kB / 491.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00452/0.7234, allocations: 1.012 MB / 492.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.7235, allocations: 9.594 kB / 492.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.7236, allocations: 12 kB / 492.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.7242, allocations: 63.33 kB / 492.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.727, allocations: 319.6 kB / 493 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.7294, allocations: 1.997 MB / 495 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7308, allocations: 81.38 kB / 495.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7309, allocations: 45.67 kB / 495.1 MB, free: 10.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0006082/0.7315, allocations: 274.8 kB / 495.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.7318, allocations: 71.16 kB / 495.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005141/0.7369, allocations: 2.609 MB / 498.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/0.737, allocations: 33.45 kB / 498.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.737, allocations: 3.328 kB / 498.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.7371, allocations: 3.984 kB / 498.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007352/0.7444, allocations: 3.778 MB / 0.4901 GB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.7445, allocations: 8 kB / 0.4901 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/0.7468, allocations: 234.9 kB / 0.4904 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/0.7474, allocations: 96.58 kB / 0.4904 GB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.7475, allocations: 10.5 kB / 0.4905 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.7496, allocations: 2.002 MB / 0.4924 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7496, allocations: 0 / 0.4924 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/0.7547, allocations: 2.384 MB / 0.4947 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.7554, allocations: 321.8 kB / 0.495 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7556, allocations: 14.31 kB / 0.4951 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/0.7566, allocations: 61.52 kB / 0.4951 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.7568, allocations: 55.03 kB / 0.4952 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.7569, allocations: 22.73 kB / 0.4952 GB, free: 1.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.758, allocations: 0.5506 MB / 0.4957 GB, free: 1.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.758, allocations: 0 / 0.4957 GB, free: 1.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004617/0.7627, allocations: 1.088 MB / 0.4968 GB, free: 4 kB / 362.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01348/0.7762, allocations: 4.108 MB / 0.5008 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00416/0.7804, allocations: 1.12 MB / 0.5019 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7804, allocations: 0 / 0.5019 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.7832, allocations: 0.8135 MB / 0.5027 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.7865, allocations: 373 kB / 0.5031 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.8067, allocations: 13.88 MB / 0.5166 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.8078, allocations: 1.191 MB / 0.5178 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001676/0.8095, allocations: 438.7 kB / 0.5182 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.8103, allocations: 441.3 kB / 0.5186 GB, free: 12.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8103, allocations: 0 / 0.5186 GB, free: 12.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/0.965, allocations: 56.54 MB / 0.5738 GB, free: 4.145 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004028/0.9654, allocations: 282.8 kB / 0.5741 GB, free: 3.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.097/7.062, allocations: 0 / 0.5741 GB, free: 3.781 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat