Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.632/1.632, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005085, allocations: 8 kB / 233.4 MB, free: 172 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 38.77 MB / 272.1 MB, free: 9.312 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.12/20.22, allocations: 6.605 GB / 6.871 GB, free: 84.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/20.22, allocations: 79.45 kB / 6.871 GB, free: 84.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133/21.36, allocations: 190.5 MB / 7.057 GB, free: 52.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/21.36, allocations: 0 / 7.057 GB, free: 52.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/21.36, allocations: 3.312 kB / 7.057 GB, free: 52.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.007855/21.36, allocations: 1.465 MB / 7.058 GB, free: 51.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/21.36, allocations: 15.25 kB / 7.058 GB, free: 51.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.174e-05/21.36, allocations: 50.14 kB / 7.059 GB, free: 51.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/21.37, allocations: 22.19 kB / 7.059 GB, free: 51.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/21.37, allocations: 218.2 kB / 7.059 GB, free: 51.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/21.37, allocations: 15.05 kB / 7.059 GB, free: 51.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/21.37, allocations: 17.5 kB / 7.059 GB, free: 51.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009919/21.37, allocations: 262.3 kB / 7.059 GB, free: 51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/21.37, allocations: 0 / 7.059 GB, free: 51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/21.37, allocations: 14.95 kB / 7.059 GB, free: 51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/21.37, allocations: 7.719 kB / 7.059 GB, free: 51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/21.37, allocations: 276.7 kB / 7.059 GB, free: 50.99 MB / 362.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.001838/21.37, allocations: 0.6875 MB / 7.06 GB, free: 50.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/21.37, allocations: 317.4 kB / 7.06 GB, free: 50.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/21.39, allocations: 10.05 MB / 7.07 GB, free: 40.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/21.39, allocations: 38 kB / 7.07 GB, free: 40.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/21.39, allocations: 0 / 7.07 GB, free: 40.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.004756/21.39, allocations: 0.6912 MB / 7.071 GB, free: 40.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/21.39, allocations: 81.23 kB / 7.071 GB, free: 40.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/21.39, allocations: 114.3 kB / 7.071 GB, free: 40.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/21.39, allocations: 33.27 kB / 7.071 GB, free: 39.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/21.39, allocations: 107.2 kB / 7.071 GB, free: 39.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/21.39, allocations: 124.4 kB / 7.071 GB, free: 39.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/21.39, allocations: 11.12 kB / 7.071 GB, free: 39.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/21.39, allocations: 328.7 kB / 7.072 GB, free: 39.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000662/21.39, allocations: 132.2 kB / 7.072 GB, free: 39.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/21.39, allocations: 210.1 kB / 7.072 GB, free: 39.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/21.39, allocations: 152.5 kB / 7.072 GB, free: 39.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/21.39, allocations: 0 / 7.072 GB, free: 39.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001813/21.4, allocations: 416.6 kB / 7.072 GB, free: 39.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/21.4, allocations: 4.906 kB / 7.072 GB, free: 39.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/21.4, allocations: 7.25 kB / 7.072 GB, free: 39.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/21.4, allocations: 7.734 kB / 7.072 GB, free: 39.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/21.4, allocations: 99.08 kB / 7.073 GB, free: 39.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/21.4, allocations: 3.594 kB / 7.073 GB, free: 39.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/21.4, allocations: 26.28 kB / 7.073 GB, free: 39.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/21.4, allocations: 18.7 kB / 7.073 GB, free: 39.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/21.4, allocations: 145.5 kB / 7.073 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/21.4, allocations: 15.41 kB / 7.073 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/21.4, allocations: 204.2 kB / 7.073 GB, free: 39.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/21.4, allocations: 11.86 kB / 7.073 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/21.4, allocations: 3.953 kB / 7.073 GB, free: 39.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/21.4, allocations: 3.328 kB / 7.073 GB, free: 39.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/21.4, allocations: 0.9536 MB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/21.4, allocations: 7.875 kB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008147/21.4, allocations: 80.48 kB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/21.4, allocations: 3.75 kB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/21.4, allocations: 11.28 kB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/21.4, allocations: 3.875 kB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/21.4, allocations: 7.281 kB / 7.074 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/21.41, allocations: 0.8036 MB / 7.075 GB, free: 38.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/21.41, allocations: 127.2 kB / 7.075 GB, free: 38.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/21.41, allocations: 9.781 kB / 7.075 GB, free: 38.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/21.41, allocations: 18.55 kB / 7.075 GB, free: 38.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/21.41, allocations: 33.23 kB / 7.075 GB, free: 38.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/21.41, allocations: 13.59 kB / 7.075 GB, free: 38.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.807e-05/21.41, allocations: 100.5 kB / 7.075 GB, free: 38.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/21.41, allocations: 3.812 kB / 7.075 GB, free: 38.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005727/21.41, allocations: 1.084 MB / 7.076 GB, free: 37.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/21.43, allocations: 3.243 MB / 7.079 GB, free: 36.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/21.43, allocations: 341.8 kB / 7.08 GB, free: 36.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/21.43, allocations: 3.938 kB / 7.08 GB, free: 36.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007958/21.43, allocations: 192.9 kB / 7.08 GB, free: 36.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/21.43, allocations: 90.11 kB / 7.08 GB, free: 36.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/21.44, allocations: 3.2 MB / 7.083 GB, free: 34.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/21.44, allocations: 0.7421 MB / 7.084 GB, free: 33.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007329/21.44, allocations: 80.55 kB / 7.084 GB, free: 33.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/21.44, allocations: 75.91 kB / 7.084 GB, free: 33.53 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/21.44, allocations: 4 kB / 7.084 GB, free: 33.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08855/21.53, allocations: 36.17 MB / 7.119 GB, free: 13.65 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004285/21.53, allocations: 220.9 kB / 7.119 GB, free: 13.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.358/25.89, allocations: 0 / 7.119 GB, free: 13.41 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat