Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09036, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03592/0.1264, allocations: 22.43 MB / 331.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03588/0.1623, allocations: 20.77 MB / 352.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.1628, allocations: 4 kB / 352.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1638, allocations: 238.9 kB / 352.5 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007768/0.1646, allocations: 259.3 kB / 352.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01307/0.1777, allocations: 3.109 MB / 355.9 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.1789, allocations: 0.5389 MB / 356.4 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1792, allocations: 91 kB / 356.5 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006791/0.1799, allocations: 283.2 kB / 356.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.1803, allocations: 199.2 kB / 357 MB, free: 352 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.1803, allocations: 16 kB / 357 MB, free: 336 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3431/0.5234, allocations: 53.56 MB / 410.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.5237, allocations: 84.11 kB / 410.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.5238, allocations: 104.9 kB / 410.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05706/0.5809, allocations: 10.66 MB / 421.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.581, allocations: 0 / 421.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.581, allocations: 1.438 kB / 421.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.581, allocations: 0 / 421.4 MB, free: 11.01 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.008226/0.5892, allocations: 1.063 MB / 422.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5893, allocations: 9.031 kB / 422.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.59, allocations: 67.58 kB / 422.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.5906, allocations: 308.8 kB / 422.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.5906, allocations: 23.72 kB / 422.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.5907, allocations: 34.48 kB / 422.9 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.5919, allocations: 451.6 kB / 423.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5919, allocations: 0 / 423.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.592, allocations: 19.8 kB / 423.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.592, allocations: 13.14 kB / 423.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.5931, allocations: 383.7 kB / 423.7 MB, free: 8.941 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.004865/0.598, allocations: 2.956 MB / 426.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.5989, allocations: 294.8 kB / 427 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003563/0.6025, allocations: 2.539 MB / 429.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.6026, allocations: 42.03 kB / 429.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.517e-06/0.6026, allocations: 0 / 429.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.00735/0.6099, allocations: 1.29 MB / 430.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.61, allocations: 55.41 kB / 430.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.6104, allocations: 259.7 kB / 431.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.6105, allocations: 36.45 kB / 431.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6106, allocations: 186.5 kB / 431.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.6108, allocations: 124.8 kB / 431.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.6108, allocations: 8.5 kB / 431.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6109, allocations: 340.8 kB / 431.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.6113, allocations: 113.2 kB / 431.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.6117, allocations: 228.2 kB / 432.1 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.6121, allocations: 142.7 kB / 432.3 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6121, allocations: 4 kB / 432.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001258/0.6134, allocations: 457.1 kB / 432.7 MB, free: 320 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6134, allocations: 8 kB / 432.7 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6134, allocations: 6.875 kB / 432.7 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00767/0.6211, allocations: 244.7 kB / 433 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.6217, allocations: 80.59 kB / 433.1 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.6236, allocations: 1.851 MB / 434.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.624, allocations: 30.23 kB / 434.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.6241, allocations: 26.27 kB / 435 MB, free: 14.07 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.0002702/0.6244, allocations: 169.8 kB / 435.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.6245, allocations: 35.58 kB / 435.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.626, allocations: 0.6927 MB / 435.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/0.6272, allocations: 0.8578 MB / 436.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.6272, allocations: 0 / 436.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.6274, allocations: 121 kB / 436.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.6275, allocations: 11.88 kB / 436.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.6279, allocations: 25.02 kB / 436.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.628, allocations: 23.34 kB / 436.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001356/0.6293, allocations: 0.5253 MB / 437.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001361/0.6307, allocations: 0.7553 MB / 438.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003539/0.6311, allocations: 180 kB / 438.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.6314, allocations: 221.8 kB / 438.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of Backend: time 6.91e-07/0.6314, allocations: 0 / 438.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.09083/0.7223, allocations: 9.944 MB / 448.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of SimCode: time 0.002692/0.725, allocations: 1.445 MB / 450 MB, free: 204 kB / 346.7 MB Notification: Performance of Templates: time 0.07657/0.8016, allocations: 32.5 MB / 482.5 MB, free: 140 kB / 378.7 MB