Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 1.621/1.621, allocations: 171.2 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003504, allocations: 8 kB / 233.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09454, allocations: 38.77 MB / 272.6 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.232/0.3266, allocations: 10.97 MB / 283.6 MB, free: 8.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3422, allocations: 9.764 MB / 293.4 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3424, allocations: 1.188 kB / 293.4 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.3428, allocations: 60.5 kB / 293.4 MB, free: 5.609 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.3432, allocations: 79.19 kB / 293.5 MB, free: 5.555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01717/0.3604, allocations: 3.873 MB / 297.4 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.3608, allocations: 161.8 kB / 297.5 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.3609, allocations: 12.58 kB / 297.5 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.3615, allocations: 208.2 kB / 297.7 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3616, allocations: 63.27 kB / 297.8 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3617, allocations: 5.5 kB / 297.8 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.38, allocations: 6.712 MB / 304.5 MB, free: 228 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.3801, allocations: 26.75 kB / 304.6 MB, free: 208 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.804e-05/0.3802, allocations: 54.39 kB / 304.6 MB, free: 164 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007174/0.3874, allocations: 2.533 MB / 307.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3875, allocations: 0 / 307.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3875, allocations: 0 / 307.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3875, allocations: 3.938 kB / 307.1 MB, free: 14.7 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.007024/0.3945, allocations: 1.109 MB / 308.3 MB, free: 13.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3946, allocations: 8.875 kB / 308.3 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006577/0.3953, allocations: 56.34 kB / 308.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.3956, allocations: 215.6 kB / 308.5 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.3957, allocations: 14.66 kB / 308.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.3958, allocations: 17.78 kB / 308.6 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.3977, allocations: 393.3 kB / 308.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3977, allocations: 5.312 kB / 308.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.3978, allocations: 5.375 kB / 309 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3978, allocations: 4.125 kB / 309 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.4002, allocations: 369.4 kB / 309.3 MB, free: 13.18 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.00209/0.4024, allocations: 1.199 MB / 310.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.4037, allocations: 289.6 kB / 310.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1896/0.5934, allocations: 47.79 MB / 358.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.5935, allocations: 47.73 kB / 358.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.5935, allocations: 0 / 358.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.01139/0.6049, allocations: 1.622 MB / 360.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.605, allocations: 106.8 kB / 360.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.6051, allocations: 125.8 kB / 360.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.6052, allocations: 34.14 kB / 360.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.6053, allocations: 104.5 kB / 360.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.6054, allocations: 114.4 kB / 360.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.6055, allocations: 4 kB / 360.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6056, allocations: 334.8 kB / 361.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.6063, allocations: 131.9 kB / 361.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/0.6071, allocations: 206.5 kB / 361.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.6078, allocations: 152.5 kB / 361.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6079, allocations: 8 kB / 361.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00189/0.6098, allocations: 437.9 kB / 362 MB, free: 2.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.6098, allocations: 4 kB / 362 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.6098, allocations: 4 kB / 362 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.6102, allocations: 44.77 kB / 362 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/0.6111, allocations: 96.03 kB / 362.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/0.6116, allocations: 0.5445 MB / 362.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.6121, allocations: 28.06 kB / 362.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.6122, allocations: 19.98 kB / 362.7 MB, free: 2.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.6124, allocations: 137.7 kB / 362.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.6125, allocations: 15.81 kB / 362.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.6161, allocations: 1.463 MB / 364.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6162, allocations: 4.031 kB / 364.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6162, allocations: 0 / 364.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6163, allocations: 132.3 kB / 364.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.6164, allocations: 7.953 kB / 364.5 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.6171, allocations: 35.97 kB / 364.5 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.6172, allocations: 31.89 kB / 364.5 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003273/0.6205, allocations: 1.213 MB / 365.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003674/0.6242, allocations: 1.695 MB / 367.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001098/0.6253, allocations: 472.8 kB / 367.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.59e-05/0.6254, allocations: 95.27 kB / 368 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Backend: time 6.22e-07/0.6254, allocations: 0 / 368 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009698/0.6351, allocations: 1.516 MB / 369.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of SimCode: time 0.002032/0.6372, allocations: 1.367 MB / 370.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of Templates: time 0.08752/0.7247, allocations: 38.89 MB / 409.8 MB, free: 2.922 MB / 346.7 MB