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/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.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.639/2.639, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.181e-05/4.196e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4163, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.376/7.792, allocations: 2.585 GB / 2.941 GB, free: 1.711 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/7.792, allocations: 71.5 kB / 2.941 GB, free: 1.676 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.551/9.344, allocations: 215.6 MB / 3.152 GB, free: 80.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/9.344, allocations: 0.9375 kB / 3.152 GB, free: 80.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/9.344, allocations: 3.875 kB / 3.152 GB, free: 80.84 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.008944/9.353, allocations: 1.757 MB / 3.153 GB, free: 80.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/9.353, allocations: 14.84 kB / 3.153 GB, free: 80.05 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/9.353, allocations: 68.44 kB / 3.154 GB, free: 80.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/9.355, allocations: 222 kB / 3.154 GB, free: 80 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/9.356, allocations: 277.5 kB / 3.154 GB, free: 79.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/9.356, allocations: 27.33 kB / 3.154 GB, free: 79.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/9.356, allocations: 32.02 kB / 3.154 GB, free: 79.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/9.359, allocations: 0.8576 MB / 3.155 GB, free: 79.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/9.359, allocations: 1.031 kB / 3.155 GB, free: 79.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/9.359, allocations: 14.97 kB / 3.155 GB, free: 79.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/9.359, allocations: 8.156 kB / 3.155 GB, free: 79.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/9.363, allocations: 0.9548 MB / 3.156 GB, free: 79.66 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.005232/9.368, allocations: 2.77 MB / 3.159 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/9.37, allocations: 424.8 kB / 3.159 GB, free: 77.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/9.37, allocations: 70.41 kB / 3.159 GB, free: 77.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364/10.73, allocations: 224.9 MB / 3.379 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/10.74, allocations: 0.5018 MB / 3.379 GB, free: 69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.777e-06/10.74, allocations: 4 kB / 3.379 GB, free: 69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003905/10.74, allocations: 0.7884 MB / 3.38 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/10.74, allocations: 376.2 kB / 3.38 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/10.74, allocations: 172.1 kB / 3.38 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/10.74, allocations: 29.64 kB / 3.381 GB, free: 68.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/10.74, allocations: 252.9 kB / 3.381 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/10.74, allocations: 122.5 kB / 3.381 GB, free: 68.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/10.74, allocations: 9.094 kB / 3.381 GB, free: 68.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/10.74, allocations: 325.4 kB / 3.381 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/10.74, allocations: 75.16 kB / 3.381 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/10.74, allocations: 327.8 kB / 3.382 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/10.74, allocations: 123.9 kB / 3.382 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/10.74, allocations: 0 / 3.382 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001184/10.74, allocations: 450.8 kB / 3.382 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/10.74, allocations: 7.656 kB / 3.382 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/10.74, allocations: 12.33 kB / 3.382 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/10.74, allocations: 18.17 kB / 3.382 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/10.74, allocations: 136 kB / 3.382 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/10.74, allocations: 18.25 kB / 3.382 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/10.75, allocations: 55.72 kB / 3.382 GB, free: 67.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/10.75, allocations: 48.69 kB / 3.382 GB, free: 67.41 MB / 0.4948 GB 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 () * 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.0001722/10.75, allocations: 144.3 kB / 3.383 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/10.75, allocations: 22.5 kB / 3.383 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/10.75, allocations: 1.774 MB / 3.384 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/10.75, allocations: 20.59 kB / 3.384 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/10.75, allocations: 7.797 kB / 3.384 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/10.75, allocations: 5.594 kB / 3.384 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/10.75, allocations: 0.8919 MB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/10.75, allocations: 3.875 kB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/10.75, allocations: 76.62 kB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/10.75, allocations: 10.64 kB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/10.75, allocations: 19.09 kB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/10.75, allocations: 7.156 kB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/10.75, allocations: 7.219 kB / 3.385 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/10.75, allocations: 0.8194 MB / 3.386 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/10.75, allocations: 336.1 kB / 3.386 GB, free: 66.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/10.75, allocations: 19.09 kB / 3.386 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/10.75, allocations: 18.72 kB / 3.386 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/10.75, allocations: 42.73 kB / 3.387 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/10.75, allocations: 26.25 kB / 3.387 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006764/10.75, allocations: 421.7 kB / 3.387 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/10.75, allocations: 0 / 3.387 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007384/10.76, allocations: 1.512 MB / 3.388 GB, free: 65.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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.01577/10.78, allocations: 3.98 MB / 3.392 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009882/10.78, allocations: 388.6 kB / 3.393 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/10.78, allocations: 0.8125 kB / 3.393 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/10.78, allocations: 285.1 kB / 3.393 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/10.78, allocations: 119.8 kB / 3.393 GB, free: 63.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.173/13.95, allocations: 0.756 GB / 4.149 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/13.95, allocations: 0.9681 MB / 4.15 GB, free: 74.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/13.95, allocations: 303.1 kB / 4.15 GB, free: 74.17 MB / 0.4948 GB Notification: Performance of SimCode: time 1.392e-06/13.95, allocations: 0 / 4.15 GB, free: 74.17 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.546/17.5, allocations: 37.15 MB / 4.187 GB, free: 51.81 MB / 0.4948 GB 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