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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 194.8 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003894, allocations: 8 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.03/17.33, allocations: 5.72 GB / 6.022 GB, free: 100.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/17.33, allocations: 75.89 kB / 6.022 GB, free: 100.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.43/32.77, allocations: 3.493 GB / 9.515 GB, free: 79.13 MB / 0.5888 GB Notification: Performance of FrontEnd: time 2.164e-06/32.77, allocations: 0 / 9.515 GB, free: 79.13 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 3.672e-05/32.77, allocations: 8 kB / 9.515 GB, free: 79.12 MB / 0.5888 GB 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.0443/32.81, allocations: 1.706 MB / 9.517 GB, free: 77.74 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/32.81, allocations: 12.03 kB / 9.517 GB, free: 77.73 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/32.81, allocations: 73.81 kB / 9.517 GB, free: 77.67 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/32.81, allocations: 68.27 kB / 9.517 GB, free: 77.62 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/32.81, allocations: 324 kB / 9.517 GB, free: 77.36 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/32.81, allocations: 27.22 kB / 9.517 GB, free: 77.34 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/32.81, allocations: 29.25 kB / 9.517 GB, free: 77.32 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/32.81, allocations: 461.7 kB / 9.518 GB, free: 77.04 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/32.81, allocations: 0 / 9.518 GB, free: 77.04 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/32.81, allocations: 14.62 kB / 9.518 GB, free: 77.03 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/32.81, allocations: 12 kB / 9.518 GB, free: 77.02 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009984/32.82, allocations: 382.1 kB / 9.518 GB, free: 76.81 MB / 0.5888 GB 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.008866/32.82, allocations: 5.235 MB / 9.523 GB, free: 72.57 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/32.83, allocations: 289.5 kB / 9.523 GB, free: 72.4 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003352/32.83, allocations: 2.066 MB / 9.525 GB, free: 70.2 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/32.83, allocations: 41.95 kB / 9.526 GB, free: 70.16 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 2.805e-06/32.83, allocations: 0 / 9.526 GB, free: 70.16 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.007338/32.84, allocations: 1.274 MB / 9.527 GB, free: 69.21 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/32.84, allocations: 55.41 kB / 9.527 GB, free: 69.14 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/32.84, allocations: 239.9 kB / 9.527 GB, free: 68.97 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/32.84, allocations: 36.89 kB / 9.527 GB, free: 68.94 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/32.84, allocations: 185.8 kB / 9.527 GB, free: 68.8 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/32.84, allocations: 117 kB / 9.527 GB, free: 68.73 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/32.84, allocations: 11.25 kB / 9.527 GB, free: 68.73 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/32.84, allocations: 337.6 kB / 9.528 GB, free: 68.41 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/32.84, allocations: 110.2 kB / 9.528 GB, free: 68.36 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/32.84, allocations: 226.1 kB / 9.528 GB, free: 68.16 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/32.84, allocations: 147.1 kB / 9.528 GB, free: 68.08 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/32.84, allocations: 0 / 9.528 GB, free: 68.08 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001245/32.84, allocations: 464.8 kB / 9.529 GB, free: 67.77 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/32.84, allocations: 6.031 kB / 9.529 GB, free: 67.76 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/32.84, allocations: 4.438 kB / 9.529 GB, free: 67.76 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/32.85, allocations: 298.8 kB / 9.529 GB, free: 67.59 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/32.85, allocations: 89.55 kB / 9.529 GB, free: 67.52 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/32.85, allocations: 1.843 MB / 9.531 GB, free: 65.63 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/32.85, allocations: 35.53 kB / 9.531 GB, free: 65.61 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/32.85, allocations: 28.84 kB / 9.531 GB, free: 65.59 MB / 0.5888 GB 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.0002845/32.85, allocations: 162 kB / 9.531 GB, free: 65.45 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/32.85, allocations: 31.62 kB / 9.531 GB, free: 65.42 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/32.86, allocations: 0.6982 MB / 9.532 GB, free: 65.03 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/32.86, allocations: 4 kB / 9.532 GB, free: 65.02 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/32.86, allocations: 0 / 9.532 GB, free: 65.02 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/32.86, allocations: 0.8666 MB / 9.533 GB, free: 64.3 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/32.86, allocations: 1.197 MB / 9.534 GB, free: 63.57 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/32.86, allocations: 0 / 9.534 GB, free: 63.57 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/32.86, allocations: 66.52 kB / 9.534 GB, free: 63.52 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003321/32.86, allocations: 197.6 kB / 9.534 GB, free: 63.43 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/32.86, allocations: 11.03 kB / 9.534 GB, free: 63.42 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004368/32.86, allocations: 0.5731 MB / 9.535 GB, free: 62.86 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/32.86, allocations: 4.094 kB / 9.535 GB, free: 62.86 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/32.87, allocations: 0.7337 MB / 9.535 GB, free: 62.39 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/32.87, allocations: 127.2 kB / 9.535 GB, free: 62.26 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/32.87, allocations: 9.141 kB / 9.535 GB, free: 62.26 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/32.87, allocations: 21.11 kB / 9.535 GB, free: 62.25 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/32.87, allocations: 21.91 kB / 9.535 GB, free: 62.23 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/32.87, allocations: 14.83 kB / 9.535 GB, free: 62.23 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0003209/32.87, allocations: 220.1 kB / 9.536 GB, free: 62.07 MB / 0.5888 GB Notification: Performance of sort global known variables: time 3.61e-07/32.87, allocations: 0 / 9.536 GB, free: 62.07 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01531/32.88, allocations: 0.859 MB / 9.536 GB, free: 61.36 MB / 0.5888 GB 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.1818/33.06, allocations: 20.25 MB / 9.556 GB, free: 41.61 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001491/33.07, allocations: 482 kB / 9.557 GB, free: 41.16 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/33.07, allocations: 4 kB / 9.557 GB, free: 41.16 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0007061/33.07, allocations: 216.7 kB / 9.557 GB, free: 40.96 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/33.07, allocations: 176 kB / 9.557 GB, free: 40.84 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/33.09, allocations: 4.927 MB / 9.562 GB, free: 36.11 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/33.09, allocations: 0.816 MB / 9.563 GB, free: 35.32 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.0009125/33.09, allocations: 202.9 kB / 9.563 GB, free: 35.19 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/33.09, allocations: 136.8 kB / 9.563 GB, free: 35.07 MB / 0.5888 GB Notification: Performance of SimCode: time 1.232e-06/33.09, allocations: 0 / 9.563 GB, free: 35.07 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/33.22, allocations: 39.14 MB / 9.601 GB, free: 15.06 MB / 0.6044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/33.22, allocations: 193.3 kB / 9.601 GB, free: 14.82 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.925/38.14, allocations: 0 / 9.601 GB, free: 14.82 MB / 0.6044 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat