Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.108e-05, allocations: 0 / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 54.86 MB / 364.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.208, allocations: 2.583 GB / 2.939 GB, free: 97.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/6.208, allocations: 76.61 kB / 2.94 GB, free: 97.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9455/7.154, allocations: 215 MB / 3.15 GB, free: 79.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.815e-06/7.154, allocations: 0 / 3.15 GB, free: 79.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/7.154, allocations: 4 kB / 3.15 GB, free: 79.66 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.007182/7.161, allocations: 1.736 MB / 3.151 GB, free: 78.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/7.161, allocations: 12.03 kB / 3.151 GB, free: 78.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/7.163, allocations: 182.1 kB / 3.151 GB, free: 77.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/7.164, allocations: 277.3 kB / 3.152 GB, free: 77.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/7.164, allocations: 21.12 kB / 3.152 GB, free: 77.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/7.164, allocations: 39.89 kB / 3.152 GB, free: 77.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/7.166, allocations: 0.8079 MB / 3.153 GB, free: 76.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/7.166, allocations: 0 / 3.153 GB, free: 76.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/7.167, allocations: 12 kB / 3.153 GB, free: 76.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/7.167, allocations: 8 kB / 3.153 GB, free: 76.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/7.169, allocations: 0.86 MB / 3.153 GB, free: 76.19 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.004221/7.173, allocations: 2.904 MB / 3.156 GB, free: 73.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/7.175, allocations: 392.1 kB / 3.157 GB, free: 72.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/7.175, allocations: 64.84 kB / 3.157 GB, free: 72.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6798/7.855, allocations: 140.6 MB / 3.294 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/7.857, allocations: 479.9 kB / 3.294 GB, free: 56.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 4.526e-06/7.857, allocations: 4 kB / 3.294 GB, free: 56.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004998/7.862, allocations: 1.138 MB / 3.296 GB, free: 56.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/7.862, allocations: 384 kB / 3.296 GB, free: 56.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/7.862, allocations: 164.3 kB / 3.296 GB, free: 56.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/7.862, allocations: 32.98 kB / 3.296 GB, free: 55.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/7.862, allocations: 253.9 kB / 3.296 GB, free: 55.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/7.863, allocations: 116.3 kB / 3.296 GB, free: 55.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/7.863, allocations: 7.625 kB / 3.296 GB, free: 55.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/7.863, allocations: 331.1 kB / 3.297 GB, free: 55.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/7.863, allocations: 74.47 kB / 3.297 GB, free: 55.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/7.863, allocations: 339.2 kB / 3.297 GB, free: 55.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/7.863, allocations: 135.2 kB / 3.297 GB, free: 55.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.157e-06/7.863, allocations: 0 / 3.297 GB, free: 55.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001017/7.864, allocations: 451.7 kB / 3.298 GB, free: 55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/7.865, allocations: 9.531 kB / 3.298 GB, free: 55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/7.865, allocations: 8.656 kB / 3.298 GB, free: 55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/7.865, allocations: 14.88 kB / 3.298 GB, free: 55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/7.867, allocations: 200.7 kB / 3.298 GB, free: 55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005005/7.867, allocations: 1.187 MB / 3.299 GB, free: 53.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/7.868, allocations: 25.25 kB / 3.299 GB, free: 53.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/7.868, allocations: 42.11 kB / 3.299 GB, free: 53.82 MB / 490.7 MB 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.0001791/7.868, allocations: 153.8 kB / 3.299 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/7.868, allocations: 35.97 kB / 3.299 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/7.871, allocations: 1.88 MB / 3.301 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/7.871, allocations: 25.47 kB / 3.301 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/7.871, allocations: 3.812 kB / 3.301 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/7.871, allocations: 2.5 kB / 3.301 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/7.872, allocations: 0.884 MB / 3.302 GB, free: 53.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.741e-06/7.872, allocations: 4.188 kB / 3.302 GB, free: 53.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/7.873, allocations: 111.5 kB / 3.302 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/7.873, allocations: 225.2 kB / 3.302 GB, free: 53.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/7.873, allocations: 25.5 kB / 3.302 GB, free: 53.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00038/7.874, allocations: 0.6403 MB / 3.303 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.414e-06/7.874, allocations: 0 / 3.303 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/7.875, allocations: 1.163 MB / 3.304 GB, free: 52.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/7.875, allocations: 267.1 kB / 3.304 GB, free: 52.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/7.876, allocations: 23.39 kB / 3.304 GB, free: 52.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/7.876, allocations: 14.73 kB / 3.305 GB, free: 52.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/7.876, allocations: 42.27 kB / 3.305 GB, free: 52.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/7.876, allocations: 25.02 kB / 3.305 GB, free: 52.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004564/7.877, allocations: 332.9 kB / 3.305 GB, free: 51.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.35e-07/7.877, allocations: 4 kB / 3.305 GB, free: 51.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006536/7.883, allocations: 1.624 MB / 3.306 GB, free: 51.93 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: 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.01229/7.896, allocations: 2.029 MB / 3.308 GB, free: 51.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/7.898, allocations: 0.524 MB / 3.309 GB, free: 51.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.259e-06/7.898, allocations: 0 / 3.309 GB, free: 51.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/7.898, allocations: 375 kB / 3.309 GB, free: 51.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/7.899, allocations: 116.5 kB / 3.309 GB, free: 51.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.81/9.709, allocations: 495.1 MB / 3.793 GB, free: 90.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/9.71, allocations: 0.9372 MB / 3.794 GB, free: 89.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/9.71, allocations: 81.25 kB / 3.794 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.898e-06/9.71, allocations: 3.938 kB / 3.794 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.06189/9.772, allocations: 38.49 MB / 3.832 GB, free: 87.59 MB / 0.4948 GB