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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.684/1.684, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004962, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08996, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.99/16.08, allocations: 5.484 GB / 5.75 GB, free: 95.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/16.09, allocations: 75.69 kB / 5.75 GB, free: 95.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641/21.73, allocations: 0.9865 GB / 6.736 GB, free: 35.08 MB / 474.9 MB Notification: Performance of FrontEnd: time 1.914e-06/21.73, allocations: 0 / 6.736 GB, free: 35.08 MB / 474.9 MB Notification: Performance of Transformations before backend: time 3.143e-05/21.73, allocations: 11.19 kB / 6.736 GB, free: 35.08 MB / 474.9 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.03929/21.77, allocations: 1.597 MB / 6.738 GB, free: 34.34 MB / 474.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/21.77, allocations: 11 kB / 6.738 GB, free: 34.34 MB / 474.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/21.77, allocations: 88.59 kB / 6.738 GB, free: 34.3 MB / 474.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/21.77, allocations: 91.47 kB / 6.738 GB, free: 34.28 MB / 474.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/21.77, allocations: 388.3 kB / 6.739 GB, free: 34.06 MB / 474.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/21.77, allocations: 39.06 kB / 6.739 GB, free: 34.06 MB / 474.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/21.77, allocations: 43.81 kB / 6.739 GB, free: 34.06 MB / 474.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/21.77, allocations: 0.6151 MB / 6.739 GB, free: 33.91 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/21.77, allocations: 7.469 kB / 6.739 GB, free: 33.91 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/21.77, allocations: 20.5 kB / 6.739 GB, free: 33.91 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/21.77, allocations: 11.5 kB / 6.739 GB, free: 33.91 MB / 474.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/21.77, allocations: 0.522 MB / 6.74 GB, free: 33.9 MB / 474.9 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.00995/21.78, allocations: 6.091 MB / 6.746 GB, free: 30.18 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/21.78, allocations: 422.7 kB / 6.746 GB, free: 29.95 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004745/21.79, allocations: 2.839 MB / 6.749 GB, free: 26.92 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/21.79, allocations: 46.45 kB / 6.749 GB, free: 26.88 MB / 474.9 MB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/21.79, allocations: 0 / 6.749 GB, free: 26.88 MB / 474.9 MB Notification: Performance of matching and sorting (n=54): time 0.01328/21.8, allocations: 2.019 MB / 6.751 GB, free: 25.49 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/21.8, allocations: 67.03 kB / 6.751 GB, free: 25.41 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/21.8, allocations: 269.7 kB / 6.751 GB, free: 25.23 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/21.8, allocations: 32.14 kB / 6.751 GB, free: 25.2 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/21.8, allocations: 240.8 kB / 6.752 GB, free: 25.04 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/21.8, allocations: 193.3 kB / 6.752 GB, free: 24.92 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/21.8, allocations: 10.44 kB / 6.752 GB, free: 24.92 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.0001067/21.8, allocations: 356 kB / 6.752 GB, free: 24.59 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/21.8, allocations: 175.6 kB / 6.752 GB, free: 24.5 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/21.8, allocations: 322.9 kB / 6.753 GB, free: 24.23 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/21.8, allocations: 227.4 kB / 6.753 GB, free: 24.12 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/21.8, allocations: 8 kB / 6.753 GB, free: 24.11 MB / 474.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001873/21.81, allocations: 0.6714 MB / 6.753 GB, free: 23.71 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/21.81, allocations: 8 kB / 6.753 GB, free: 23.7 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/21.81, allocations: 4 kB / 6.753 GB, free: 23.7 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/21.83, allocations: 0.5537 MB / 6.754 GB, free: 23.39 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/21.83, allocations: 141.8 kB / 6.754 GB, free: 23.28 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/21.83, allocations: 3.001 MB / 6.757 GB, free: 20.25 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/21.83, allocations: 45.34 kB / 6.757 GB, free: 20.22 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/21.83, allocations: 33.66 kB / 6.757 GB, free: 20.2 MB / 474.9 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.0003919/21.83, allocations: 178.8 kB / 6.757 GB, free: 20.06 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/21.83, allocations: 43.53 kB / 6.757 GB, free: 20.02 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/21.84, allocations: 1.067 MB / 6.758 GB, free: 19.43 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/21.84, allocations: 13 kB / 6.758 GB, free: 19.42 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/21.84, allocations: 3.953 kB / 6.758 GB, free: 19.41 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/21.84, allocations: 1.093 MB / 6.759 GB, free: 18.62 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/21.84, allocations: 1.725 MB / 6.761 GB, free: 17.65 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/21.84, allocations: 0 / 6.761 GB, free: 17.65 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/21.84, allocations: 111.2 kB / 6.761 GB, free: 17.57 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006242/21.85, allocations: 391.4 kB / 6.762 GB, free: 17.39 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/21.85, allocations: 17.33 kB / 6.762 GB, free: 17.39 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000691/21.85, allocations: 1.14 MB / 6.763 GB, free: 16.27 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/21.85, allocations: 3.953 kB / 6.763 GB, free: 16.27 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/21.85, allocations: 1.125 MB / 6.764 GB, free: 15.58 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/21.85, allocations: 138.9 kB / 6.764 GB, free: 15.44 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/21.85, allocations: 13.25 kB / 6.764 GB, free: 15.44 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/21.85, allocations: 33.55 kB / 6.764 GB, free: 15.42 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/21.85, allocations: 38.33 kB / 6.764 GB, free: 15.4 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/21.85, allocations: 26.75 kB / 6.764 GB, free: 15.39 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.000351/21.85, allocations: 244.6 kB / 6.764 GB, free: 15.22 MB / 474.9 MB Notification: Performance of sort global known variables: time 4.3e-07/21.85, allocations: 4 kB / 6.764 GB, free: 15.22 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.02326/21.88, allocations: 1.106 MB / 6.765 GB, free: 14.31 MB / 474.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.2537/22.13, allocations: 25.32 MB / 6.79 GB, free: 6.488 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.002233/22.13, allocations: 0.6963 MB / 6.791 GB, free: 6.039 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/22.13, allocations: 0 / 6.791 GB, free: 6.039 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/22.13, allocations: 359.3 kB / 6.791 GB, free: 5.852 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/22.13, allocations: 263 kB / 6.791 GB, free: 5.703 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/22.16, allocations: 6.614 MB / 6.798 GB, free: 0 / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/22.16, allocations: 0.8778 MB / 6.799 GB, free: 15.16 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.0009759/22.16, allocations: 248.6 kB / 6.799 GB, free: 15 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/22.16, allocations: 199.1 kB / 6.799 GB, free: 14.96 MB / 0.495 GB Notification: Performance of SimCode: time 3.446e-06/22.16, allocations: 0 / 6.799 GB, free: 14.96 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6913/22.86, allocations: 49.8 MB / 6.848 GB, free: 84.88 MB / 0.5106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/22.86, allocations: 199 kB / 6.848 GB, free: 84.64 MB / 0.5106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.535/28.39, allocations: 0 / 6.848 GB, free: 84.64 MB / 0.5106 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat