Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.0163/0.01631, allocations: 102.6 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001919/0.001919, allocations: 170.8 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.726/1.726, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2485/0.2485, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004502, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5796/0.6809, allocations: 155.4 MB / 0.5154 GB, free: 12.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0273/0.7083, allocations: 10.51 MB / 0.5256 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.7095, allocations: 19.81 kB / 0.5257 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.7114, allocations: 334.4 kB / 0.526 GB, free: 1.176 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.722, allocations: 1.975 MB / 0.5279 GB, free: 15.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00915/0.7312, allocations: 1.699 MB / 0.5296 GB, free: 13.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.7347, allocations: 1.224 MB / 0.5308 GB, free: 12.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.7362, allocations: 0.4948 MB / 0.5313 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/0.7421, allocations: 1.368 MB / 0.5326 GB, free: 10.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.7441, allocations: 0.592 MB / 0.5332 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.7444, allocations: 48 kB / 0.5332 GB, free: 9.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/0.7603, allocations: 4.439 MB / 0.5375 GB, free: 5.293 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008908/0.7613, allocations: 343.1 kB / 0.5379 GB, free: 4.957 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.7617, allocations: 213.3 kB / 0.5381 GB, free: 4.742 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006799/0.7686, allocations: 2.397 MB / 0.5404 GB, free: 2.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7686, allocations: 0 / 0.5404 GB, free: 2.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7686, allocations: 0 / 0.5404 GB, free: 2.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.7687, allocations: 0 / 0.5404 GB, free: 2.34 MB / 394.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.007248/0.7759, allocations: 1.544 MB / 0.5419 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.776, allocations: 11.97 kB / 0.5419 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005812/0.7766, allocations: 122.5 kB / 0.5421 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009396/0.7776, allocations: 112.4 kB / 0.5422 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.7797, allocations: 0.5862 MB / 0.5427 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.7799, allocations: 125.2 kB / 0.5429 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.7802, allocations: 67.91 kB / 0.5429 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.7834, allocations: 1.154 MB / 0.544 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.7835, allocations: 7.922 kB / 0.5441 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.7837, allocations: 35.98 kB / 0.5441 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.7838, allocations: 57.97 kB / 0.5441 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.7876, allocations: 1.159 MB / 0.5453 GB, free: 13.2 MB / 410.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.01203/0.7997, allocations: 4.742 MB / 0.5499 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.8027, allocations: 0.7791 MB / 0.5507 GB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/0.8046, allocations: 1.563 MB / 0.5522 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.8047, allocations: 39.12 kB / 0.5522 GB, free: 5.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.306e-06/0.8047, allocations: 0 / 0.5522 GB, free: 5.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=81): time 0.02549/0.8302, allocations: 4.027 MB / 0.5562 GB, free: 1.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.8303, allocations: 111.5 kB / 0.5563 GB, free: 1.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8316, allocations: 0.6249 MB / 0.5569 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.8319, allocations: 37.7 kB / 0.5569 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.8323, allocations: 399.2 kB / 0.5573 GB, free: 152 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004591/0.8328, allocations: 292 kB / 0.5576 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.8329, allocations: 20 kB / 0.5576 GB, free: 15.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.8332, allocations: 394.8 kB / 0.558 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.8351, allocations: 478.3 kB / 0.5584 GB, free: 14.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.8372, allocations: 0.7905 MB / 0.5592 GB, free: 14.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.8394, allocations: 0.5846 MB / 0.5598 GB, free: 13.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8394, allocations: 4 kB / 0.5598 GB, free: 13.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006221/0.8457, allocations: 1.676 MB / 0.5614 GB, free: 11.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.8458, allocations: 8 kB / 0.5614 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.8458, allocations: 19.98 kB / 0.5614 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/0.8596, allocations: 1.374 MB / 0.5628 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.861, allocations: 167.5 kB / 0.5629 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.8655, allocations: 1.508 MB / 0.5644 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.8673, allocations: 87.89 kB / 0.5645 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.8676, allocations: 67.97 kB / 0.5646 GB, free: 8.516 MB / 426.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.0007324/0.8683, allocations: 302.4 kB / 0.5648 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.8686, allocations: 83.02 kB / 0.5649 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/0.8743, allocations: 1.603 MB / 0.5665 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.8744, allocations: 19.98 kB / 0.5665 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8744, allocations: 0 / 0.5665 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.8744, allocations: 3.984 kB / 0.5665 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00753/0.882, allocations: 2.47 MB / 0.5689 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8821, allocations: 4.156 kB / 0.5689 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/0.8847, allocations: 259.7 kB / 0.5692 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003638/0.8884, allocations: 396.3 kB / 0.5696 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.8886, allocations: 31.98 kB / 0.5696 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004013/0.8927, allocations: 2.276 MB / 0.5718 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8927, allocations: 0 / 0.5718 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/0.8989, allocations: 2.011 MB / 0.5738 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000772/0.8997, allocations: 295.8 kB / 0.5741 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.9, allocations: 31.98 kB / 0.5741 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9014, allocations: 63.95 kB / 0.5741 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.9017, allocations: 64.91 kB / 0.5742 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.9019, allocations: 51.91 kB / 0.5743 GB, free: 14.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008922/0.9028, allocations: 455 kB / 0.5747 GB, free: 13.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9028, allocations: 0 / 0.5747 GB, free: 13.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002868/0.9056, allocations: 0.6909 MB / 0.5754 GB, free: 13.09 MB / 442.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.0102/0.9159, allocations: 3.694 MB / 0.579 GB, free: 9.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004683/0.9206, allocations: 1.222 MB / 0.5802 GB, free: 8.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.9207, allocations: 4.188 kB / 0.5802 GB, free: 8.117 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.9238, allocations: 0.689 MB / 0.5808 GB, free: 7.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.9276, allocations: 421.4 kB / 0.5812 GB, free: 7.023 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2822/1.21, allocations: 12.91 MB / 0.5939 GB, free: 165.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/1.211, allocations: 1.062 MB / 0.5949 GB, free: 165.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002045/1.213, allocations: 309.2 kB / 0.5952 GB, free: 165.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/1.214, allocations: 340.9 kB / 0.5955 GB, free: 164.9 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/1.214, allocations: 0 / 0.5955 GB, free: 164.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.319, allocations: 40.29 MB / 0.6349 GB, free: 136 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/1.319, allocations: 271.9 kB / 0.6351 GB, free: 135.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/5.711, allocations: 0 / 0.6351 GB, free: 135.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat