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_ph.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_ph,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_ph") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004353, allocations: 12 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01836/0.2968, allocations: 11.75 MB / 380.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0365/0.3334, allocations: 22.4 MB / 403.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.3337, allocations: 0 / 403.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.3341, allocations: 79.58 kB / 403.4 MB, free: 8.391 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02399/0.3581, allocations: 6.712 MB / 410.1 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3593, allocations: 307.2 kB / 410.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006337/0.3656, allocations: 3.041 MB / 413.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.3657, allocations: 24.39 kB / 413.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007148/0.3665, allocations: 279 kB / 413.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.3776, allocations: 5.548 MB / 419.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.3777, allocations: 8 kB / 419.3 MB, free: 8.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02603/0.4037, allocations: 10.69 MB / 430 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4039, allocations: 47.8 kB / 430.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.4041, allocations: 81.58 kB / 430.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4142, allocations: 4.206 MB / 434.3 MB, free: 9.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.633e-06/0.4142, allocations: 0 / 434.3 MB, free: 9.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4143, allocations: 4 kB / 434.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.432e-06/0.4143, allocations: 0 / 434.4 MB, free: 9.41 MB / 362.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.00515/0.4194, allocations: 1.482 MB / 435.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4195, allocations: 8.031 kB / 435.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.4218, allocations: 235.3 kB / 436.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.4223, allocations: 270.7 kB / 436.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.4224, allocations: 20.66 kB / 436.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.4225, allocations: 32 kB / 436.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.4256, allocations: 0.8249 MB / 437.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.4257, allocations: 4 kB / 437.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.4258, allocations: 16 kB / 437.2 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4258, allocations: 8 kB / 437.2 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.4293, allocations: 0.9503 MB / 438.2 MB, free: 5.434 MB / 362.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.004453/0.4338, allocations: 2.578 MB / 440.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.4356, allocations: 374.2 kB / 441.1 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212/1.648, allocations: 227.1 MB / 0.6526 GB, free: 185.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/1.65, allocations: 474.4 kB / 0.653 GB, free: 185.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 4.457e-06/1.65, allocations: 0 / 0.653 GB, free: 185.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004439/1.655, allocations: 0.7819 MB / 0.6538 GB, free: 185.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/1.655, allocations: 373 kB / 0.6541 GB, free: 185.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.655, allocations: 181.9 kB / 0.6543 GB, free: 185.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/1.655, allocations: 34.64 kB / 0.6544 GB, free: 185.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/1.655, allocations: 259 kB / 0.6546 GB, free: 184.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.655, allocations: 108.1 kB / 0.6547 GB, free: 184.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/1.655, allocations: 6.922 kB / 0.6547 GB, free: 184.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/1.655, allocations: 335 kB / 0.655 GB, free: 184.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/1.656, allocations: 82.98 kB / 0.6551 GB, free: 184.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/1.656, allocations: 342.6 kB / 0.6554 GB, free: 184.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/1.656, allocations: 128.5 kB / 0.6556 GB, free: 184 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.181e-06/1.656, allocations: 3.844 kB / 0.6556 GB, free: 184 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001146/1.658, allocations: 473.9 kB / 0.656 GB, free: 183.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.658, allocations: 7.812 kB / 0.656 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.658, allocations: 12.41 kB / 0.656 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.658, allocations: 11.72 kB / 0.656 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/1.658, allocations: 140 kB / 0.6562 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.658, allocations: 15.09 kB / 0.6562 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/1.659, allocations: 53.64 kB / 0.6562 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/1.659, allocations: 49.91 kB / 0.6563 GB, free: 183.8 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.phase,state_h_is.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.0002186/1.659, allocations: 163.8 kB / 0.6564 GB, free: 183.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/1.659, allocations: 27.5 kB / 0.6565 GB, free: 183.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/1.663, allocations: 2.657 MB / 0.6591 GB, free: 182.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.663, allocations: 19.62 kB / 0.6591 GB, free: 182 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.811e-06/1.663, allocations: 3.906 kB / 0.6591 GB, free: 182 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.663, allocations: 3.812 kB / 0.6591 GB, free: 182 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/1.664, allocations: 0.9341 MB / 0.66 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.664, allocations: 4.344 kB / 0.66 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/1.664, allocations: 75.36 kB / 0.6601 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.664, allocations: 3.969 kB / 0.6601 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/1.665, allocations: 11.91 kB / 0.6601 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.43e-06/1.665, allocations: 7.766 kB / 0.6601 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.345e-06/1.665, allocations: 7.906 kB / 0.6601 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.666, allocations: 0.7005 MB / 0.6608 GB, free: 180.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/1.666, allocations: 377.7 kB / 0.6612 GB, free: 180.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.666, allocations: 11.91 kB / 0.6612 GB, free: 180.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/1.667, allocations: 19.8 kB / 0.6612 GB, free: 180.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/1.667, allocations: 39.59 kB / 0.6612 GB, free: 180.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/1.667, allocations: 15.84 kB / 0.6612 GB, free: 180.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007459/1.668, allocations: 0.4971 MB / 0.6617 GB, free: 180.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.668, allocations: 3.844 kB / 0.6617 GB, free: 180.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003983/1.672, allocations: 1.518 MB / 0.6632 GB, free: 180 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 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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.008001/1.68, allocations: 1.72 MB / 0.6649 GB, free: 178.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009547/1.681, allocations: 408 kB / 0.6653 GB, free: 178.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.742e-06/1.681, allocations: 0 / 0.6653 GB, free: 178.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/1.681, allocations: 278.7 kB / 0.6655 GB, free: 177.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/1.682, allocations: 129.3 kB / 0.6657 GB, free: 177.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/1.686, allocations: 2.641 MB / 0.6682 GB, free: 175.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/1.686, allocations: 1.005 MB / 0.6692 GB, free: 174.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.686, allocations: 59.41 kB / 0.6693 GB, free: 174.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.655e-06/1.686, allocations: 0 / 0.6693 GB, free: 174.3 MB / 490.7 MB Notification: Performance of Templates: time 0.05592/1.742, allocations: 37.27 MB / 0.7057 GB, free: 137 MB / 490.7 MB