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.IdealGases.Nitrogen.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.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.4 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006019, allocations: 16 kB / 314.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3713, allocations: 54.85 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5702/0.9415, allocations: 141.7 MB / 0.499 GB, free: 2.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.9542, allocations: 7.248 MB / 0.5061 GB, free: 2.746 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.9553, allocations: 24.06 kB / 0.5061 GB, free: 2.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.9563, allocations: 276.8 kB / 0.5064 GB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.9612, allocations: 1.261 MB / 0.5076 GB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.9652, allocations: 0.9879 MB / 0.5086 GB, free: 2.691 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.9674, allocations: 1.172 MB / 0.5097 GB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007188/0.9681, allocations: 385 kB / 0.5101 GB, free: 2.652 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.9702, allocations: 0.7383 MB / 0.5108 GB, free: 2.648 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.9716, allocations: 0.565 MB / 0.5114 GB, free: 2.641 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.9717, allocations: 32.59 kB / 0.5114 GB, free: 2.641 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.974, allocations: 0.6255 MB / 0.512 GB, free: 2.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.9743, allocations: 214.3 kB / 0.5122 GB, free: 2.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.9746, allocations: 161.8 kB / 0.5124 GB, free: 2.609 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.9762, allocations: 0.9892 MB / 0.5133 GB, free: 2.539 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9762, allocations: 0 / 0.5133 GB, free: 2.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.9762, allocations: 5.859 kB / 0.5133 GB, free: 2.535 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.9762, allocations: 0 / 0.5133 GB, free: 2.535 MB / 426.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.002808/0.9791, allocations: 0.9833 MB / 0.5143 GB, free: 17.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9791, allocations: 8.688 kB / 0.5143 GB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.9793, allocations: 106.6 kB / 0.5144 GB, free: 17.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.9803, allocations: 130.5 kB / 0.5145 GB, free: 17.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.9814, allocations: 0.4912 MB / 0.515 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.9815, allocations: 103 kB / 0.5151 GB, free: 17.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.9816, allocations: 53.81 kB / 0.5152 GB, free: 17.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.9834, allocations: 0.8118 MB / 0.516 GB, free: 17.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.9835, allocations: 4.562 kB / 0.516 GB, free: 17.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.9836, allocations: 23.78 kB / 0.516 GB, free: 17.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/0.9837, allocations: 44.59 kB / 0.516 GB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.9854, allocations: 0.616 MB / 0.5166 GB, free: 17.3 MB / 442.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.006566/0.992, allocations: 3.93 MB / 0.5205 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.9928, allocations: 354.8 kB / 0.5208 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.993, allocations: 26.41 kB / 0.5208 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.993, allocations: 36.69 kB / 0.5209 GB, free: 14.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.296e-06/0.993, allocations: 0 / 0.5209 GB, free: 14.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.008892/1.002, allocations: 1.633 MB / 0.5225 GB, free: 14.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/1.002, allocations: 138 kB / 0.5226 GB, free: 13.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/1.003, allocations: 0.5906 MB / 0.5232 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/1.003, allocations: 32.2 kB / 0.5232 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/1.003, allocations: 414.9 kB / 0.5236 GB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.004, allocations: 149.6 kB / 0.5237 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/1.004, allocations: 9.75 kB / 0.5237 GB, free: 13.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/1.004, allocations: 346.5 kB / 0.5241 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/1.004, allocations: 203.8 kB / 0.5243 GB, free: 13.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/1.005, allocations: 0.5306 MB / 0.5248 GB, free: 12.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/1.006, allocations: 301.5 kB / 0.5251 GB, free: 12.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.006, allocations: 2.812 kB / 0.5251 GB, free: 12.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002082/1.008, allocations: 0.8542 MB / 0.5259 GB, free: 12.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.008, allocations: 10.91 kB / 0.5259 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.008, allocations: 10.97 kB / 0.5259 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/1.01, allocations: 318.4 kB / 0.5262 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/1.011, allocations: 129 kB / 0.5264 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/1.012, allocations: 0.9036 MB / 0.5272 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/1.013, allocations: 49.28 kB / 0.5273 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.013, allocations: 67.41 kB / 0.5274 GB, free: 12.02 MB / 442.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 () * Number of clocked 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.0004858/1.014, allocations: 249 kB / 0.5276 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.014, allocations: 69.58 kB / 0.5277 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.016, allocations: 0.685 MB / 0.5283 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.016, allocations: 3.156 kB / 0.5283 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.016, allocations: 2.5 kB / 0.5283 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.016, allocations: 3.094 kB / 0.5283 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/1.019, allocations: 1.262 MB / 0.5296 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.019, allocations: 0 / 0.5296 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.021, allocations: 208.8 kB / 0.5298 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/1.021, allocations: 26.36 kB / 0.5298 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/1.021, allocations: 20.62 kB / 0.5298 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/1.024, allocations: 2.692 MB / 0.5324 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.024, allocations: 13.86 kB / 0.5325 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/1.026, allocations: 0.7872 MB / 0.5332 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/1.026, allocations: 183.3 kB / 0.5334 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.026, allocations: 13.22 kB / 0.5334 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/1.027, allocations: 24.53 kB / 0.5334 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.027, allocations: 45.42 kB / 0.5335 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/1.027, allocations: 42.06 kB / 0.5335 GB, free: 8.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007018/1.028, allocations: 412.2 kB / 0.5339 GB, free: 8.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.028, allocations: 2.969 kB / 0.5339 GB, free: 8.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001339/1.029, allocations: 288.8 kB / 0.5342 GB, free: 8.203 MB / 442.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 () * Number of clocked 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.003195/1.033, allocations: 1.606 MB / 0.5358 GB, free: 7.398 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/1.034, allocations: 0.5528 MB / 0.5363 GB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.034, allocations: 1.688 kB / 0.5363 GB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.036, allocations: 396.7 kB / 0.5367 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.038, allocations: 316.3 kB / 0.537 GB, free: 7.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/1.048, allocations: 4.281 MB / 0.5412 GB, free: 5.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/1.048, allocations: 0.9414 MB / 0.5421 GB, free: 4.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008394/1.049, allocations: 279.6 kB / 0.5423 GB, free: 4.754 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/1.049, allocations: 0 / 0.5423 GB, free: 4.754 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.258/4.308, allocations: 19.64 MB / 0.5615 GB, free: 8.086 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat