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.218/2.218, allocations: 234.9 MB / 250.5 MB, free: 10.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004474, allocations: 12 kB / 314.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3428, allocations: 54.87 MB / 369.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.652/7.995, allocations: 2.585 GB / 2.946 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/7.995, allocations: 77.45 kB / 2.946 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268/9.263, allocations: 215.9 MB / 3.157 GB, free: 90.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.166e-06/9.263, allocations: 3.891 kB / 3.157 GB, free: 90.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/9.263, allocations: 4 kB / 3.157 GB, free: 90.43 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.008761/9.272, allocations: 1.758 MB / 3.159 GB, free: 88.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/9.272, allocations: 12.03 kB / 3.159 GB, free: 88.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/9.272, allocations: 68.5 kB / 3.159 GB, free: 88.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/9.274, allocations: 231.5 kB / 3.159 GB, free: 88.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/9.275, allocations: 281.8 kB / 3.159 GB, free: 88.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/9.275, allocations: 27.42 kB / 3.159 GB, free: 88.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/9.275, allocations: 31.02 kB / 3.159 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/9.278, allocations: 0.8045 MB / 3.16 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/9.278, allocations: 2.812 kB / 3.16 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/9.278, allocations: 14.75 kB / 3.16 GB, free: 87.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/9.278, allocations: 12 kB / 3.16 GB, free: 87.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/9.282, allocations: 0.918 MB / 3.161 GB, free: 87.36 MB / 490.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.004936/9.287, allocations: 2.772 MB / 3.164 GB, free: 84.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/9.289, allocations: 371.9 kB / 3.164 GB, free: 84.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307/10.6, allocations: 223.3 MB / 3.382 GB, free: 18.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/10.6, allocations: 457.6 kB / 3.382 GB, free: 18.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.965e-06/10.6, allocations: 4 kB / 3.382 GB, free: 18.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004101/10.6, allocations: 0.7601 MB / 3.383 GB, free: 18.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/10.6, allocations: 377.5 kB / 3.383 GB, free: 17.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/10.6, allocations: 171.2 kB / 3.384 GB, free: 17.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/10.6, allocations: 32.45 kB / 3.384 GB, free: 17.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/10.6, allocations: 248.5 kB / 3.384 GB, free: 17.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/10.6, allocations: 114.6 kB / 3.384 GB, free: 17.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/10.6, allocations: 12.94 kB / 3.384 GB, free: 17.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/10.6, allocations: 335 kB / 3.384 GB, free: 16.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/10.6, allocations: 76.27 kB / 3.384 GB, free: 16.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/10.6, allocations: 333.9 kB / 3.385 GB, free: 16.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/10.6, allocations: 132.2 kB / 3.385 GB, free: 16.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/10.6, allocations: 0 / 3.385 GB, free: 16.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001366/10.61, allocations: 459.9 kB / 3.385 GB, free: 16.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/10.61, allocations: 16 kB / 3.385 GB, free: 16.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/10.61, allocations: 8 kB / 3.385 GB, free: 16.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/10.61, allocations: 12 kB / 3.385 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/10.61, allocations: 138 kB / 3.385 GB, free: 16.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/10.61, allocations: 19.22 kB / 3.386 GB, free: 16.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/10.61, allocations: 54.02 kB / 3.386 GB, free: 16.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/10.61, allocations: 41.48 kB / 3.386 GB, free: 15.98 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,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.0002002/10.61, allocations: 162.9 kB / 3.386 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/10.61, allocations: 34.34 kB / 3.386 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/10.61, allocations: 2.496 MB / 3.388 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/10.61, allocations: 18.14 kB / 3.388 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/10.61, allocations: 4 kB / 3.388 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/10.61, allocations: 4 kB / 3.388 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/10.61, allocations: 0.93 MB / 3.389 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/10.61, allocations: 4 kB / 3.389 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/10.61, allocations: 76.14 kB / 3.389 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/10.61, allocations: 4 kB / 3.389 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/10.61, allocations: 18.03 kB / 3.389 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/10.61, allocations: 11.66 kB / 3.389 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/10.61, allocations: 8.625 kB / 3.389 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/10.61, allocations: 0.818 MB / 3.39 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/10.61, allocations: 392.1 kB / 3.39 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/10.61, allocations: 23.19 kB / 3.39 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/10.62, allocations: 15 kB / 3.39 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/10.62, allocations: 35.16 kB / 3.391 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/10.62, allocations: 19.56 kB / 3.391 GB, free: 12.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007717/10.62, allocations: 0.493 MB / 3.391 GB, free: 12.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.62, allocations: 0 / 3.391 GB, free: 12.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007214/10.62, allocations: 1.521 MB / 3.393 GB, free: 11.24 MB / 490.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.01584/10.64, allocations: 3.991 MB / 3.396 GB, free: 7.754 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001182/10.64, allocations: 399.5 kB / 3.397 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/10.64, allocations: 0 / 3.397 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/10.64, allocations: 280.9 kB / 3.397 GB, free: 7.359 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/10.64, allocations: 132.6 kB / 3.397 GB, free: 7.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.482/15.12, allocations: 0.9691 GB / 4.366 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/15.12, allocations: 0.999 MB / 4.367 GB, free: 84.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/15.13, allocations: 326.3 kB / 4.368 GB, free: 84.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.273e-06/15.13, allocations: 3.719 kB / 4.368 GB, free: 84.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.866/18.99, allocations: 36.7 MB / 4.403 GB, free: 82.87 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