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_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.468e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4061, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.409/7.815, allocations: 2.583 GB / 2.94 GB, free: 3.082 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/7.816, allocations: 78.7 kB / 2.94 GB, free: 3.039 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588/9.403, allocations: 215 MB / 3.15 GB, free: 80.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/9.403, allocations: 1.031 kB / 3.15 GB, free: 80.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/9.404, allocations: 4.062 kB / 3.15 GB, free: 80.86 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.01396/9.417, allocations: 1.743 MB / 3.151 GB, free: 80.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/9.418, allocations: 10.66 kB / 3.151 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/9.418, allocations: 69.39 kB / 3.151 GB, free: 80.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/9.42, allocations: 184.9 kB / 3.152 GB, free: 80.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/9.42, allocations: 271.5 kB / 3.152 GB, free: 79.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/9.42, allocations: 23.55 kB / 3.152 GB, free: 79.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/9.421, allocations: 32.95 kB / 3.152 GB, free: 79.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/9.424, allocations: 0.804 MB / 3.153 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/9.424, allocations: 9.703 kB / 3.153 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/9.424, allocations: 13.97 kB / 3.153 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/9.424, allocations: 7.688 kB / 3.153 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/9.427, allocations: 0.8558 MB / 3.154 GB, free: 79.7 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.005288/9.432, allocations: 2.903 MB / 3.156 GB, free: 77.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/9.434, allocations: 390.7 kB / 3.157 GB, free: 77.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/9.434, allocations: 73.05 kB / 3.157 GB, free: 77.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5955/10.03, allocations: 140.6 MB / 3.294 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/10.03, allocations: 495.8 kB / 3.295 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.937e-06/10.03, allocations: 0 / 3.295 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.00542/10.04, allocations: 1.136 MB / 3.296 GB, free: 20.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/10.04, allocations: 380.4 kB / 3.296 GB, free: 20.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/10.04, allocations: 157.6 kB / 3.296 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/10.04, allocations: 32.7 kB / 3.296 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/10.04, allocations: 254.4 kB / 3.297 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/10.04, allocations: 118.5 kB / 3.297 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/10.04, allocations: 10.75 kB / 3.297 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000157/10.04, allocations: 332.2 kB / 3.297 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/10.04, allocations: 78.59 kB / 3.297 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/10.04, allocations: 334.2 kB / 3.297 GB, free: 18.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/10.04, allocations: 132.8 kB / 3.297 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/10.04, allocations: 4 kB / 3.297 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001155/10.04, allocations: 456 kB / 3.298 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/10.04, allocations: 11.52 kB / 3.298 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/10.04, allocations: 8 kB / 3.298 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/10.04, allocations: 16.72 kB / 3.298 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/10.04, allocations: 196.9 kB / 3.298 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008509/10.04, allocations: 1.198 MB / 3.299 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/10.04, allocations: 21.03 kB / 3.299 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/10.04, allocations: 39.25 kB / 3.299 GB, free: 17.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002481/10.04, allocations: 150.9 kB / 3.3 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/10.05, allocations: 27.72 kB / 3.3 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/10.05, allocations: 1.873 MB / 3.301 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/10.05, allocations: 25.39 kB / 3.301 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/10.05, allocations: 4 kB / 3.301 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/10.05, allocations: 4.25 kB / 3.301 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/10.05, allocations: 0.8873 MB / 3.302 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/10.05, allocations: 7.844 kB / 3.302 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/10.05, allocations: 107.2 kB / 3.302 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/10.05, allocations: 224.3 kB / 3.303 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/10.05, allocations: 22.08 kB / 3.303 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005137/10.05, allocations: 0.6412 MB / 3.303 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/10.05, allocations: 7.953 kB / 3.303 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/10.05, allocations: 1.165 MB / 3.304 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/10.05, allocations: 276.8 kB / 3.305 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/10.05, allocations: 10.69 kB / 3.305 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/10.05, allocations: 23.22 kB / 3.305 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/10.05, allocations: 49.58 kB / 3.305 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/10.05, allocations: 30.39 kB / 3.305 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005324/10.05, allocations: 328.9 kB / 3.305 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/10.05, allocations: 0 / 3.305 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008411/10.06, allocations: 1.618 MB / 3.307 GB, free: 11.78 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: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.01905/10.08, allocations: 4.244 MB / 3.311 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002422/10.08, allocations: 0.5208 MB / 3.311 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/10.08, allocations: 0 / 3.311 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/10.09, allocations: 372 kB / 3.312 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/10.09, allocations: 118.2 kB / 3.312 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.287/12.37, allocations: 495.8 MB / 3.796 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/12.37, allocations: 0.942 MB / 3.797 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/12.38, allocations: 274.5 kB / 3.797 GB, free: 75.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/12.38, allocations: 0 / 3.797 GB, free: 75.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.695/16.07, allocations: 40.99 MB / 3.837 GB, free: 45.71 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_pT_res.mat does not exist to compare? outputFormat=mat