Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.425e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3822, allocations: 54.86 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.96/8.342, allocations: 2.625 GB / 2.981 GB, free: 120.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/8.342, allocations: 93.41 kB / 2.981 GB, free: 120.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.433/10.78, allocations: 0.4884 GB / 3.47 GB, free: 26.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/10.78, allocations: 4 kB / 3.47 GB, free: 26.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.345e-05/10.78, allocations: 12 kB / 3.47 GB, free: 26.57 MB / 490.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.009359/10.78, allocations: 1.698 MB / 3.471 GB, free: 24.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/10.78, allocations: 8.031 kB / 3.471 GB, free: 24.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002777/10.79, allocations: 115.8 kB / 3.471 GB, free: 24.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/10.79, allocations: 234 kB / 3.472 GB, free: 24.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/10.79, allocations: 0.5853 MB / 3.472 GB, free: 23.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/10.79, allocations: 116.6 kB / 3.472 GB, free: 23.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/10.79, allocations: 56 kB / 3.472 GB, free: 23.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/10.79, allocations: 1.08 MB / 3.473 GB, free: 22.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/10.79, allocations: 3.938 kB / 3.473 GB, free: 22.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/10.8, allocations: 32 kB / 3.473 GB, free: 22.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/10.8, allocations: 43.98 kB / 3.474 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/10.8, allocations: 0.8194 MB / 3.474 GB, free: 21.6 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01002/10.81, allocations: 5.529 MB / 3.48 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/10.81, allocations: 0.5427 MB / 3.48 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/10.81, allocations: 205 kB / 3.48 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5783/11.39, allocations: 53.54 MB / 3.533 GB, free: 49.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/11.39, allocations: 36.75 kB / 3.533 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 4.057e-06/11.39, allocations: 0 / 3.533 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.00868/11.4, allocations: 1.99 MB / 3.535 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/11.4, allocations: 185.9 kB / 3.535 GB, free: 49.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/11.4, allocations: 0.5381 MB / 3.535 GB, free: 48.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/11.4, allocations: 34.58 kB / 3.535 GB, free: 48.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/11.4, allocations: 443 kB / 3.536 GB, free: 48.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/11.4, allocations: 159.9 kB / 3.536 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/11.4, allocations: 20.28 kB / 3.536 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/11.4, allocations: 346.2 kB / 3.536 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/11.4, allocations: 222.7 kB / 3.537 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/11.4, allocations: 0.5993 MB / 3.537 GB, free: 47.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/11.4, allocations: 350.1 kB / 3.537 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/11.4, allocations: 7.312 kB / 3.537 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002013/11.41, allocations: 0.8561 MB / 3.538 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/11.41, allocations: 12.19 kB / 3.538 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/11.41, allocations: 11.22 kB / 3.538 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006576/11.41, allocations: 272.9 kB / 3.539 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/11.41, allocations: 289.1 kB / 3.539 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/11.42, allocations: 2.021 MB / 3.541 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/11.42, allocations: 64.72 kB / 3.541 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/11.42, allocations: 38.38 kB / 3.541 GB, free: 45.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/11.42, allocations: 180.9 kB / 3.541 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/11.42, allocations: 71.03 kB / 3.541 GB, free: 45.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/11.42, allocations: 2.008 MB / 3.543 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/11.42, allocations: 25.66 kB / 3.543 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/11.42, allocations: 0 / 3.543 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/11.42, allocations: 3.562 kB / 3.543 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/11.43, allocations: 2.982 MB / 3.546 GB, free: 45.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/11.43, allocations: 3.969 kB / 3.546 GB, free: 45.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/11.43, allocations: 181.8 kB / 3.546 GB, free: 45.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/11.43, allocations: 293.1 kB / 3.547 GB, free: 45.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/11.43, allocations: 11.84 kB / 3.547 GB, free: 45.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/11.43, allocations: 2.081 MB / 3.549 GB, free: 43.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/11.43, allocations: 3.953 kB / 3.549 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/11.43, allocations: 1.931 MB / 3.55 GB, free: 42.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/11.44, allocations: 286.4 kB / 3.551 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/11.44, allocations: 16.98 kB / 3.551 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/11.44, allocations: 37.66 kB / 3.551 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/11.44, allocations: 34.23 kB / 3.551 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/11.44, allocations: 18.86 kB / 3.551 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009663/11.44, allocations: 0.5424 MB / 3.551 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/11.44, allocations: 0 / 3.551 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005723/11.44, allocations: 1.141 MB / 3.553 GB, free: 42.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01132/11.45, allocations: 4.082 MB / 3.556 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002776/11.46, allocations: 0.8962 MB / 3.557 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/11.46, allocations: 0 / 3.557 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/11.46, allocations: 0.6127 MB / 3.558 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/11.46, allocations: 360.5 kB / 3.558 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/11.47, allocations: 2.198 MB / 3.56 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/11.47, allocations: 1.109 MB / 3.562 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/11.47, allocations: 386.5 kB / 3.562 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.542e-06/11.47, allocations: 0 / 3.562 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.984/15.45, allocations: 44.25 MB / 3.605 GB, free: 37.33 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat