Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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) 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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003559, allocations: 12 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07966, allocations: 44.5 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04002/0.1197, allocations: 27.11 MB / 335.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02209/0.1419, allocations: 13.31 MB / 348.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.1424, allocations: 4 kB / 348.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.1432, allocations: 235 kB / 349 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007093/0.1439, allocations: 255.2 kB / 349.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01603/0.16, allocations: 4.519 MB / 353.8 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.1612, allocations: 0.6324 MB / 354.4 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.1615, allocations: 76.97 kB / 354.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006988/0.1685, allocations: 3.255 MB / 357.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1689, allocations: 191.2 kB / 357.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.1689, allocations: 16 kB / 358 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008124/0.1771, allocations: 3.398 MB / 361.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1773, allocations: 79.72 kB / 361.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.1775, allocations: 105.6 kB / 361.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.181, allocations: 1.653 MB / 363.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.802e-06/0.181, allocations: 0 / 363.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.612e-06/0.181, allocations: 0 / 363.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.1811, allocations: 0 / 363.2 MB, free: 10.06 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.00174/0.1828, allocations: 0.7484 MB / 363.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1829, allocations: 8.031 kB / 363.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009445/0.1838, allocations: 95.47 kB / 364 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.1843, allocations: 290.5 kB / 364.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.1844, allocations: 24.66 kB / 364.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.1845, allocations: 32 kB / 364.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1856, allocations: 438.2 kB / 364.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1857, allocations: 0 / 364.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.1857, allocations: 20 kB / 364.8 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1858, allocations: 8 kB / 364.8 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.1867, allocations: 313.8 kB / 365.1 MB, free: 7.977 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.003928/0.1906, allocations: 2.629 MB / 367.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/0.1914, allocations: 246.5 kB / 368 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2361/0.4275, allocations: 15.58 MB / 383.6 MB, free: 59.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.4276, allocations: 38.69 kB / 383.6 MB, free: 59.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.991e-06/0.4276, allocations: 5.5 kB / 383.6 MB, free: 59.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.005375/0.433, allocations: 1.312 MB / 384.9 MB, free: 59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4331, allocations: 59.94 kB / 385 MB, free: 58.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4334, allocations: 266.8 kB / 385.3 MB, free: 58.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.4335, allocations: 31.08 kB / 385.3 MB, free: 58.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4336, allocations: 250.8 kB / 385.5 MB, free: 58.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.4337, allocations: 116.1 kB / 385.6 MB, free: 58.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.4337, allocations: 9.375 kB / 385.7 MB, free: 58.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.4338, allocations: 323 kB / 386 MB, free: 58.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.434, allocations: 102.3 kB / 386.1 MB, free: 58.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.4344, allocations: 219.3 kB / 386.3 MB, free: 57.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.4347, allocations: 136 kB / 386.4 MB, free: 57.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-06/0.4347, allocations: 1.281 kB / 386.4 MB, free: 57.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001015/0.4357, allocations: 426.6 kB / 386.8 MB, free: 57.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4358, allocations: 7.844 kB / 386.8 MB, free: 57.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4358, allocations: 3.562 kB / 386.8 MB, free: 57.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003693/0.4395, allocations: 276.2 kB / 387.1 MB, free: 57.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.4399, allocations: 77.78 kB / 387.2 MB, free: 57.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.442, allocations: 1.881 MB / 389.1 MB, free: 55.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.4427, allocations: 29.38 kB / 389.1 MB, free: 55.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.4427, allocations: 18.78 kB / 389.1 MB, free: 55.44 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): 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.0003295/0.4431, allocations: 161.3 kB / 389.3 MB, free: 55.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.4433, allocations: 27.19 kB / 389.3 MB, free: 55.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.4446, allocations: 0.9557 MB / 390.3 MB, free: 54.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.4446, allocations: 11.95 kB / 390.3 MB, free: 54.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.58e-06/0.4446, allocations: 4 kB / 390.3 MB, free: 54.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.4457, allocations: 1.111 MB / 391.4 MB, free: 53.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.4478, allocations: 1.588 MB / 393 MB, free: 52.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.437e-06/0.4478, allocations: 3.938 kB / 393 MB, free: 52.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.4481, allocations: 47.48 kB / 393 MB, free: 52.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.4504, allocations: 295.1 kB / 393.3 MB, free: 52.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.4504, allocations: 15.11 kB / 393.3 MB, free: 52.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000532/0.451, allocations: 0.6685 MB / 394 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.459e-06/0.451, allocations: 7.453 kB / 394 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4524, allocations: 0.9529 MB / 395 MB, free: 51.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4526, allocations: 137.8 kB / 395.1 MB, free: 51.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.4527, allocations: 11.78 kB / 395.1 MB, free: 51.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.453, allocations: 19.64 kB / 395.1 MB, free: 51.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.4531, allocations: 15.58 kB / 395.1 MB, free: 51.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.4531, allocations: 11.58 kB / 395.1 MB, free: 51.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002751/0.4534, allocations: 243.2 kB / 395.4 MB, free: 51.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4534, allocations: 0 / 395.4 MB, free: 51.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00144/0.4549, allocations: 0.4927 MB / 395.9 MB, free: 50.67 MB / 314.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.00199/0.4569, allocations: 0.5069 MB / 396.4 MB, free: 50.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009915/0.4579, allocations: 0.5266 MB / 396.9 MB, free: 49.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.736e-06/0.4579, allocations: 0 / 396.9 MB, free: 49.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.4584, allocations: 286.3 kB / 397.2 MB, free: 49.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4595, allocations: 181.9 kB / 397.4 MB, free: 49.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.4612, allocations: 1.261 MB / 398.6 MB, free: 47.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4614, allocations: 0.8294 MB / 399.5 MB, free: 47.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4616, allocations: 35.44 kB / 399.5 MB, free: 47.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.616e-06/0.4616, allocations: 0 / 399.5 MB, free: 47.05 MB / 314.7 MB Notification: Performance of Templates: time 0.02372/0.4853, allocations: 16.45 MB / 415.9 MB, free: 30.6 MB / 314.7 MB