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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004906, allocations: 8 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2989, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.95/17.25, allocations: 5.72 GB / 6.022 GB, free: 93.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/17.25, allocations: 74.11 kB / 6.022 GB, free: 93.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 20.1/37.35, allocations: 4.514 GB / 10.54 GB, free: 91.48 MB / 0.6359 GB Notification: Performance of FrontEnd: time 3.627e-06/37.35, allocations: 0 / 10.54 GB, free: 91.48 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 3.738e-05/37.35, allocations: 15.02 kB / 10.54 GB, free: 91.48 MB / 0.6359 GB 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.05949/37.41, allocations: 2.229 MB / 10.54 GB, free: 90.39 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/37.41, allocations: 12.59 kB / 10.54 GB, free: 90.39 MB / 0.6359 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/37.41, allocations: 85.38 kB / 10.54 GB, free: 90.35 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009095/37.41, allocations: 97.06 kB / 10.54 GB, free: 90.32 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/37.41, allocations: 374.5 kB / 10.54 GB, free: 90.12 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/37.41, allocations: 38.28 kB / 10.54 GB, free: 90.12 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/37.41, allocations: 47.19 kB / 10.54 GB, free: 90.12 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/37.42, allocations: 0.6073 MB / 10.54 GB, free: 89.96 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/37.42, allocations: 3.938 kB / 10.54 GB, free: 89.96 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/37.42, allocations: 36.59 kB / 10.54 GB, free: 89.95 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/37.42, allocations: 12.5 kB / 10.54 GB, free: 89.95 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/37.42, allocations: 0.5174 MB / 10.54 GB, free: 89.94 MB / 0.6359 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.01013/37.43, allocations: 6.09 MB / 10.55 GB, free: 87.36 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/37.43, allocations: 433.5 kB / 10.55 GB, free: 87.32 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004604/37.43, allocations: 2.841 MB / 10.55 GB, free: 84.86 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/37.43, allocations: 40.62 kB / 10.55 GB, free: 84.82 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=46): time 4.478e-06/37.43, allocations: 0 / 10.55 GB, free: 84.82 MB / 0.6359 GB Notification: Performance of matching and sorting (n=54): time 0.01354/37.45, allocations: 2.031 MB / 10.55 GB, free: 84.32 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/37.45, allocations: 57.22 kB / 10.55 GB, free: 84.26 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/37.45, allocations: 278.6 kB / 10.55 GB, free: 84.15 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/37.45, allocations: 34.77 kB / 10.55 GB, free: 84.12 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/37.45, allocations: 228.3 kB / 10.55 GB, free: 83.99 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/37.45, allocations: 191.6 kB / 10.55 GB, free: 83.89 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/37.45, allocations: 13 kB / 10.55 GB, free: 83.89 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/37.45, allocations: 345.7 kB / 10.55 GB, free: 83.58 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/37.45, allocations: 179.2 kB / 10.55 GB, free: 83.58 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/37.45, allocations: 331.3 kB / 10.55 GB, free: 83.41 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/37.45, allocations: 227.9 kB / 10.55 GB, free: 83.4 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/37.45, allocations: 0 / 10.55 GB, free: 83.4 MB / 0.6359 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001897/37.45, allocations: 0.669 MB / 10.55 GB, free: 83.28 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/37.45, allocations: 11.47 kB / 10.55 GB, free: 83.28 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/37.45, allocations: 4.281 kB / 10.55 GB, free: 83.28 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02421/37.48, allocations: 0.5554 MB / 10.55 GB, free: 83.25 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/37.48, allocations: 136.9 kB / 10.55 GB, free: 83.24 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/37.48, allocations: 2.999 MB / 10.56 GB, free: 80.34 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/37.48, allocations: 53.53 kB / 10.56 GB, free: 80.34 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/37.48, allocations: 30.05 kB / 10.56 GB, free: 80.33 MB / 0.6359 GB 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.0003818/37.48, allocations: 190.2 kB / 10.56 GB, free: 80.21 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/37.48, allocations: 46.17 kB / 10.56 GB, free: 80.18 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/37.49, allocations: 1.064 MB / 10.56 GB, free: 80.05 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/37.49, allocations: 16.91 kB / 10.56 GB, free: 80.05 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/37.49, allocations: 1.5 kB / 10.56 GB, free: 80.05 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/37.49, allocations: 1.08 MB / 10.56 GB, free: 79.66 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/37.49, allocations: 1.735 MB / 10.56 GB, free: 79.29 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/37.49, allocations: 0 / 10.56 GB, free: 79.29 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/37.49, allocations: 98.27 kB / 10.56 GB, free: 79.29 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006443/37.5, allocations: 396.3 kB / 10.56 GB, free: 79.26 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/37.5, allocations: 11.19 kB / 10.56 GB, free: 79.26 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007066/37.5, allocations: 1.147 MB / 10.56 GB, free: 78.22 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/37.5, allocations: 0 / 10.56 GB, free: 78.22 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/37.5, allocations: 1.13 MB / 10.56 GB, free: 78 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/37.5, allocations: 141.4 kB / 10.56 GB, free: 77.88 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/37.5, allocations: 15.16 kB / 10.56 GB, free: 77.88 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/37.5, allocations: 26.95 kB / 10.56 GB, free: 77.88 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/37.5, allocations: 37.55 kB / 10.56 GB, free: 77.88 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/37.5, allocations: 17.98 kB / 10.56 GB, free: 77.88 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0003649/37.5, allocations: 249.4 kB / 10.56 GB, free: 77.79 MB / 0.6359 GB Notification: Performance of sort global known variables: time 3.9e-07/37.5, allocations: 0 / 10.56 GB, free: 77.79 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01961/37.52, allocations: 1.118 MB / 10.57 GB, free: 77.61 MB / 0.6359 GB 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.2234/37.74, allocations: 25.28 MB / 10.59 GB, free: 64.64 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001983/37.75, allocations: 0.6953 MB / 10.59 GB, free: 64.51 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/37.75, allocations: 0 / 10.59 GB, free: 64.51 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/37.75, allocations: 362.1 kB / 10.59 GB, free: 64.48 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/37.75, allocations: 253.1 kB / 10.59 GB, free: 64.46 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/37.77, allocations: 6.616 MB / 10.6 GB, free: 58.3 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/37.77, allocations: 0.8779 MB / 10.6 GB, free: 57.48 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0008634/37.77, allocations: 232.8 kB / 10.6 GB, free: 57.33 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/37.77, allocations: 201.1 kB / 10.6 GB, free: 57.15 MB / 0.6359 GB Notification: Performance of SimCode: time 1.293e-06/37.77, allocations: 0 / 10.6 GB, free: 57.15 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/37.91, allocations: 49.91 MB / 10.65 GB, free: 17.18 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/37.92, allocations: 185.4 kB / 10.65 GB, free: 16.95 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.634/43.55, allocations: 3.938 kB / 10.65 GB, free: 16.94 MB / 0.6359 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat