Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.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.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07942/0.07979, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03538/0.1152, allocations: 22.41 MB / 295 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2435/0.3588, allocations: 20.74 MB / 315.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.3593, allocations: 2.281 kB / 315.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3603, allocations: 246.2 kB / 316 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007051/0.3611, allocations: 258.9 kB / 316.3 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.3753, allocations: 3.11 MB / 319.4 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3765, allocations: 0.5423 MB / 319.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.3767, allocations: 84.8 kB / 320 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.3774, allocations: 296.5 kB / 320.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.3777, allocations: 187.5 kB / 320.5 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.3778, allocations: 16.81 kB / 320.5 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09517/0.473, allocations: 53.56 MB / 374.1 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.4733, allocations: 82.38 kB / 374.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.4736, allocations: 109.5 kB / 374.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05863/0.5322, allocations: 10.66 MB / 384.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5323, allocations: 4 kB / 384.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5323, allocations: 3.938 kB / 384.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.5323, allocations: 0 / 384.9 MB, free: 12.45 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.008345/0.5407, allocations: 1.057 MB / 386 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5407, allocations: 8.031 kB / 386 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000708/0.5415, allocations: 65.31 kB / 386 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.542, allocations: 318.4 kB / 386.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.5421, allocations: 28.66 kB / 386.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.5422, allocations: 34.08 kB / 386.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5434, allocations: 455.8 kB / 386.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5435, allocations: 3.938 kB / 386.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.5435, allocations: 16.69 kB / 386.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5436, allocations: 8 kB / 386.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.5447, allocations: 390.2 kB / 387.3 MB, free: 9.98 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.005035/0.5497, allocations: 2.958 MB / 390.2 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.5507, allocations: 291.4 kB / 390.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003659/0.5544, allocations: 2.54 MB / 393.1 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5544, allocations: 34.56 kB / 393.1 MB, free: 3.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.946e-06/0.5544, allocations: 4 kB / 393.1 MB, free: 3.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.007508/0.562, allocations: 1.297 MB / 394.4 MB, free: 2.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.562, allocations: 59.39 kB / 394.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.5624, allocations: 258.5 kB / 394.7 MB, free: 1.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.5625, allocations: 37.64 kB / 394.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.5627, allocations: 184.2 kB / 394.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.5628, allocations: 122.2 kB / 395 MB, free: 1.352 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.5629, allocations: 12 kB / 395 MB, free: 1.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.563, allocations: 342.8 kB / 395.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.5634, allocations: 108.8 kB / 395.5 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.5638, allocations: 230 kB / 395.7 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.5642, allocations: 143.8 kB / 395.8 MB, free: 492 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5642, allocations: 7.875 kB / 395.9 MB, free: 484 kB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001313/0.5656, allocations: 454.7 kB / 396.3 MB, free: 16 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5656, allocations: 8 kB / 396.3 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5656, allocations: 0 / 396.3 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00767/0.5733, allocations: 229.8 kB / 396.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.5739, allocations: 95.83 kB / 396.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.5758, allocations: 1.856 MB / 398.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.5762, allocations: 35.92 kB / 398.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.5763, allocations: 12 kB / 398.5 MB, free: 13.62 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.0002674/0.5766, allocations: 166.1 kB / 398.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.5767, allocations: 31.62 kB / 398.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.5783, allocations: 0.6969 MB / 399.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.5796, allocations: 0.8633 MB / 400.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5796, allocations: 3.984 kB / 400.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.5798, allocations: 124.6 kB / 400.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.5799, allocations: 11.98 kB / 400.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.5803, allocations: 23.84 kB / 400.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.5804, allocations: 23.97 kB / 400.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001422/0.5818, allocations: 0.514 MB / 401 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001441/0.5833, allocations: 0.7595 MB / 401.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003824/0.5837, allocations: 184.8 kB / 401.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003383/0.584, allocations: 222 kB / 402.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of Backend: time 9.02e-07/0.584, allocations: 3.938 kB / 402.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0912/0.6752, allocations: 9.948 MB / 412.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of SimCode: time 0.002676/0.678, allocations: 1.435 MB / 413.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Templates: time 0.2871/0.9651, allocations: 32.48 MB / 446 MB, free: 130.4 MB / 362.7 MB