Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.774e-05, allocations: 0 / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4188, allocations: 54.86 MB / 364.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/2.235, allocations: 0.6367 GB / 0.9928 GB, free: 92.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/2.235, allocations: 94.25 kB / 0.9929 GB, free: 92.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103/3.338, allocations: 229.6 MB / 1.217 GB, free: 65.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/3.338, allocations: 0 / 1.217 GB, free: 65.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.926e-05/3.338, allocations: 16 kB / 1.217 GB, free: 65.97 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003564/3.342, allocations: 1.154 MB / 1.218 GB, free: 64.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/3.342, allocations: 12.03 kB / 1.218 GB, free: 64.76 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/3.342, allocations: 98.5 kB / 1.218 GB, free: 64.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/3.343, allocations: 131 kB / 1.218 GB, free: 64.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/3.345, allocations: 0.5482 MB / 1.219 GB, free: 63.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/3.345, allocations: 104.4 kB / 1.219 GB, free: 63.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/3.345, allocations: 47.91 kB / 1.219 GB, free: 63.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/3.347, allocations: 0.795 MB / 1.22 GB, free: 62.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/3.347, allocations: 7.938 kB / 1.22 GB, free: 62.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/3.347, allocations: 24 kB / 1.22 GB, free: 62.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/3.347, allocations: 44.97 kB / 1.22 GB, free: 62.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/3.348, allocations: 0.5933 MB / 1.221 GB, free: 62.23 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005855/3.354, allocations: 3.913 MB / 1.224 GB, free: 58.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/3.355, allocations: 315.4 kB / 1.225 GB, free: 57.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/3.356, allocations: 162.2 kB / 1.225 GB, free: 57.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/3.356, allocations: 29.3 kB / 1.225 GB, free: 57.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/3.356, allocations: 42.77 kB / 1.225 GB, free: 57.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.905e-06/3.356, allocations: 0 / 1.225 GB, free: 57.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008399/3.364, allocations: 1.497 MB / 1.226 GB, free: 55.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/3.364, allocations: 132.5 kB / 1.226 GB, free: 55.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/3.365, allocations: 0.5266 MB / 1.227 GB, free: 55.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/3.365, allocations: 33.7 kB / 1.227 GB, free: 55.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/3.365, allocations: 409.1 kB / 1.227 GB, free: 54.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/3.366, allocations: 142 kB / 1.228 GB, free: 54.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/3.366, allocations: 16 kB / 1.228 GB, free: 54.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/3.366, allocations: 342.8 kB / 1.228 GB, free: 54.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/3.366, allocations: 189.5 kB / 1.228 GB, free: 54.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/3.367, allocations: 0.5255 MB / 1.229 GB, free: 53.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/3.368, allocations: 295.9 kB / 1.229 GB, free: 53.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/3.368, allocations: 4 kB / 1.229 GB, free: 53.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001906/3.369, allocations: 0.8301 MB / 1.23 GB, free: 52.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/3.37, allocations: 12 kB / 1.23 GB, free: 52.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/3.37, allocations: 8.094 kB / 1.23 GB, free: 52.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/3.372, allocations: 306.3 kB / 1.23 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/3.372, allocations: 135.8 kB / 1.23 GB, free: 51.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/3.374, allocations: 0.8918 MB / 1.231 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/3.375, allocations: 55.94 kB / 1.231 GB, free: 50.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/3.375, allocations: 64 kB / 1.231 GB, free: 50.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/3.375, allocations: 164.6 kB / 1.231 GB, free: 50.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/3.375, allocations: 63.25 kB / 1.231 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/3.378, allocations: 0.6586 MB / 1.232 GB, free: 49.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/3.378, allocations: 4 kB / 1.232 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/3.378, allocations: 0 / 1.232 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/3.378, allocations: 3.984 kB / 1.232 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/3.38, allocations: 1.25 MB / 1.233 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/3.38, allocations: 7.953 kB / 1.233 GB, free: 48.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/3.382, allocations: 211.9 kB / 1.233 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/3.382, allocations: 24.84 kB / 1.233 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/3.382, allocations: 19.98 kB / 1.233 GB, free: 48.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/3.384, allocations: 2.68 MB / 1.236 GB, free: 45.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/3.384, allocations: 4.031 kB / 1.236 GB, free: 45.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/3.386, allocations: 0.8387 MB / 1.237 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/3.386, allocations: 176.3 kB / 1.237 GB, free: 44.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/3.386, allocations: 12 kB / 1.237 GB, free: 44.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/3.387, allocations: 35.89 kB / 1.237 GB, free: 44.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/3.387, allocations: 39.89 kB / 1.237 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/3.387, allocations: 43.97 kB / 1.237 GB, free: 44.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006702/3.388, allocations: 411.2 kB / 1.238 GB, free: 43.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/3.388, allocations: 4 kB / 1.238 GB, free: 43.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001708/3.39, allocations: 375.8 kB / 1.238 GB, free: 43.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004002/3.394, allocations: 2.666 MB / 1.241 GB, free: 40.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/3.395, allocations: 0.5397 MB / 1.241 GB, free: 40.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/3.396, allocations: 4.062 kB / 1.241 GB, free: 40.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/3.397, allocations: 382.5 kB / 1.241 GB, free: 39.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/3.399, allocations: 314.2 kB / 1.242 GB, free: 39.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/3.416, allocations: 2.665 MB / 1.244 GB, free: 36.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/3.417, allocations: 0.9416 MB / 1.245 GB, free: 35.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/3.418, allocations: 283.3 kB / 1.246 GB, free: 35.42 MB / 490.7 MB Notification: Performance of SimCode: time 2.154e-06/3.418, allocations: 0 / 1.246 GB, free: 35.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.298/6.717, allocations: 23.58 MB / 1.269 GB, free: 11.82 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat