Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.058/2.058, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006035/0.0006035, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3954, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.208/7.603, allocations: 2.474 GB / 2.798 GB, free: 48.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/7.604, allocations: 92.75 kB / 2.798 GB, free: 48.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313/8.917, allocations: 212.2 MB / 3.005 GB, free: 26.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.843e-06/8.917, allocations: 0 / 3.005 GB, free: 26.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/8.917, allocations: 4 kB / 3.005 GB, free: 26.48 MB / 442.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.008624/8.926, allocations: 1.729 MB / 3.007 GB, free: 24.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/8.926, allocations: 8.031 kB / 3.007 GB, free: 24.69 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/8.926, allocations: 70.88 kB / 3.007 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/8.928, allocations: 231.4 kB / 3.007 GB, free: 24.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/8.929, allocations: 279.9 kB / 3.008 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/8.929, allocations: 24.66 kB / 3.008 GB, free: 24.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/8.929, allocations: 32 kB / 3.008 GB, free: 24.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/8.932, allocations: 0.8132 MB / 3.008 GB, free: 23.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/8.932, allocations: 4 kB / 3.008 GB, free: 23.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/8.932, allocations: 12 kB / 3.008 GB, free: 23.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/8.932, allocations: 8 kB / 3.008 GB, free: 23.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/8.935, allocations: 0.9347 MB / 3.009 GB, free: 22.2 MB / 442.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.004642/8.94, allocations: 2.769 MB / 3.012 GB, free: 19.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/8.942, allocations: 374.2 kB / 3.012 GB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646/10.59, allocations: 223.3 MB / 3.231 GB, free: 89.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/10.59, allocations: 455.9 kB / 3.231 GB, free: 89.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 6.513e-06/10.59, allocations: 0 / 3.231 GB, free: 89.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.004443/10.59, allocations: 0.7614 MB / 3.232 GB, free: 89.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/10.59, allocations: 379.8 kB / 3.232 GB, free: 89.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/10.6, allocations: 166.7 kB / 3.232 GB, free: 88.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/10.6, allocations: 32.45 kB / 3.232 GB, free: 88.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/10.6, allocations: 252.4 kB / 3.232 GB, free: 88.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/10.6, allocations: 110 kB / 3.233 GB, free: 88.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/10.6, allocations: 7 kB / 3.233 GB, free: 88.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/10.6, allocations: 335.7 kB / 3.233 GB, free: 88.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/10.6, allocations: 77.8 kB / 3.233 GB, free: 88.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/10.6, allocations: 344.5 kB / 3.233 GB, free: 88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/10.6, allocations: 126.6 kB / 3.233 GB, free: 88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/10.6, allocations: 3.594 kB / 3.233 GB, free: 88 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001331/10.6, allocations: 457.5 kB / 3.234 GB, free: 87.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/10.6, allocations: 7.594 kB / 3.234 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/10.6, allocations: 7.469 kB / 3.234 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/10.6, allocations: 15.22 kB / 3.234 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/10.6, allocations: 140.5 kB / 3.234 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/10.6, allocations: 18.22 kB / 3.234 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/10.6, allocations: 53.45 kB / 3.234 GB, free: 87.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/10.6, allocations: 39.41 kB / 3.234 GB, free: 87.94 MB / 474.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,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked 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.0002564/10.6, allocations: 171.4 kB / 3.234 GB, free: 87.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/10.6, allocations: 26.16 kB / 3.234 GB, free: 87.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/10.6, allocations: 2.491 MB / 3.237 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/10.6, allocations: 17.36 kB / 3.237 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/10.6, allocations: 3.812 kB / 3.237 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/10.6, allocations: 7.547 kB / 3.237 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/10.61, allocations: 0.9333 MB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/10.61, allocations: 6.281 kB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/10.61, allocations: 68.75 kB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/10.61, allocations: 6.188 kB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/10.61, allocations: 19.34 kB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/10.61, allocations: 6.031 kB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/10.61, allocations: 5.688 kB / 3.238 GB, free: 87.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/10.61, allocations: 0.8291 MB / 3.239 GB, free: 86.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/10.61, allocations: 389.4 kB / 3.239 GB, free: 86.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/10.61, allocations: 10.5 kB / 3.239 GB, free: 86.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/10.61, allocations: 20.53 kB / 3.239 GB, free: 86.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/10.61, allocations: 38.38 kB / 3.239 GB, free: 86.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/10.61, allocations: 15.69 kB / 3.239 GB, free: 86.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00087/10.61, allocations: 0.4964 MB / 3.24 GB, free: 86.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.764e-06/10.61, allocations: 0 / 3.24 GB, free: 86.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007878/10.62, allocations: 1.507 MB / 3.241 GB, free: 86.58 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0163/10.63, allocations: 3.983 MB / 3.245 GB, free: 84.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/10.64, allocations: 404.6 kB / 3.245 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/10.64, allocations: 0 / 3.245 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/10.64, allocations: 285.6 kB / 3.246 GB, free: 84.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/10.64, allocations: 121.5 kB / 3.246 GB, free: 84.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.253/14.89, allocations: 0.936 GB / 4.182 GB, free: 91.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/14.89, allocations: 1.006 MB / 4.183 GB, free: 90.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/14.89, allocations: 324.8 kB / 4.183 GB, free: 90.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/14.89, allocations: 0 / 4.183 GB, free: 90.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.742/18.63, allocations: 36.44 MB / 4.219 GB, free: 89.41 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat