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.R134a.R134a1.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.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 11.98 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07767, allocations: 44.52 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0326/0.1103, allocations: 22.41 MB / 330.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03235/0.1427, allocations: 20.78 MB / 351.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.1431, allocations: 4 kB / 351.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008538/0.144, allocations: 239 kB / 351.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000678/0.1447, allocations: 259.3 kB / 352 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.156, allocations: 3.097 MB / 355.1 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.1571, allocations: 0.5428 MB / 355.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.1573, allocations: 96.81 kB / 355.8 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.1579, allocations: 291.1 kB / 356.1 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1583, allocations: 191.2 kB / 356.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1583, allocations: 16 kB / 356.3 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2809/0.4392, allocations: 53.56 MB / 409.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.4394, allocations: 81.47 kB / 409.9 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.4396, allocations: 112.8 kB / 410 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03702/0.4767, allocations: 10.65 MB / 420.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.532e-06/0.4767, allocations: 0 / 420.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4767, allocations: 0 / 420.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.448e-06/0.4767, allocations: 0 / 420.7 MB, free: 11.48 MB / 330.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.00654/0.4833, allocations: 1.062 MB / 421.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4833, allocations: 12.03 kB / 421.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.484, allocations: 59.59 kB / 421.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.4845, allocations: 312 kB / 422.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.4846, allocations: 22.34 kB / 422.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.4846, allocations: 36.31 kB / 422.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4858, allocations: 461.2 kB / 422.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.4858, allocations: 4 kB / 422.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.4859, allocations: 18.95 kB / 422.6 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.4859, allocations: 8 kB / 422.6 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009754/0.4869, allocations: 382 kB / 423 MB, free: 9.414 MB / 330.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.004331/0.4912, allocations: 2.954 MB / 426 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.4921, allocations: 298.2 kB / 426.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00315/0.4953, allocations: 2.538 MB / 428.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4954, allocations: 40 kB / 428.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.559e-06/0.4954, allocations: 0 / 428.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.006475/0.5019, allocations: 1.29 MB / 430.1 MB, free: 2.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.5019, allocations: 58.66 kB / 430.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.5023, allocations: 266.4 kB / 430.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.5024, allocations: 28.95 kB / 430.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.5026, allocations: 251.7 kB / 430.7 MB, free: 1.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.5027, allocations: 123.7 kB / 430.8 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.5028, allocations: 6.875 kB / 430.8 MB, free: 1.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.503, allocations: 325.3 kB / 431.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.5032, allocations: 113.5 kB / 431.3 MB, free: 1.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.5036, allocations: 227.2 kB / 431.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.504, allocations: 141.2 kB / 431.6 MB, free: 1.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.504, allocations: 0 / 431.6 MB, free: 1.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001132/0.5051, allocations: 453.1 kB / 432.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5052, allocations: 8 kB / 432.1 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5052, allocations: 5 kB / 432.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00516/0.5104, allocations: 235.8 kB / 432.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.5109, allocations: 89.3 kB / 432.4 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.5129, allocations: 1.856 MB / 434.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.5133, allocations: 30.58 kB / 434.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.5134, allocations: 23.67 kB / 434.3 MB, free: 14.5 MB / 346.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.0002652/0.5137, allocations: 165.6 kB / 434.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.5138, allocations: 31.67 kB / 434.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.5152, allocations: 0.696 MB / 435.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.5152, allocations: 7.984 kB / 435.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.769e-06/0.5152, allocations: 0 / 435.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.5164, allocations: 0.8554 MB / 436.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.5184, allocations: 1.193 MB / 437.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5184, allocations: 5 kB / 437.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.5188, allocations: 61.22 kB / 437.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.5205, allocations: 180.1 kB / 437.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.5206, allocations: 8.875 kB / 437.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005187/0.5211, allocations: 0.5796 MB / 438.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-06/0.5211, allocations: 0 / 438.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.5225, allocations: 0.7375 MB / 438.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.5227, allocations: 127.5 kB / 438.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.5228, allocations: 12.38 kB / 439 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.5231, allocations: 17.5 kB / 439 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.5231, allocations: 18.97 kB / 439 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.5232, allocations: 19.23 kB / 439 MB, free: 10.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003203/0.5235, allocations: 218.9 kB / 439.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.5235, allocations: 0 / 439.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004586/0.5281, allocations: 0.7468 MB / 440 MB, free: 9.875 MB / 346.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.05505/0.5832, allocations: 6.394 MB / 446.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5844, allocations: 480.3 kB / 446.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.373e-06/0.5844, allocations: 0 / 446.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.5849, allocations: 220.8 kB / 447.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.5862, allocations: 172.9 kB / 447.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.5882, allocations: 1.118 MB / 448.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.5888, allocations: 0.8167 MB / 449.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.589, allocations: 43.23 kB / 449.2 MB, free: 1.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.548e-06/0.589, allocations: 4 kB / 449.2 MB, free: 1.098 MB / 346.7 MB Notification: Performance of Templates: time 0.0543/0.6433, allocations: 30.1 MB / 479.3 MB, free: 3.527 MB / 378.7 MB