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.R134a2.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.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.1_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07966/0.08004, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.268/0.3481, allocations: 31.47 MB / 304.1 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.03793/0.3861, allocations: 25.56 MB / 329.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007094/0.3868, allocations: 6.906 kB / 329.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.3882, allocations: 337.8 kB / 330 MB, free: 380 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3893, allocations: 376.3 kB / 330.4 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01878/0.4081, allocations: 3.968 MB / 334.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.4098, allocations: 0.7738 MB / 335.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.4102, allocations: 121.9 kB / 335.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/0.4111, allocations: 394.4 kB / 335.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.4116, allocations: 277.7 kB / 335.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.4116, allocations: 22.59 kB / 335.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1294/0.5411, allocations: 69.17 MB / 405.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.5414, allocations: 111.6 kB / 405.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.5418, allocations: 141.5 kB / 405.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07729/0.6191, allocations: 13.86 MB / 419.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6191, allocations: 3.938 kB / 419.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6191, allocations: 0 / 419.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.6192, allocations: 0 / 419.2 MB, free: 10.19 MB / 346.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.01068/0.6299, allocations: 1.314 MB / 420.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6299, allocations: 8.031 kB / 420.5 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/0.6309, allocations: 103.3 kB / 420.6 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.6316, allocations: 378 kB / 421 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.6317, allocations: 37 kB / 421 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.6318, allocations: 51.91 kB / 421.1 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6335, allocations: 0.6088 MB / 421.7 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.6336, allocations: 3.938 kB / 421.7 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.6337, allocations: 24 kB / 421.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.6337, allocations: 12 kB / 421.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.6352, allocations: 0.5191 MB / 422.2 MB, free: 7.008 MB / 346.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.006698/0.642, allocations: 3.811 MB / 426 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.6434, allocations: 410.4 kB / 426.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005209/0.6486, allocations: 3.56 MB / 430 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.6487, allocations: 38.94 kB / 430 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.587e-06/0.6487, allocations: 0 / 430 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.01426/0.663, allocations: 2.041 MB / 432.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.6631, allocations: 63.78 kB / 432.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.6636, allocations: 300.5 kB / 432.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.6637, allocations: 37.7 kB / 432.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.6639, allocations: 228.6 kB / 432.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.6641, allocations: 193.2 kB / 432.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.6642, allocations: 12 kB / 432.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.6644, allocations: 354.7 kB / 433.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.6649, allocations: 181.2 kB / 433.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.6656, allocations: 320.1 kB / 433.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.6662, allocations: 228.7 kB / 434 MB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6662, allocations: 0 / 434 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002108/0.6683, allocations: 0.6696 MB / 434.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.6684, allocations: 8 kB / 434.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.6684, allocations: 4 kB / 434.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01565/0.6841, allocations: 458.5 kB / 435.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6852, allocations: 143.7 kB / 435.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.6882, allocations: 2.998 MB / 438.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.6889, allocations: 52 kB / 438.3 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.689, allocations: 24 kB / 438.3 MB, free: 5.5 MB / 362.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.0003891/0.6894, allocations: 197.6 kB / 438.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.6896, allocations: 39.53 kB / 438.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.6921, allocations: 1.063 MB / 439.6 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001915/0.6941, allocations: 1.087 MB / 440.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6941, allocations: 0 / 440.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.6943, allocations: 140.4 kB / 440.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.6945, allocations: 16.86 kB / 440.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.6951, allocations: 35.83 kB / 440.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.6952, allocations: 36.52 kB / 440.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002472/0.6976, allocations: 0.7974 MB / 441.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00231/0.7, allocations: 1.114 MB / 442.8 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006259/0.7006, allocations: 300.8 kB / 443.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000429/0.7011, allocations: 247 kB / 443.3 MB, free: 304 kB / 362.7 MB Notification: Performance of Backend: time 5.71e-07/0.7011, allocations: 0 / 443.3 MB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.398/1.099, allocations: 12.61 MB / 456 MB, free: 122.4 MB / 362.7 MB Notification: Performance of SimCode: time 0.004617/1.104, allocations: 1.867 MB / 457.8 MB, free: 121.3 MB / 362.7 MB Notification: Performance of Templates: time 0.1089/1.213, allocations: 40.31 MB / 498.1 MB, free: 84.57 MB / 362.7 MB