Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.281e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3618, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.679/8.041, allocations: 2.584 GB / 2.934 GB, free: 113.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/8.041, allocations: 80.42 kB / 2.934 GB, free: 113.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.397/9.439, allocations: 212.2 MB / 3.142 GB, free: 93.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/9.439, allocations: 3.844 kB / 3.142 GB, free: 93.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/9.439, allocations: 3.094 kB / 3.142 GB, free: 93.46 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009483/9.448, allocations: 1.761 MB / 3.143 GB, free: 92.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/9.448, allocations: 7.625 kB / 3.143 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/9.451, allocations: 228.9 kB / 3.143 GB, free: 92.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/9.451, allocations: 272.9 kB / 3.144 GB, free: 92.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/9.451, allocations: 11.92 kB / 3.144 GB, free: 92.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/9.451, allocations: 18.16 kB / 3.144 GB, free: 92.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/9.452, allocations: 0.5208 MB / 3.144 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/9.453, allocations: 382 kB / 3.145 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/9.453, allocations: 3.375 kB / 3.145 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/9.453, allocations: 3.781 kB / 3.145 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/9.453, allocations: 7.719 kB / 3.145 GB, free: 92.21 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 1.344/10.8, allocations: 217 MB / 3.357 GB, free: 64.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/10.8, allocations: 43 kB / 3.357 GB, free: 64.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/10.8, allocations: 24.77 kB / 3.357 GB, free: 64.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1775/10.98, allocations: 45.85 MB / 3.401 GB, free: 37.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/10.98, allocations: 115.7 kB / 3.401 GB, free: 37.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 3.397e-06/10.98, allocations: 4 kB / 3.401 GB, free: 37.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.002235/10.98, allocations: 381.3 kB / 3.402 GB, free: 37.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/10.98, allocations: 133.2 kB / 3.402 GB, free: 37.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/10.98, allocations: 226.7 kB / 3.402 GB, free: 37.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/10.98, allocations: 26.89 kB / 3.402 GB, free: 37.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/10.98, allocations: 326.9 kB / 3.403 GB, free: 36.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/10.98, allocations: 36.02 kB / 3.403 GB, free: 36.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/10.98, allocations: 0.8438 kB / 3.403 GB, free: 36.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/10.98, allocations: 335.1 kB / 3.403 GB, free: 36.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/10.98, allocations: 66.69 kB / 3.403 GB, free: 36.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/10.98, allocations: 319.5 kB / 3.403 GB, free: 36.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/10.98, allocations: 145.9 kB / 3.403 GB, free: 35.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/10.98, allocations: 4 kB / 3.403 GB, free: 35.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001781/10.98, allocations: 424.5 kB / 3.404 GB, free: 35.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/10.98, allocations: 8 kB / 3.404 GB, free: 35.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/10.98, allocations: 8 kB / 3.404 GB, free: 35.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.165e-05/10.98, allocations: 16 kB / 3.404 GB, free: 35.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/10.98, allocations: 133.3 kB / 3.404 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/10.98, allocations: 17 kB / 3.404 GB, free: 35.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/10.98, allocations: 65.12 kB / 3.404 GB, free: 35.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/10.98, allocations: 49.31 kB / 3.404 GB, free: 35.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/10.98, allocations: 134.5 kB / 3.404 GB, free: 35.34 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003227/10.98, allocations: 99.25 kB / 3.404 GB, free: 35.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/10.98, allocations: 23.81 kB / 3.404 GB, free: 35.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/10.99, allocations: 281.9 kB / 3.405 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/10.99, allocations: 0.8125 kB / 3.405 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/10.99, allocations: 4 kB / 3.405 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/10.99, allocations: 0 / 3.405 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/10.99, allocations: 0.5991 MB / 3.405 GB, free: 34.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/10.99, allocations: 4 kB / 3.405 GB, free: 34.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/10.99, allocations: 23.91 kB / 3.405 GB, free: 34.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/10.99, allocations: 4 kB / 3.405 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/10.99, allocations: 0 / 3.405 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/10.99, allocations: 4 kB / 3.405 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/10.99, allocations: 10 kB / 3.405 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/10.99, allocations: 330.2 kB / 3.406 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/10.99, allocations: 152 kB / 3.406 GB, free: 34.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/10.99, allocations: 7.656 kB / 3.406 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/10.99, allocations: 18.45 kB / 3.406 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/10.99, allocations: 8 kB / 3.406 GB, free: 34.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/10.99, allocations: 10.55 kB / 3.406 GB, free: 34.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003435/10.99, allocations: 263.2 kB / 3.406 GB, free: 33.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/10.99, allocations: 0 / 3.406 GB, free: 33.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007857/11, allocations: 1.48 MB / 3.407 GB, free: 32.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0155/11.01, allocations: 3.152 MB / 3.41 GB, free: 29.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006191/11.01, allocations: 186.6 kB / 3.411 GB, free: 29.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/11.01, allocations: 4 kB / 3.411 GB, free: 29.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/11.01, allocations: 27.91 kB / 3.411 GB, free: 29.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/11.01, allocations: 35.14 kB / 3.411 GB, free: 29.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006403/11.02, allocations: 0.9929 MB / 3.412 GB, free: 28.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/11.02, allocations: 0.7845 MB / 3.412 GB, free: 28.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/11.02, allocations: 138.2 kB / 3.413 GB, free: 28.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/11.02, allocations: 1.859 kB / 3.413 GB, free: 28.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.615/14.63, allocations: 34.48 MB / 3.446 GB, free: 6.785 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat