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.R134a.R134a1.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.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.558/1.558, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 12 kB / 233.1 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06854/0.06894, allocations: 38.78 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0316/0.1006, allocations: 22.4 MB / 294.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2077/0.3084, allocations: 20.74 MB / 315.1 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.3088, allocations: 7.188 kB / 315.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.3097, allocations: 241.2 kB / 315.3 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006135/0.3103, allocations: 264.1 kB / 315.6 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.3221, allocations: 3.099 MB / 318.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000993/0.3231, allocations: 0.5391 MB / 319.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3233, allocations: 86.75 kB / 319.3 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.3239, allocations: 294.7 kB / 319.6 MB, free: 7.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.3242, allocations: 191 kB / 319.8 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.3243, allocations: 21.88 kB / 319.8 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07724/0.4015, allocations: 53.57 MB / 373.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.4018, allocations: 78.06 kB / 373.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.4021, allocations: 105.6 kB / 373.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04014/0.4422, allocations: 10.66 MB / 384.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.608e-06/0.4423, allocations: 0 / 384.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4423, allocations: 0 / 384.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.49e-06/0.4423, allocations: 0 / 384.2 MB, free: 12.79 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006761/0.4491, allocations: 1.063 MB / 385.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4491, allocations: 12.03 kB / 385.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.4498, allocations: 65.31 kB / 385.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.4503, allocations: 324.9 kB / 385.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4504, allocations: 24.66 kB / 385.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.4505, allocations: 33.2 kB / 385.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.4517, allocations: 459.8 kB / 386.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.4517, allocations: 0 / 386.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.4518, allocations: 16.69 kB / 386.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.4518, allocations: 8 kB / 386.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4528, allocations: 386.2 kB / 386.6 MB, free: 10.31 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.00447/0.4573, allocations: 2.953 MB / 389.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.4582, allocations: 290.5 kB / 389.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/0.4614, allocations: 2.548 MB / 392.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4615, allocations: 34.56 kB / 392.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.436e-06/0.4615, allocations: 0 / 392.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.006602/0.4681, allocations: 1.289 MB / 393.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.4682, allocations: 55.41 kB / 393.7 MB, free: 2.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.4686, allocations: 270.4 kB / 394 MB, free: 2.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.4687, allocations: 37.7 kB / 394 MB, free: 2.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.4689, allocations: 246.4 kB / 394.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.469, allocations: 114.2 kB / 394.4 MB, free: 1.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.4691, allocations: 12 kB / 394.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4693, allocations: 330.8 kB / 394.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.4696, allocations: 112.8 kB / 394.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.47, allocations: 222.1 kB / 395 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.4703, allocations: 147.9 kB / 395.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4703, allocations: 3.938 kB / 395.2 MB, free: 0.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001186/0.4715, allocations: 443.6 kB / 395.6 MB, free: 356 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4716, allocations: 8 kB / 395.6 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9e-06/0.4716, allocations: 0 / 395.6 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/0.4768, allocations: 237.9 kB / 395.9 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.4773, allocations: 87.89 kB / 395.9 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.4793, allocations: 1.854 MB / 397.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.4798, allocations: 40.11 kB / 397.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.4798, allocations: 16 kB / 397.9 MB, free: 13.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 46 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.4801, allocations: 162 kB / 398 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.4802, allocations: 27.72 kB / 398 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.4817, allocations: 0.7007 MB / 398.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4817, allocations: 11.98 kB / 398.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.593e-06/0.4818, allocations: 0 / 398.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/0.483, allocations: 0.8593 MB / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.4852, allocations: 1.198 MB / 400.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.4852, allocations: 3.953 kB / 400.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.4855, allocations: 59.97 kB / 400.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.4874, allocations: 184.5 kB / 401.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.4874, allocations: 8 kB / 401.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000551/0.488, allocations: 0.5679 MB / 401.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.987e-06/0.488, allocations: 0 / 401.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.4895, allocations: 0.7483 MB / 402.4 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.4897, allocations: 124.6 kB / 402.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.4898, allocations: 9.938 kB / 402.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.4901, allocations: 19.92 kB / 402.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.4902, allocations: 27.91 kB / 402.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.4902, allocations: 11.98 kB / 402.6 MB, free: 9.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.4906, allocations: 226 kB / 402.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4906, allocations: 0 / 402.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004716/0.4953, allocations: 0.734 MB / 403.5 MB, free: 8.062 MB / 330.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.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.05269/0.5481, allocations: 6.399 MB / 409.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.5493, allocations: 474.7 kB / 410.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.082e-06/0.5493, allocations: 4 kB / 410.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.5499, allocations: 224 kB / 410.6 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.551, allocations: 180.6 kB / 410.8 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.5532, allocations: 1.119 MB / 411.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.5537, allocations: 0.8129 MB / 412.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5539, allocations: 47.38 kB / 412.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.705e-06/0.5539, allocations: 0 / 412.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Templates: time 0.05466/0.6086, allocations: 30.09 MB / 442.8 MB, free: 0.6484 MB / 362.7 MB