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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.155/2.155, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.293e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2692, allocations: 54.86 MB / 358 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.647/6.917, allocations: 2.583 GB / 2.932 GB, free: 105.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/6.917, allocations: 75.95 kB / 2.933 GB, free: 105.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022/7.939, allocations: 211.7 MB / 3.139 GB, free: 72.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.505e-06/7.939, allocations: 0 / 3.139 GB, free: 72.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/7.939, allocations: 3.312 kB / 3.139 GB, free: 72.79 MB / 474.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.009594/7.948, allocations: 1.738 MB / 3.141 GB, free: 71.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/7.949, allocations: 7.75 kB / 3.141 GB, free: 71.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/7.952, allocations: 190.2 kB / 3.141 GB, free: 71.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/7.952, allocations: 262.4 kB / 3.141 GB, free: 71.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/7.952, allocations: 8.297 kB / 3.141 GB, free: 71.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/7.952, allocations: 19.47 kB / 3.141 GB, free: 71.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001237/7.954, allocations: 480.6 kB / 3.142 GB, free: 71.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/7.954, allocations: 381 kB / 3.142 GB, free: 71.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/7.955, allocations: 2.719 kB / 3.142 GB, free: 71.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/7.955, allocations: 3.969 kB / 3.142 GB, free: 71.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/7.955, allocations: 7.906 kB / 3.142 GB, free: 71.48 MB / 474.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.6688/8.623, allocations: 127.8 MB / 3.267 GB, free: 85.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/8.624, allocations: 82.03 kB / 3.267 GB, free: 85.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/8.624, allocations: 33.64 kB / 3.267 GB, free: 85.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1331/8.757, allocations: 46.15 MB / 3.312 GB, free: 65.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/8.757, allocations: 114.5 kB / 3.312 GB, free: 65.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.818e-06/8.757, allocations: 0 / 3.312 GB, free: 65.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.003607/8.761, allocations: 0.5815 MB / 3.313 GB, free: 65.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/8.761, allocations: 80.58 kB / 3.313 GB, free: 65.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/8.761, allocations: 227.7 kB / 3.313 GB, free: 65.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/8.761, allocations: 25.7 kB / 3.313 GB, free: 65.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/8.761, allocations: 320.9 kB / 3.314 GB, free: 64.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/8.761, allocations: 46.09 kB / 3.314 GB, free: 64.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/8.761, allocations: 2.062 kB / 3.314 GB, free: 64.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/8.761, allocations: 331.2 kB / 3.314 GB, free: 64.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/8.762, allocations: 63.48 kB / 3.314 GB, free: 64.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/8.762, allocations: 324.4 kB / 3.314 GB, free: 64.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/8.763, allocations: 210.8 kB / 3.315 GB, free: 64.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.421e-06/8.763, allocations: 0 / 3.315 GB, free: 64.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002334/8.766, allocations: 486.5 kB / 3.315 GB, free: 64.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/8.766, allocations: 7.062 kB / 3.315 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/8.766, allocations: 13.84 kB / 3.315 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/8.766, allocations: 13.97 kB / 3.315 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/8.768, allocations: 220.6 kB / 3.315 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003179/8.768, allocations: 0.5957 MB / 3.316 GB, free: 63.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/8.769, allocations: 22 kB / 3.316 GB, free: 63.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/8.769, allocations: 49.08 kB / 3.316 GB, free: 63.49 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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/8.769, allocations: 130.9 kB / 3.316 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/8.769, allocations: 18.91 kB / 3.316 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/8.77, allocations: 0.7953 MB / 3.317 GB, free: 63.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/8.77, allocations: 9.219 kB / 3.317 GB, free: 63.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.028e-06/8.77, allocations: 6.5 kB / 3.317 GB, free: 63.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-06/8.77, allocations: 0 / 3.317 GB, free: 63.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/8.771, allocations: 418.7 kB / 3.317 GB, free: 63.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.417e-06/8.771, allocations: 7.984 kB / 3.317 GB, free: 63.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/8.771, allocations: 50.84 kB / 3.317 GB, free: 63.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/8.772, allocations: 232.8 kB / 3.317 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/8.772, allocations: 2.312 kB / 3.317 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/8.772, allocations: 0.654 MB / 3.318 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.052e-06/8.772, allocations: 0 / 3.318 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/8.773, allocations: 0.5827 MB / 3.319 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/8.773, allocations: 148.9 kB / 3.319 GB, free: 62.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/8.774, allocations: 0.6562 kB / 3.319 GB, free: 62.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/8.774, allocations: 10.75 kB / 3.319 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/8.774, allocations: 11.16 kB / 3.319 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/8.774, allocations: 9.797 kB / 3.319 GB, free: 62.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000288/8.774, allocations: 220.5 kB / 3.319 GB, free: 62.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.7e-07/8.774, allocations: 2.625 kB / 3.319 GB, free: 62.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006507/8.781, allocations: 1.594 MB / 3.321 GB, free: 62.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01253/8.793, allocations: 2.038 MB / 3.323 GB, free: 61.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008209/8.794, allocations: 306.7 kB / 3.323 GB, free: 61.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/8.794, allocations: 0.8125 kB / 3.323 GB, free: 61.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/8.795, allocations: 166.8 kB / 3.323 GB, free: 61.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/8.795, allocations: 51.38 kB / 3.323 GB, free: 61.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/8.796, allocations: 0.4965 MB / 3.324 GB, free: 61.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/8.796, allocations: 0.8035 MB / 3.324 GB, free: 60.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/8.796, allocations: 69.98 kB / 3.324 GB, free: 60.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.812e-06/8.796, allocations: 5.219 kB / 3.324 GB, free: 60.89 MB / 490.7 MB Notification: Performance of Templates: time 0.06326/8.86, allocations: 37.19 MB / 3.361 GB, free: 56.62 MB / 490.7 MB