Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01104/0.01105, allocations: 107.7 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001235/0.001235, allocations: 178.3 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.999/1.999, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3273/0.3273, allocations: 40.05 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004713, allocations: 8 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6012/0.7176, allocations: 155.6 MB / 0.5582 GB, free: 12.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.739, allocations: 10.59 MB / 0.5685 GB, free: 1.664 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.7402, allocations: 27.75 kB / 0.5686 GB, free: 1.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.7417, allocations: 338.3 kB / 0.5689 GB, free: 1.305 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.7502, allocations: 1.983 MB / 0.5708 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007502/0.7578, allocations: 1.715 MB / 0.5725 GB, free: 13.61 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.7607, allocations: 1.22 MB / 0.5737 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.762, allocations: 0.4928 MB / 0.5742 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.7671, allocations: 1.379 MB / 0.5755 GB, free: 10.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.7689, allocations: 0.5998 MB / 0.5761 GB, free: 9.902 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.7692, allocations: 44 kB / 0.5761 GB, free: 9.859 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/0.7819, allocations: 4.498 MB / 0.5805 GB, free: 5.355 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008661/0.7828, allocations: 347.1 kB / 0.5809 GB, free: 5.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.7833, allocations: 213.2 kB / 0.5811 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00703/0.7903, allocations: 2.4 MB / 0.5834 GB, free: 2.402 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7904, allocations: 0 / 0.5834 GB, free: 2.402 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7904, allocations: 3.938 kB / 0.5834 GB, free: 2.398 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.7904, allocations: 4 kB / 0.5834 GB, free: 2.395 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005791/0.7962, allocations: 1.528 MB / 0.5849 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.7963, allocations: 16.03 kB / 0.5849 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003986/0.7967, allocations: 122.5 kB / 0.585 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.7973, allocations: 110.9 kB / 0.5852 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.7989, allocations: 0.5823 MB / 0.5857 GB, free: 15.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.7991, allocations: 117.4 kB / 0.5858 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.7994, allocations: 71.98 kB / 0.5859 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.8027, allocations: 1.162 MB / 0.587 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.8028, allocations: 3.938 kB / 0.587 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.803, allocations: 28 kB / 0.5871 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.8032, allocations: 61.97 kB / 0.5871 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.8066, allocations: 1.159 MB / 0.5883 GB, free: 13.27 MB / 458.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.01161/0.8183, allocations: 5.007 MB / 0.5931 GB, free: 7.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/0.8211, allocations: 0.7784 MB / 0.5939 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.8229, allocations: 1.556 MB / 0.5954 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.823, allocations: 39.12 kB / 0.5955 GB, free: 5.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 4.167e-06/0.823, allocations: 0 / 0.5955 GB, free: 5.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=81): time 0.02442/0.8475, allocations: 4.035 MB / 0.5994 GB, free: 1.125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.8476, allocations: 111.5 kB / 0.5995 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.8488, allocations: 0.6249 MB / 0.6001 GB, free: 368 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.8491, allocations: 37.7 kB / 0.6002 GB, free: 324 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.8495, allocations: 407.4 kB / 0.6005 GB, free: 15.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.8499, allocations: 291.9 kB / 0.6008 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.85, allocations: 20 kB / 0.6008 GB, free: 15.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8502, allocations: 390.8 kB / 0.6012 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.8521, allocations: 478.3 kB / 0.6017 GB, free: 14.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.8543, allocations: 0.7788 MB / 0.6024 GB, free: 13.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.8565, allocations: 0.5885 MB / 0.603 GB, free: 13.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.8565, allocations: 4 kB / 0.603 GB, free: 13.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006097/0.8626, allocations: 1.676 MB / 0.6046 GB, free: 11.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.8627, allocations: 8 kB / 0.6047 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.8628, allocations: 15.98 kB / 0.6047 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/0.8776, allocations: 1.379 MB / 0.606 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.879, allocations: 163.7 kB / 0.6062 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00474/0.8838, allocations: 1.51 MB / 0.6076 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.8856, allocations: 95.94 kB / 0.6077 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.886, allocations: 59.98 kB / 0.6078 GB, free: 8.293 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.000852/0.8868, allocations: 297.4 kB / 0.6081 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.8871, allocations: 86.97 kB / 0.6082 GB, free: 7.906 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.893, allocations: 1.611 MB / 0.6097 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.8931, allocations: 8 kB / 0.6097 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.8931, allocations: 0 / 0.6097 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.8932, allocations: 11.92 kB / 0.6098 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.9009, allocations: 2.462 MB / 0.6122 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.9009, allocations: 2.125 kB / 0.6122 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/0.9037, allocations: 259.7 kB / 0.6124 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003665/0.9074, allocations: 404.4 kB / 0.6128 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/0.9077, allocations: 31.98 kB / 0.6128 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/0.9118, allocations: 2.268 MB / 0.615 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9118, allocations: 4.062 kB / 0.615 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3282/1.24, allocations: 2.016 MB / 0.617 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.241, allocations: 298.2 kB / 0.6173 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/1.242, allocations: 21.84 kB / 0.6173 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006412/1.248, allocations: 70.69 kB / 0.6174 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.248, allocations: 63.48 kB / 0.6174 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.249, allocations: 55.5 kB / 0.6175 GB, free: 149.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001054/1.25, allocations: 454 kB / 0.6179 GB, free: 149.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.25, allocations: 0 / 0.6179 GB, free: 149.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003892/1.254, allocations: 0.6951 MB / 0.6186 GB, free: 149.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02479/1.279, allocations: 3.676 MB / 0.6222 GB, free: 148.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01418/1.293, allocations: 1.223 MB / 0.6234 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.293, allocations: 0 / 0.6234 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004854/1.298, allocations: 0.694 MB / 0.6241 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/1.303, allocations: 431.8 kB / 0.6245 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/1.334, allocations: 12.92 MB / 0.6371 GB, free: 139 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/1.335, allocations: 1.065 MB / 0.6381 GB, free: 138.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00288/1.338, allocations: 302.5 kB / 0.6384 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.34, allocations: 333.1 kB / 0.6388 GB, free: 138 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/1.34, allocations: 4 kB / 0.6388 GB, free: 138 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.449, allocations: 40.29 MB / 0.6781 GB, free: 122.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.45, allocations: 271.9 kB / 0.6784 GB, free: 122 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/6.047, allocations: 0 / 0.6784 GB, free: 122 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat