Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09179, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04649/0.1383, allocations: 27.1 MB / 336.2 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.1715, allocations: 13.31 MB / 349.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.172, allocations: 4 kB / 349.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1731, allocations: 231 kB / 349.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008102/0.1739, allocations: 255.2 kB / 350 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02016/0.1941, allocations: 4.523 MB / 354.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.1955, allocations: 0.5896 MB / 355.1 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.1958, allocations: 87.14 kB / 355.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00931/0.2051, allocations: 3.27 MB / 358.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.2056, allocations: 187.3 kB / 358.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.2057, allocations: 16 kB / 358.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/0.222, allocations: 5.939 MB / 364.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.2223, allocations: 83.7 kB / 364.7 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.2225, allocations: 109.6 kB / 364.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.2292, allocations: 2.6 MB / 367.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2293, allocations: 4 kB / 367.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2293, allocations: 0 / 367.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2293, allocations: 0 / 367.4 MB, free: 5.906 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003205/0.2325, allocations: 0.9006 MB / 368.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.2326, allocations: 8.031 kB / 368.3 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.2355, allocations: 167.4 kB / 368.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/0.2364, allocations: 314.4 kB / 368.7 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.2365, allocations: 28.59 kB / 368.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2366, allocations: 28 kB / 368.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.2393, allocations: 0.5268 MB / 369.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.2394, allocations: 4 kB / 369.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2395, allocations: 16 kB / 369.3 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.2395, allocations: 8 kB / 369.4 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.241, allocations: 321.8 kB / 369.7 MB, free: 3.477 MB / 314.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.006678/0.2477, allocations: 2.573 MB / 372.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.249, allocations: 262.8 kB / 372.5 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3778/0.6268, allocations: 31.19 MB / 403.7 MB, free: 25.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.6269, allocations: 37.69 kB / 403.7 MB, free: 25.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/0.627, allocations: 2.719 kB / 403.7 MB, free: 25.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.004673/0.6316, allocations: 1.211 MB / 404.9 MB, free: 25.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.6317, allocations: 58.19 kB / 405 MB, free: 24.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.632, allocations: 261.6 kB / 405.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.6321, allocations: 28.95 kB / 405.3 MB, free: 24.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.6322, allocations: 186.2 kB / 405.5 MB, free: 24.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.6323, allocations: 114.6 kB / 405.6 MB, free: 24.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.6323, allocations: 6.188 kB / 405.6 MB, free: 24.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.6324, allocations: 343.6 kB / 405.9 MB, free: 24.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.6327, allocations: 95.75 kB / 406 MB, free: 24.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.633, allocations: 209.1 kB / 406.2 MB, free: 23.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.6333, allocations: 130.3 kB / 406.3 MB, free: 23.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6333, allocations: 0 / 406.3 MB, free: 23.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001063/0.6344, allocations: 411.8 kB / 406.7 MB, free: 23.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.6345, allocations: 11.55 kB / 406.8 MB, free: 23.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6345, allocations: 4 kB / 406.8 MB, free: 23.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.6349, allocations: 65.55 kB / 406.8 MB, free: 23.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.6355, allocations: 92.12 kB / 406.9 MB, free: 23.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.6371, allocations: 2.437 MB / 409.4 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.6377, allocations: 29.91 kB / 409.4 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.6377, allocations: 21.72 kB / 409.4 MB, free: 20.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.638, allocations: 157.9 kB / 409.6 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.6381, allocations: 38.7 kB / 409.6 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.6396, allocations: 0.8675 MB / 410.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.6407, allocations: 1.043 MB / 411.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6407, allocations: 4 kB / 411.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.6409, allocations: 141.2 kB / 411.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.641, allocations: 7.625 kB / 411.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.6416, allocations: 35.22 kB / 411.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.6417, allocations: 35.22 kB / 411.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001236/0.6429, allocations: 0.5676 MB / 412.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001193/0.6442, allocations: 0.8281 MB / 413.1 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003222/0.6445, allocations: 222.8 kB / 413.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.6448, allocations: 233.8 kB / 413.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of Backend: time 5.41e-07/0.6449, allocations: 0 / 413.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00772/0.6526, allocations: 1.431 MB / 415 MB, free: 16.59 MB / 314.7 MB Notification: Performance of SimCode: time 0.002352/0.655, allocations: 1.49 MB / 416.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Templates: time 0.07917/0.7342, allocations: 37.32 MB / 453.8 MB, free: 9.934 MB / 346.7 MB