Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.61/1.61, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003857, allocations: 8 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07173/0.07214, allocations: 38.78 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03885/0.111, allocations: 26.91 MB / 298.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1993/0.3104, allocations: 13.17 MB / 312 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.3109, allocations: 6.078 kB / 312 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.3117, allocations: 231.4 kB / 312.3 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.3125, allocations: 255.3 kB / 312.5 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02157/0.334, allocations: 4.481 MB / 317 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.3358, allocations: 0.6162 MB / 317.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.3361, allocations: 78.8 kB / 317.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01015/0.3462, allocations: 3.214 MB / 320.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.3468, allocations: 190.3 kB / 321.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.3469, allocations: 17.78 kB / 321.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.3586, allocations: 3.352 MB / 324.5 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3588, allocations: 81.45 kB / 324.5 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.3591, allocations: 103.8 kB / 324.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.3633, allocations: 1.63 MB / 326.3 MB, free: 6.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.424e-06/0.3634, allocations: 0 / 326.3 MB, free: 6.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.184e-06/0.3634, allocations: 0 / 326.3 MB, free: 6.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3634, allocations: 0 / 326.3 MB, free: 6.793 MB / 250.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.002464/0.3659, allocations: 0.7462 MB / 327 MB, free: 6.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.366, allocations: 13.81 kB / 327 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3675, allocations: 83.47 kB / 327.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.3681, allocations: 300.7 kB / 327.4 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.3681, allocations: 27.69 kB / 327.4 MB, free: 5.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.3682, allocations: 26.47 kB / 327.5 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.3701, allocations: 449.5 kB / 327.9 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.3702, allocations: 0 / 327.9 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3703, allocations: 15.06 kB / 327.9 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.3703, allocations: 5.594 kB / 327.9 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.372, allocations: 324.2 kB / 328.2 MB, free: 5.352 MB / 250.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.005373/0.3775, allocations: 2.62 MB / 330.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3788, allocations: 254.5 kB / 331.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04083/0.4197, allocations: 15.51 MB / 346.6 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.4198, allocations: 39.66 kB / 346.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.01e-06/0.4198, allocations: 0 / 346.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.005794/0.4256, allocations: 1.304 MB / 347.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4257, allocations: 63.34 kB / 348 MB, free: 15.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.4261, allocations: 266.5 kB / 348.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.4262, allocations: 33.7 kB / 348.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.4264, allocations: 254.3 kB / 348.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.4266, allocations: 101.6 kB / 348.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4266, allocations: 8 kB / 348.7 MB, free: 15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4268, allocations: 330.8 kB / 349 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.4271, allocations: 96.84 kB / 349.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.4274, allocations: 218.9 kB / 349.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.4278, allocations: 135.9 kB / 349.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-06/0.4278, allocations: 0 / 349.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001121/0.4289, allocations: 431 kB / 349.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.429, allocations: 4 kB / 349.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.429, allocations: 4 kB / 349.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/0.4326, allocations: 269.3 kB / 350.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.4331, allocations: 79.89 kB / 350.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.4358, allocations: 1.892 MB / 352.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.4363, allocations: 27.94 kB / 352.1 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.4364, allocations: 16 kB / 352.1 MB, free: 11.3 MB / 282.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): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002861/0.4367, allocations: 169.8 kB / 352.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.4368, allocations: 31.62 kB / 352.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.4384, allocations: 0.9481 MB / 353.3 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.4384, allocations: 11.98 kB / 353.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.321e-06/0.4384, allocations: 4 kB / 353.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/0.4399, allocations: 1.114 MB / 354.4 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.4426, allocations: 1.593 MB / 356 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.009e-06/0.4426, allocations: 0 / 356 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.4429, allocations: 51.91 kB / 356 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/0.445, allocations: 295.8 kB / 356.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.4451, allocations: 11.95 kB / 356.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/0.4458, allocations: 0.6656 MB / 357 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4458, allocations: 0 / 357 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.4475, allocations: 0.9487 MB / 358 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.4477, allocations: 136.4 kB / 358.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.4478, allocations: 4 kB / 358.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.4481, allocations: 20.11 kB / 358.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.4482, allocations: 23.97 kB / 358.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4482, allocations: 15.94 kB / 358.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003654/0.4486, allocations: 235 kB / 358.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4486, allocations: 0 / 358.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001684/0.4503, allocations: 499.8 kB / 358.9 MB, free: 4.309 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002594/0.453, allocations: 0.5156 MB / 359.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.4544, allocations: 0.5139 MB / 359.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.4545, allocations: 5 kB / 359.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.4551, allocations: 296.4 kB / 360.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.4564, allocations: 188.9 kB / 360.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4586, allocations: 1.259 MB / 361.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.4592, allocations: 0.8325 MB / 362.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4593, allocations: 43.42 kB / 362.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of SimCode: time 1.529e-06/0.4593, allocations: 0 / 362.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of Templates: time 0.02988/0.4892, allocations: 16.38 MB / 378.9 MB, free: 244 kB / 298.7 MB