Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004426, allocations: 16 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3144, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01507/0.3295, allocations: 11.69 MB / 342.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03568/0.3652, allocations: 22.28 MB / 365.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.3656, allocations: 0 / 365.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.366, allocations: 79.62 kB / 365.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02587/0.3918, allocations: 6.658 MB / 371.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3931, allocations: 303.3 kB / 372.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006438/0.3995, allocations: 3.018 MB / 375.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.452e-05/0.3996, allocations: 12.41 kB / 375.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.4003, allocations: 279.1 kB / 375.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.4114, allocations: 5.482 MB / 381 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.4115, allocations: 12 kB / 381 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02697/0.4385, allocations: 10.52 MB / 391.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4387, allocations: 43.81 kB / 391.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.4388, allocations: 73.58 kB / 391.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.4492, allocations: 4.159 MB / 395.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.746e-06/0.4493, allocations: 0 / 395.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.432e-06/0.4493, allocations: 0 / 395.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4493, allocations: 0 / 395.8 MB, free: 13.82 MB / 330.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.005077/0.4544, allocations: 1.462 MB / 397.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4544, allocations: 12.03 kB / 397.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.4567, allocations: 223.5 kB / 397.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.4571, allocations: 274.7 kB / 397.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.4572, allocations: 28.61 kB / 397.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.4573, allocations: 32 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/0.4605, allocations: 0.8327 MB / 398.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4605, allocations: 3.938 kB / 398.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.4606, allocations: 12 kB / 398.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4606, allocations: 8 kB / 398.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.4641, allocations: 0.9698 MB / 399.6 MB, free: 9.836 MB / 330.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.004537/0.4687, allocations: 2.578 MB / 402.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.4706, allocations: 378.1 kB / 402.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8526/1.323, allocations: 226.6 MB / 0.6145 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/1.325, allocations: 466 kB / 0.6149 GB, free: 10.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 4.234e-06/1.325, allocations: 4 kB / 0.6149 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004067/1.329, allocations: 0.7767 MB / 0.6157 GB, free: 9.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002357/1.33, allocations: 367.8 kB / 0.616 GB, free: 9.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/1.33, allocations: 185.9 kB / 0.6162 GB, free: 8.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/1.33, allocations: 33.7 kB / 0.6162 GB, free: 8.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/1.33, allocations: 255.9 kB / 0.6165 GB, free: 8.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.33, allocations: 117.9 kB / 0.6166 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/1.33, allocations: 8 kB / 0.6166 GB, free: 8.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/1.331, allocations: 330.8 kB / 0.6169 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/1.331, allocations: 77.06 kB / 0.617 GB, free: 8.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/1.331, allocations: 351.4 kB / 0.6173 GB, free: 7.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/1.332, allocations: 135.8 kB / 0.6174 GB, free: 7.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.332, allocations: 0 / 0.6174 GB, free: 7.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001257/1.333, allocations: 470.7 kB / 0.6179 GB, free: 7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.333, allocations: 12 kB / 0.6179 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.333, allocations: 8 kB / 0.6179 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/1.333, allocations: 12 kB / 0.6179 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/1.334, allocations: 143.7 kB / 0.6181 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/1.334, allocations: 19.94 kB / 0.6181 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/1.334, allocations: 55.2 kB / 0.6181 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/1.334, allocations: 43.98 kB / 0.6182 GB, free: 6.711 MB / 426.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.0002583/1.335, allocations: 161.6 kB / 0.6183 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.335, allocations: 27.81 kB / 0.6184 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/1.339, allocations: 2.656 MB / 0.6209 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/1.339, allocations: 19.98 kB / 0.621 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.339, allocations: 4 kB / 0.621 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.339, allocations: 3.984 kB / 0.621 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.34, allocations: 0.9332 MB / 0.6219 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.341, allocations: 8 kB / 0.6219 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/1.341, allocations: 75.8 kB / 0.622 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.341, allocations: 4 kB / 0.622 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.341, allocations: 12 kB / 0.622 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/1.341, allocations: 7.938 kB / 0.622 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.716e-06/1.341, allocations: 7.984 kB / 0.622 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.342, allocations: 0.6892 MB / 0.6227 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/1.343, allocations: 386.6 kB / 0.623 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/1.343, allocations: 12 kB / 0.623 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/1.344, allocations: 19.98 kB / 0.6231 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/1.344, allocations: 39.89 kB / 0.6231 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/1.344, allocations: 17.58 kB / 0.6231 GB, free: 1.504 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008796/1.345, allocations: 0.4922 MB / 0.6236 GB, free: 1 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.33e-07/1.345, allocations: 0 / 0.6236 GB, free: 1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.2525/1.597, allocations: 1.503 MB / 0.6251 GB, free: 156.2 MB / 426.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.01594/1.613, allocations: 1.704 MB / 0.6267 GB, free: 156.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/1.615, allocations: 415.7 kB / 0.6271 GB, free: 156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.615, allocations: 1.062 kB / 0.6271 GB, free: 156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009104/1.616, allocations: 278.6 kB / 0.6274 GB, free: 156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/1.618, allocations: 124.5 kB / 0.6275 GB, free: 156 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/1.626, allocations: 2.632 MB / 0.6301 GB, free: 154.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.627, allocations: 1.001 MB / 0.6311 GB, free: 154.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/1.628, allocations: 63.28 kB / 0.6311 GB, free: 154.1 MB / 426.7 MB Notification: Performance of SimCode: time 3.267e-06/1.628, allocations: 1.859 kB / 0.6311 GB, free: 154.1 MB / 426.7 MB Notification: Performance of Templates: time 0.05793/1.686, allocations: 37 MB / 0.6673 GB, free: 124.2 MB / 426.7 MB