Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/10.95, allocations: 3.617 GB / 3.918 GB, free: 81.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/10.95, allocations: 92.39 kB / 3.918 GB, free: 81.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.82/12.77, allocations: 322.4 MB / 4.233 GB, free: 64.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.827e-06/12.77, allocations: 0 / 4.233 GB, free: 64.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/12.77, allocations: 13.42 kB / 4.233 GB, free: 64.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.006234/12.78, allocations: 1.594 MB / 4.235 GB, free: 63.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/12.78, allocations: 11.38 kB / 4.235 GB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002961/12.78, allocations: 86.36 kB / 4.235 GB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004415/12.78, allocations: 56.52 kB / 4.235 GB, free: 63.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/12.78, allocations: 357 kB / 4.235 GB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/12.78, allocations: 34.69 kB / 4.235 GB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/12.78, allocations: 41.59 kB / 4.235 GB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/12.78, allocations: 0.4981 MB / 4.236 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/12.78, allocations: 0 / 4.236 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/12.78, allocations: 18.59 kB / 4.236 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/12.78, allocations: 10.78 kB / 4.236 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/12.78, allocations: 0.5925 MB / 4.236 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/12.79, allocations: 2.177 MB / 4.239 GB, free: 61.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/12.79, allocations: 0.5603 MB / 4.239 GB, free: 61.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/12.79, allocations: 0.7014 MB / 4.24 GB, free: 60.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/12.79, allocations: 48.5 kB / 4.24 GB, free: 60.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.376e-06/12.79, allocations: 0 / 4.24 GB, free: 60.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.02799/12.82, allocations: 4.113 MB / 4.244 GB, free: 60.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/12.82, allocations: 61.12 kB / 4.244 GB, free: 60.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/12.82, allocations: 268.2 kB / 4.244 GB, free: 59.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/12.82, allocations: 40.75 kB / 4.244 GB, free: 59.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/12.82, allocations: 186.2 kB / 4.244 GB, free: 59.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/12.82, allocations: 228.4 kB / 4.245 GB, free: 59.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/12.82, allocations: 14.59 kB / 4.245 GB, free: 59.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/12.82, allocations: 352 kB / 4.245 GB, free: 59.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/12.82, allocations: 313.6 kB / 4.245 GB, free: 59.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/12.82, allocations: 383.5 kB / 4.246 GB, free: 58.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/12.82, allocations: 355.7 kB / 4.246 GB, free: 58.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/12.82, allocations: 0 / 4.246 GB, free: 58.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00393/12.83, allocations: 0.9996 MB / 4.247 GB, free: 58.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/12.83, allocations: 11.3 kB / 4.247 GB, free: 58.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/12.83, allocations: 2.094 kB / 4.247 GB, free: 58.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/12.83, allocations: 362.2 kB / 4.247 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/12.83, allocations: 121.7 kB / 4.247 GB, free: 58.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/12.84, allocations: 3.529 MB / 4.251 GB, free: 54.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/12.84, allocations: 62.53 kB / 4.251 GB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/12.84, allocations: 24.12 kB / 4.251 GB, free: 54.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004401/12.84, allocations: 202.7 kB / 4.251 GB, free: 54.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/12.84, allocations: 41.91 kB / 4.251 GB, free: 54.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007861/12.85, allocations: 1.381 MB / 4.252 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/12.85, allocations: 6.75 kB / 4.252 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/12.85, allocations: 3.25 kB / 4.252 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007314/12.85, allocations: 1.426 MB / 4.254 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/12.86, allocations: 1.733 MB / 4.256 GB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/12.86, allocations: 0 / 4.256 GB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/12.86, allocations: 112.4 kB / 4.256 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/12.86, allocations: 394.2 kB / 4.256 GB, free: 52.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/12.86, allocations: 25.33 kB / 4.256 GB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/12.87, allocations: 0.8832 MB / 4.257 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/12.87, allocations: 0 / 4.257 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00852/12.87, allocations: 1.698 MB / 4.259 GB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/12.87, allocations: 120.4 kB / 4.259 GB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/12.87, allocations: 19.16 kB / 4.259 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/12.88, allocations: 65.28 kB / 4.259 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/12.88, allocations: 39.38 kB / 4.259 GB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/12.88, allocations: 35.5 kB / 4.259 GB, free: 50.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003576/12.88, allocations: 220.6 kB / 4.259 GB, free: 50.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/12.88, allocations: 0 / 4.259 GB, free: 50.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00237/12.88, allocations: 0.5412 MB / 4.26 GB, free: 49.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/12.89, allocations: 3.402 MB / 4.263 GB, free: 47.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/12.89, allocations: 1.006 MB / 4.264 GB, free: 46.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/12.89, allocations: 0 / 4.264 GB, free: 46.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/12.9, allocations: 429.4 kB / 4.264 GB, free: 45.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/12.9, allocations: 292 kB / 4.265 GB, free: 45.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/12.91, allocations: 4.631 MB / 4.269 GB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/12.91, allocations: 0.8605 MB / 4.27 GB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001118/12.91, allocations: 126 kB / 4.27 GB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/12.91, allocations: 168 kB / 4.27 GB, free: 40.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/12.91, allocations: 4 kB / 4.27 GB, free: 40.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/13.03, allocations: 36.74 MB / 4.306 GB, free: 5.664 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/13.03, allocations: 214.4 kB / 4.306 GB, free: 5.426 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.489/17.52, allocations: 4 kB / 4.306 GB, free: 5.422 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat