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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.01104/0.01105, allocations: 103.5 kB / 15.05 MB, free: 5.555 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.001159/0.001159, allocations: 173.1 kB / 15.93 MB, free: 5.527 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.568/1.568, allocations: 170.9 MB / 187.5 MB, free: 1.012 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.2898/0.2898, allocations: 38.1 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004697, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09112, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5372/0.6283, allocations: 141.7 MB / 0.502 GB, free: 9.914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.6463, allocations: 8.699 MB / 0.5105 GB, free: 1.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.6474, allocations: 27.75 kB / 0.5105 GB, free: 1.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.6486, allocations: 270.6 kB / 0.5108 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.6538, allocations: 1.185 MB / 0.5119 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.659, allocations: 0.9042 MB / 0.5128 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.6622, allocations: 1.04 MB / 0.5138 GB, free: 13.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.6634, allocations: 379.1 kB / 0.5142 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.6667, allocations: 0.7401 MB / 0.5149 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.6683, allocations: 446.5 kB / 0.5153 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.6685, allocations: 32 kB / 0.5154 GB, free: 12.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.6718, allocations: 0.6242 MB / 0.516 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.6748, allocations: 215.4 kB / 0.5162 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.6753, allocations: 165.3 kB / 0.5163 GB, free: 11.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.6785, allocations: 0.9868 MB / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6785, allocations: 0 / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6785, allocations: 0 / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.6786, allocations: 0 / 0.5173 GB, free: 10.2 MB / 378.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.01237/0.6909, allocations: 0.9855 MB / 0.5183 GB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.691, allocations: 8.031 kB / 0.5183 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004077/0.6914, allocations: 110.5 kB / 0.5184 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.6934, allocations: 135.1 kB / 0.5185 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.6951, allocations: 496.6 kB / 0.519 GB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.6954, allocations: 100.4 kB / 0.5191 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.6956, allocations: 44 kB / 0.5191 GB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.6985, allocations: 0.8149 MB / 0.5199 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.6985, allocations: 4 kB / 0.5199 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.6987, allocations: 23.95 kB / 0.5199 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.6988, allocations: 40.97 kB / 0.52 GB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.7118, allocations: 0.6243 MB / 0.5206 GB, free: 6.648 MB / 378.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.01107/0.7229, allocations: 3.931 MB / 0.5244 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.7242, allocations: 343.4 kB / 0.5248 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.7244, allocations: 29.23 kB / 0.5248 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.7245, allocations: 34.84 kB / 0.5248 GB, free: 2.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.758e-06/0.7245, allocations: 3.938 kB / 0.5248 GB, free: 2.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.01218/0.7367, allocations: 1.646 MB / 0.5264 GB, free: 336 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.7368, allocations: 136.5 kB / 0.5266 GB, free: 168 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.7383, allocations: 0.5975 MB / 0.5271 GB, free: 15.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.7384, allocations: 33.7 kB / 0.5272 GB, free: 15.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.7389, allocations: 382.7 kB / 0.5275 GB, free: 15.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.7392, allocations: 145.9 kB / 0.5277 GB, free: 14.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.7393, allocations: 16 kB / 0.5277 GB, free: 14.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.7395, allocations: 374.7 kB / 0.528 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.7404, allocations: 201.9 kB / 0.5282 GB, free: 14.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.7416, allocations: 0.5314 MB / 0.5288 GB, free: 13.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.7428, allocations: 299.6 kB / 0.529 GB, free: 13.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.7428, allocations: 4 kB / 0.5291 GB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003336/0.7462, allocations: 0.8873 MB / 0.5299 GB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.7462, allocations: 8.781 kB / 0.5299 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.7463, allocations: 12.91 kB / 0.5299 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.7494, allocations: 309.9 kB / 0.5302 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.7505, allocations: 131.8 kB / 0.5304 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.753, allocations: 0.8957 MB / 0.5312 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.7544, allocations: 48.03 kB / 0.5313 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.7546, allocations: 68.69 kB / 0.5313 GB, free: 11.03 MB / 394.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.0007331/0.7554, allocations: 249.5 kB / 0.5316 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.7556, allocations: 71.11 kB / 0.5317 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.7591, allocations: 0.678 MB / 0.5323 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.7592, allocations: 4 kB / 0.5323 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.7592, allocations: 4 kB / 0.5323 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.7592, allocations: 0 / 0.5323 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.7632, allocations: 1.258 MB / 0.5335 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7632, allocations: 4 kB / 0.5336 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/0.7659, allocations: 211.9 kB / 0.5338 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.7661, allocations: 24.84 kB / 0.5338 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.7662, allocations: 31.94 kB / 0.5338 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.7796, allocations: 2.684 MB / 0.5364 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7796, allocations: 0 / 0.5364 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.785, allocations: 0.8601 MB / 0.5373 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.7856, allocations: 184.3 kB / 0.5374 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.7858, allocations: 16.06 kB / 0.5375 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009688/0.7868, allocations: 19.98 kB / 0.5375 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.787, allocations: 39.89 kB / 0.5375 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.7872, allocations: 47.92 kB / 0.5376 GB, free: 4.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.7883, allocations: 423 kB / 0.538 GB, free: 3.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7883, allocations: 0 / 0.538 GB, free: 3.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002055/0.7904, allocations: 296 kB / 0.5382 GB, free: 3.48 MB / 394.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.01733/0.8077, allocations: 1.989 MB / 0.5402 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.8104, allocations: 0.5536 MB / 0.5407 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.8105, allocations: 0 / 0.5407 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.8128, allocations: 411.6 kB / 0.5411 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/0.8164, allocations: 309.5 kB / 0.5414 GB, free: 176 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.8378, allocations: 11.42 MB / 0.5526 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.8386, allocations: 0.9416 MB / 0.5535 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001835/0.8405, allocations: 265.9 kB / 0.5537 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/0.8413, allocations: 275.3 kB / 0.554 GB, free: 2.965 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8414, allocations: 0 / 0.554 GB, free: 2.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07976/0.9211, allocations: 23.08 MB / 0.5765 GB, free: 11.99 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003973/0.9216, allocations: 277.8 kB / 0.5768 GB, free: 11.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/4.368, allocations: 0 / 0.5768 GB, free: 11.63 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat