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.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003507, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08988, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04849/0.1384, allocations: 31.52 MB / 340.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04404/0.1825, allocations: 25.56 MB / 366.1 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005533/0.1831, allocations: 7.938 kB / 366.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.1845, allocations: 334.6 kB / 366.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1855, allocations: 362.9 kB / 366.8 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01609/0.2016, allocations: 3.97 MB / 370.8 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2033, allocations: 0.7731 MB / 371.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.2036, allocations: 122.1 kB / 371.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008533/0.2045, allocations: 402.7 kB / 372.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.205, allocations: 274.9 kB / 372.3 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.211e-05/0.2051, allocations: 24 kB / 372.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3803/0.5854, allocations: 69.16 MB / 441.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.5857, allocations: 116.4 kB / 441.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.586, allocations: 141.2 kB / 441.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07905/0.6651, allocations: 13.85 MB / 455.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6651, allocations: 0 / 455.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6651, allocations: 0 / 455.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.6652, allocations: 0 / 455.6 MB, free: 15.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01069/0.6758, allocations: 1.318 MB / 457 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.6759, allocations: 12.03 kB / 457 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.6768, allocations: 90.66 kB / 457.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.6775, allocations: 367.5 kB / 457.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.6776, allocations: 37.25 kB / 457.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.6777, allocations: 49.84 kB / 457.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.6793, allocations: 0.6132 MB / 458.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.6794, allocations: 4.234 kB / 458.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.6795, allocations: 22.25 kB / 458.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6795, allocations: 12 kB / 458.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.681, allocations: 0.5273 MB / 458.7 MB, free: 13.05 MB / 378.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.008659/0.6896, allocations: 3.814 MB / 462.5 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.6917, allocations: 403.7 kB / 462.9 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0066/0.6983, allocations: 3.558 MB / 466.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.6984, allocations: 46.77 kB / 466.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 4.569e-06/0.6984, allocations: 0 / 466.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.02119/0.7196, allocations: 2.05 MB / 468.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.7197, allocations: 55.84 kB / 468.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.7203, allocations: 301.6 kB / 468.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.7204, allocations: 35.39 kB / 468.9 MB, free: 3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.7207, allocations: 234.3 kB / 469.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.721, allocations: 190.9 kB / 469.3 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.7211, allocations: 15.06 kB / 469.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.7213, allocations: 353.2 kB / 469.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.722, allocations: 176.7 kB / 469.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008653/0.7229, allocations: 329.4 kB / 470.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.7238, allocations: 228.1 kB / 470.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.7238, allocations: 0 / 470.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002681/0.7265, allocations: 0.6677 MB / 471.1 MB, free: 1.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.7265, allocations: 8 kB / 471.1 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.7266, allocations: 4.562 kB / 471.1 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02327/0.7499, allocations: 455.2 kB / 471.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.7513, allocations: 142.2 kB / 471.7 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.7549, allocations: 2.997 MB / 474.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.7559, allocations: 53.88 kB / 474.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.756, allocations: 23.31 kB / 474.8 MB, free: 13.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00048/0.7565, allocations: 198 kB / 474.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.7567, allocations: 39.53 kB / 475 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.7601, allocations: 1.055 MB / 476 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002121/0.7622, allocations: 1.082 MB / 477.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7622, allocations: 0 / 477.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.7624, allocations: 143.5 kB / 477.3 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.7626, allocations: 10.94 kB / 477.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.7632, allocations: 44.06 kB / 477.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.7633, allocations: 39.75 kB / 477.4 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002398/0.7657, allocations: 0.7914 MB / 478.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002202/0.7679, allocations: 1.118 MB / 479.3 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005723/0.7685, allocations: 301.2 kB / 479.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003943/0.7689, allocations: 250.2 kB / 479.8 MB, free: 9.984 MB / 394.7 MB Notification: Performance of Backend: time 7.42e-07/0.7689, allocations: 0 / 479.8 MB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1148/0.8838, allocations: 12.61 MB / 492.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 0.003548/0.8873, allocations: 1.87 MB / 494.3 MB, free: 11.91 MB / 410.7 MB Notification: Performance of Templates: time 0.09424/0.9816, allocations: 40.3 MB / 0.5221 GB, free: 4.094 MB / 442.7 MB