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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.689/1.689, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 12 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.0904, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.31/16.4, allocations: 5.484 GB / 5.75 GB, free: 80.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/16.4, allocations: 75.72 kB / 5.75 GB, free: 80.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.788/21.19, allocations: 0.8108 GB / 6.561 GB, free: 18.54 MB / 442.9 MB Notification: Performance of FrontEnd: time 2.335e-06/21.19, allocations: 0 / 6.561 GB, free: 18.54 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.962e-05/21.19, allocations: 11.98 kB / 6.561 GB, free: 18.53 MB / 442.9 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.03051/21.22, allocations: 1.268 MB / 6.562 GB, free: 17.34 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/21.22, allocations: 8.031 kB / 6.562 GB, free: 17.33 MB / 442.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/21.22, allocations: 71.73 kB / 6.562 GB, free: 17.25 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/21.22, allocations: 67.59 kB / 6.562 GB, free: 17.19 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/21.22, allocations: 331.6 kB / 6.562 GB, free: 16.84 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/21.22, allocations: 24.66 kB / 6.562 GB, free: 16.82 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/21.22, allocations: 32 kB / 6.562 GB, free: 16.79 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/21.22, allocations: 455.8 kB / 6.563 GB, free: 16.3 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/21.22, allocations: 7.938 kB / 6.563 GB, free: 16.29 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/21.22, allocations: 14.31 kB / 6.563 GB, free: 16.28 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/21.22, allocations: 8 kB / 6.563 GB, free: 16.27 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/21.22, allocations: 386.3 kB / 6.563 GB, free: 15.9 MB / 442.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.008532/21.23, allocations: 5.231 MB / 6.568 GB, free: 10.42 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/21.23, allocations: 287.8 kB / 6.569 GB, free: 10.13 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003476/21.23, allocations: 2.063 MB / 6.571 GB, free: 7.719 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/21.23, allocations: 42.52 kB / 6.571 GB, free: 7.668 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 3.676e-06/21.23, allocations: 3.938 kB / 6.571 GB, free: 7.664 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.007268/21.24, allocations: 1.279 MB / 6.572 GB, free: 6.32 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/21.24, allocations: 59.41 kB / 6.572 GB, free: 6.25 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/21.24, allocations: 229.8 kB / 6.572 GB, free: 6.02 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/21.24, allocations: 29.7 kB / 6.572 GB, free: 5.984 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/21.24, allocations: 198 kB / 6.572 GB, free: 5.801 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/21.24, allocations: 118.2 kB / 6.573 GB, free: 5.699 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/21.24, allocations: 4 kB / 6.573 GB, free: 5.695 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/21.24, allocations: 346.8 kB / 6.573 GB, free: 5.348 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/21.24, allocations: 112.8 kB / 6.573 GB, free: 5.238 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/21.24, allocations: 223.2 kB / 6.573 GB, free: 4.973 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/21.24, allocations: 147.9 kB / 6.573 GB, free: 4.828 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/21.24, allocations: 4 kB / 6.573 GB, free: 4.824 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001204/21.24, allocations: 451.9 kB / 6.574 GB, free: 4.371 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/21.24, allocations: 8 kB / 6.574 GB, free: 4.363 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/21.24, allocations: 4 kB / 6.574 GB, free: 4.359 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01205/21.26, allocations: 297.3 kB / 6.574 GB, free: 4.062 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/21.26, allocations: 87.89 kB / 6.574 GB, free: 3.977 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/21.26, allocations: 1.847 MB / 6.576 GB, free: 1.973 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/21.26, allocations: 29.95 kB / 6.576 GB, free: 1.945 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/21.26, allocations: 23.95 kB / 6.576 GB, free: 1.922 MB / 442.9 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.0002634/21.26, allocations: 168 kB / 6.576 GB, free: 1.754 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/21.26, allocations: 27.62 kB / 6.576 GB, free: 1.727 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/21.26, allocations: 0.6938 MB / 6.577 GB, free: 1.027 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/21.26, allocations: 16 kB / 6.577 GB, free: 1.012 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/21.26, allocations: 0 / 6.577 GB, free: 1.012 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009858/21.26, allocations: 0.8518 MB / 6.578 GB, free: 72 kB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/21.26, allocations: 1.197 MB / 6.579 GB, free: 14.82 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/21.26, allocations: 0 / 6.579 GB, free: 14.82 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/21.26, allocations: 67.91 kB / 6.579 GB, free: 14.75 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/21.27, allocations: 200.4 kB / 6.579 GB, free: 14.55 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/21.27, allocations: 15.92 kB / 6.579 GB, free: 14.54 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000523/21.27, allocations: 0.5796 MB / 6.58 GB, free: 13.93 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/21.27, allocations: 0 / 6.58 GB, free: 13.93 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/21.27, allocations: 0.7251 MB / 6.58 GB, free: 13.19 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/21.27, allocations: 128.6 kB / 6.581 GB, free: 13.05 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/21.27, allocations: 11.95 kB / 6.581 GB, free: 13.04 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/21.27, allocations: 27.52 kB / 6.581 GB, free: 13.02 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.683e-05/21.27, allocations: 19.97 kB / 6.581 GB, free: 13 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/21.27, allocations: 15.98 kB / 6.581 GB, free: 12.98 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0003686/21.27, allocations: 214 kB / 6.581 GB, free: 12.77 MB / 458.9 MB Notification: Performance of sort global known variables: time 4.61e-07/21.27, allocations: 4 kB / 6.581 GB, free: 12.77 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01861/21.29, allocations: 0.8505 MB / 6.582 GB, free: 11.97 MB / 458.9 MB 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.2004/21.49, allocations: 20.25 MB / 6.601 GB, free: 7.77 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001404/21.49, allocations: 473.8 kB / 6.602 GB, free: 7.293 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/21.49, allocations: 0.875 kB / 6.602 GB, free: 7.293 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006089/21.49, allocations: 231.8 kB / 6.602 GB, free: 7.066 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/21.49, allocations: 184.6 kB / 6.602 GB, free: 6.887 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/21.52, allocations: 4.923 MB / 6.607 GB, free: 1.91 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/21.52, allocations: 0.8168 MB / 6.608 GB, free: 1.07 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.0007899/21.52, allocations: 187 kB / 6.608 GB, free: 0.8828 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/21.52, allocations: 135.4 kB / 6.608 GB, free: 0.75 MB / 474.9 MB Notification: Performance of SimCode: time 1.223e-06/21.52, allocations: 4 kB / 6.608 GB, free: 0.7461 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5365/22.05, allocations: 39.05 MB / 6.646 GB, free: 59.83 MB / 474.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/22.05, allocations: 199.3 kB / 6.647 GB, free: 59.59 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/26.86, allocations: 4.5 kB / 6.647 GB, free: 59.59 MB / 474.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat