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_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.764e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3399, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.655/7.995, allocations: 2.626 GB / 2.976 GB, free: 125.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/7.995, allocations: 92.81 kB / 2.976 GB, free: 125.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.401/10.4, allocations: 497.3 MB / 3.461 GB, free: 20.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.425e-06/10.4, allocations: 0 / 3.461 GB, free: 20.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.651e-05/10.4, allocations: 16 kB / 3.461 GB, free: 20.23 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.007897/10.4, allocations: 1.756 MB / 3.463 GB, free: 18.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/10.4, allocations: 12.03 kB / 3.463 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/10.41, allocations: 322.7 kB / 3.464 GB, free: 18.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/10.41, allocations: 0.6153 MB / 3.464 GB, free: 17.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/10.41, allocations: 88.72 kB / 3.464 GB, free: 17.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/10.41, allocations: 43.95 kB / 3.464 GB, free: 17.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/10.41, allocations: 0.6976 MB / 3.465 GB, free: 16.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/10.41, allocations: 0.8916 MB / 3.466 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/10.41, allocations: 7.938 kB / 3.466 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/10.41, allocations: 4 kB / 3.466 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/10.41, allocations: 41.3 kB / 3.466 GB, free: 15.59 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.514/10.93, allocations: 52.85 MB / 3.517 GB, free: 28.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/10.93, allocations: 387.6 kB / 3.518 GB, free: 28.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/10.93, allocations: 179.6 kB / 3.518 GB, free: 28.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008766/10.94, allocations: 3.662 MB / 3.522 GB, free: 25.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/10.94, allocations: 43.03 kB / 3.522 GB, free: 25.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 4.96e-06/10.94, allocations: 0 / 3.522 GB, free: 25.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.006119/10.94, allocations: 1.444 MB / 3.523 GB, free: 25.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/10.94, allocations: 133.7 kB / 3.523 GB, free: 24.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/10.95, allocations: 492.1 kB / 3.524 GB, free: 24.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.99e-05/10.95, allocations: 25.7 kB / 3.524 GB, free: 24.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/10.95, allocations: 470.2 kB / 3.524 GB, free: 24.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/10.95, allocations: 141.2 kB / 3.524 GB, free: 24.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/10.95, allocations: 0 / 3.524 GB, free: 24.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/10.95, allocations: 339.9 kB / 3.525 GB, free: 24.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/10.95, allocations: 226.8 kB / 3.525 GB, free: 24.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/10.95, allocations: 0.5577 MB / 3.525 GB, free: 23.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/10.95, allocations: 329.2 kB / 3.526 GB, free: 23.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/10.95, allocations: 8.266 kB / 3.526 GB, free: 23.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002388/10.95, allocations: 0.7744 MB / 3.526 GB, free: 23.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/10.95, allocations: 7.875 kB / 3.526 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/10.95, allocations: 11.84 kB / 3.526 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/10.95, allocations: 67 kB / 3.526 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/10.95, allocations: 310.9 kB / 3.527 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/10.96, allocations: 1.951 MB / 3.529 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/10.96, allocations: 86.2 kB / 3.529 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/10.96, allocations: 46.56 kB / 3.529 GB, free: 21.82 MB / 490.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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete 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.0002541/10.96, allocations: 148.7 kB / 3.529 GB, free: 21.71 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001337/10.96, allocations: 475.3 kB / 3.529 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/10.96, allocations: 69.86 kB / 3.529 GB, free: 21.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/10.96, allocations: 1.851 MB / 3.531 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/10.96, allocations: 30.48 kB / 3.531 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/10.96, allocations: 0 / 3.531 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/10.96, allocations: 7.062 kB / 3.531 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004442/10.97, allocations: 2.842 MB / 3.534 GB, free: 20.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/10.97, allocations: 6.312 kB / 3.534 GB, free: 20.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/10.97, allocations: 213.3 kB / 3.534 GB, free: 20.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/10.97, allocations: 78.67 kB / 3.534 GB, free: 20.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/10.97, allocations: 7.219 kB / 3.534 GB, free: 20.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/10.97, allocations: 1.983 MB / 3.536 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/10.97, allocations: 0 / 3.536 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/10.97, allocations: 1.797 MB / 3.538 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/10.97, allocations: 227.8 kB / 3.538 GB, free: 18.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/10.97, allocations: 2.75 kB / 3.538 GB, free: 18.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/10.97, allocations: 48.09 kB / 3.538 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/10.97, allocations: 41.75 kB / 3.538 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/10.97, allocations: 16.91 kB / 3.538 GB, free: 18.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000597/10.98, allocations: 350.9 kB / 3.539 GB, free: 18.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.854e-06/10.98, allocations: 0 / 3.539 GB, free: 18.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005774/10.98, allocations: 1.09 MB / 3.54 GB, free: 18.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.01423/11, allocations: 4.025 MB / 3.544 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002667/11, allocations: 0.8553 MB / 3.545 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/11, allocations: 0 / 3.545 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/11, allocations: 0.6279 MB / 3.545 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/11, allocations: 268.9 kB / 3.545 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007826/11.01, allocations: 2.125 MB / 3.548 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/11.01, allocations: 1.096 MB / 3.549 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/11.01, allocations: 364.3 kB / 3.549 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.303e-06/11.01, allocations: 0 / 3.549 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.032/15.04, allocations: 43.65 MB / 3.592 GB, free: 28.89 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_ph_res.mat does not exist to compare? outputFormat=mat