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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 16 kB / 314.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05564/0.3343, allocations: 34.33 MB / 403.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008389/0.3427, allocations: 4.136 MB / 407.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.3437, allocations: 19.81 kB / 407.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3448, allocations: 270.6 kB / 407.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.3476, allocations: 0.6979 MB / 408.6 MB, free: 3.148 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.3505, allocations: 0.6938 MB / 409.3 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.3529, allocations: 1.148 MB / 410.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008239/0.3537, allocations: 377.3 kB / 410.9 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4248/0.7786, allocations: 72.02 MB / 482.9 MB, free: 62.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02095/0.7995, allocations: 13.26 MB / 496.1 MB, free: 56.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.7998, allocations: 32 kB / 496.2 MB, free: 56.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02863/0.8284, allocations: 18.38 MB / 0.5025 GB, free: 40.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.8288, allocations: 216.3 kB / 0.5027 GB, free: 40.71 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.8291, allocations: 159.1 kB / 0.5028 GB, free: 40.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.8301, allocations: 0.7541 MB / 0.5036 GB, free: 39.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.618e-06/0.8302, allocations: 0 / 0.5036 GB, free: 39.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.8302, allocations: 0 / 0.5036 GB, free: 39.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.8302, allocations: 2.906 kB / 0.5036 GB, free: 39.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001914/0.8321, allocations: 0.9266 MB / 0.5045 GB, free: 39.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.8322, allocations: 12.03 kB / 0.5045 GB, free: 39.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.8326, allocations: 89.2 kB / 0.5046 GB, free: 38.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008277/0.8334, allocations: 0.4928 MB / 0.5051 GB, free: 38.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.8336, allocations: 101.1 kB / 0.5052 GB, free: 38.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.8337, allocations: 47.19 kB / 0.5052 GB, free: 38.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.835, allocations: 0.8186 MB / 0.506 GB, free: 37.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.8351, allocations: 2.734 kB / 0.506 GB, free: 37.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.8352, allocations: 27.38 kB / 0.506 GB, free: 37.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/0.8353, allocations: 48.38 kB / 0.5061 GB, free: 37.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.8365, allocations: 0.6417 MB / 0.5067 GB, free: 37.26 MB / 394.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.00477/0.8413, allocations: 4.214 MB / 0.5108 GB, free: 33.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.8423, allocations: 410.8 kB / 0.5112 GB, free: 33.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.8427, allocations: 0.5036 MB / 0.5117 GB, free: 32.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.8428, allocations: 37.83 kB / 0.5117 GB, free: 32.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 3.896e-06/0.8428, allocations: 0 / 0.5117 GB, free: 32.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.003663/0.8465, allocations: 1.51 MB / 0.5132 GB, free: 31.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.8465, allocations: 139.9 kB / 0.5133 GB, free: 31.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.8472, allocations: 0.5428 MB / 0.5139 GB, free: 30.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.8473, allocations: 36.95 kB / 0.5139 GB, free: 30.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.8475, allocations: 405.4 kB / 0.5143 GB, free: 30.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.8477, allocations: 164.4 kB / 0.5145 GB, free: 30.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.8477, allocations: 19.81 kB / 0.5145 GB, free: 30.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.8478, allocations: 337.6 kB / 0.5148 GB, free: 29.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.8483, allocations: 221.7 kB / 0.515 GB, free: 29.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.8489, allocations: 0.5393 MB / 0.5155 GB, free: 29.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.8495, allocations: 323.6 kB / 0.5158 GB, free: 28.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.135e-06/0.8495, allocations: 4 kB / 0.5158 GB, free: 28.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002182/0.8517, allocations: 0.9468 MB / 0.5168 GB, free: 28.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.8518, allocations: 8.188 kB / 0.5168 GB, free: 28.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.8518, allocations: 16 kB / 0.5168 GB, free: 28.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.8531, allocations: 263.1 kB / 0.517 GB, free: 28.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.8536, allocations: 130 kB / 0.5172 GB, free: 27.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009951/0.8546, allocations: 0.8622 MB / 0.518 GB, free: 27.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.8553, allocations: 44.27 kB / 0.5181 GB, free: 27.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.8554, allocations: 39 kB / 0.5181 GB, free: 27.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003708/0.8558, allocations: 252.9 kB / 0.5183 GB, free: 26.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.856, allocations: 63.25 kB / 0.5184 GB, free: 26.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.8575, allocations: 0.7111 MB / 0.5191 GB, free: 26.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.8576, allocations: 12.03 kB / 0.5191 GB, free: 26.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.54e-06/0.8576, allocations: 0 / 0.5191 GB, free: 26.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8576, allocations: 7.828 kB / 0.5191 GB, free: 26.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.86, allocations: 1.387 MB / 0.5205 GB, free: 25.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.8601, allocations: 0 / 0.5205 GB, free: 25.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.8612, allocations: 191.1 kB / 0.5206 GB, free: 25.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.8616, allocations: 71.75 kB / 0.5207 GB, free: 25.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.8617, allocations: 13.92 kB / 0.5207 GB, free: 25.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.8639, allocations: 2.805 MB / 0.5235 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.455e-06/0.8639, allocations: 0 / 0.5235 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.8657, allocations: 0.9859 MB / 0.5244 GB, free: 21.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.8661, allocations: 203.5 kB / 0.5246 GB, free: 21.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.8662, allocations: 18.8 kB / 0.5246 GB, free: 21.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.8667, allocations: 25.48 kB / 0.5247 GB, free: 21.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.8669, allocations: 41.36 kB / 0.5247 GB, free: 21.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.8669, allocations: 23.48 kB / 0.5247 GB, free: 21.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.8675, allocations: 380.6 kB / 0.5251 GB, free: 20.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.89e-07/0.8675, allocations: 0 / 0.5251 GB, free: 20.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009749/0.8685, allocations: 206.6 kB / 0.5253 GB, free: 20.72 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004947/0.869, allocations: 234.2 kB / 0.5255 GB, free: 20.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.8703, allocations: 0.5968 MB / 0.5261 GB, free: 20.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/0.8704, allocations: 4 kB / 0.5261 GB, free: 20.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.8717, allocations: 471 kB / 0.5265 GB, free: 19.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.8733, allocations: 309.9 kB / 0.5268 GB, free: 19.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.8757, allocations: 1.695 MB / 0.5285 GB, free: 17.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.8762, allocations: 0.9507 MB / 0.5294 GB, free: 16.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.8765, allocations: 67.41 kB / 0.5295 GB, free: 16.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.755e-06/0.8765, allocations: 0 / 0.5295 GB, free: 16.89 MB / 394.7 MB Notification: Performance of Templates: time 0.02017/0.8967, allocations: 14.68 MB / 0.5438 GB, free: 2.41 MB / 394.7 MB