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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.011/0.011, allocations: 107.2 kB / 15.06 MB, free: 5.949 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.001541/0.001541, allocations: 185.5 kB / 15.95 MB, free: 5.902 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.933/1.933, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.294/0.294, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007003/0.0007005, allocations: 15.98 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.133, allocations: 54.87 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.6161/0.7491, allocations: 141.8 MB / 0.5447 GB, free: 6.855 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.7662, allocations: 8.731 MB / 0.5532 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.7673, allocations: 25.69 kB / 0.5533 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.7685, allocations: 274.8 kB / 0.5535 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004862/0.7734, allocations: 1.182 MB / 0.5547 GB, free: 15.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.7773, allocations: 0.8897 MB / 0.5556 GB, free: 15.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002174/0.7795, allocations: 1.047 MB / 0.5566 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.7803, allocations: 387 kB / 0.5569 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.7824, allocations: 0.7362 MB / 0.5577 GB, free: 12.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009379/0.7834, allocations: 446.6 kB / 0.5581 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.7835, allocations: 31.98 kB / 0.5581 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.7858, allocations: 0.6242 MB / 0.5587 GB, free: 11.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.7862, allocations: 215.4 kB / 0.5589 GB, free: 11.67 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.7865, allocations: 165.3 kB / 0.5591 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.7884, allocations: 0.9806 MB / 0.5601 GB, free: 10.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7884, allocations: 8 kB / 0.5601 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7885, allocations: 4 kB / 0.5601 GB, free: 10.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.7885, allocations: 0 / 0.5601 GB, free: 10.52 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.002968/0.7915, allocations: 0.9809 MB / 0.561 GB, free: 9.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7915, allocations: 8.031 kB / 0.561 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.7917, allocations: 106.4 kB / 0.5611 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7929, allocations: 131.1 kB / 0.5613 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.7941, allocations: 492.6 kB / 0.5617 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.7942, allocations: 112.3 kB / 0.5618 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.7944, allocations: 48 kB / 0.5619 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.7964, allocations: 0.8051 MB / 0.5627 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.7964, allocations: 7.938 kB / 0.5627 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.7965, allocations: 25.67 kB / 0.5627 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-05/0.7966, allocations: 48.91 kB / 0.5627 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.7984, allocations: 0.6243 MB / 0.5634 GB, free: 6.961 MB / 426.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.006694/0.8052, allocations: 3.928 MB / 0.5672 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.8061, allocations: 343.4 kB / 0.5675 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.8062, allocations: 20.94 kB / 0.5675 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.8063, allocations: 46.78 kB / 0.5676 GB, free: 2.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.357e-06/0.8063, allocations: 0 / 0.5676 GB, free: 2.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008983/0.8153, allocations: 1.635 MB / 0.5692 GB, free: 0.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.8154, allocations: 132.5 kB / 0.5693 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.8164, allocations: 0.5976 MB / 0.5699 GB, free: 15.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.8165, allocations: 29.7 kB / 0.5699 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.8169, allocations: 382.6 kB / 0.5703 GB, free: 15.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.8171, allocations: 145.9 kB / 0.5704 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.8172, allocations: 16 kB / 0.5704 GB, free: 15.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.8174, allocations: 374.8 kB / 0.5708 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.818, allocations: 201.9 kB / 0.571 GB, free: 14.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000858/0.8188, allocations: 0.5353 MB / 0.5715 GB, free: 14.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000789/0.8196, allocations: 300.8 kB / 0.5718 GB, free: 13.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.8197, allocations: 4 kB / 0.5718 GB, free: 13.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002313/0.822, allocations: 0.8913 MB / 0.5727 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.822, allocations: 8 kB / 0.5727 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.822, allocations: 12 kB / 0.5727 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.8243, allocations: 314.5 kB / 0.573 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.8251, allocations: 131.8 kB / 0.5731 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.8267, allocations: 0.8958 MB / 0.574 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008321/0.8275, allocations: 48.03 kB / 0.574 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8277, allocations: 75.94 kB / 0.5741 GB, free: 11.36 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.000501/0.8282, allocations: 249.5 kB / 0.5743 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.8284, allocations: 67.16 kB / 0.5744 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.8308, allocations: 0.6803 MB / 0.5751 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8308, allocations: 4 kB / 0.5751 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8308, allocations: 1 kB / 0.5751 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8308, allocations: 3.953 kB / 0.5751 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.8337, allocations: 1.266 MB / 0.5763 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8337, allocations: 4 kB / 0.5763 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/0.8357, allocations: 203.9 kB / 0.5765 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.8359, allocations: 32.78 kB / 0.5765 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.836, allocations: 23.98 kB / 0.5766 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.8387, allocations: 2.687 MB / 0.5792 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.8387, allocations: 3.938 kB / 0.5792 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.8407, allocations: 0.8557 MB / 0.58 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.8411, allocations: 180.2 kB / 0.5802 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.8412, allocations: 12 kB / 0.5802 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.8419, allocations: 24.05 kB / 0.5802 GB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.8421, allocations: 39.91 kB / 0.5803 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.8422, allocations: 47.97 kB / 0.5803 GB, free: 4.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007605/0.843, allocations: 415 kB / 0.5807 GB, free: 4.125 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.843, allocations: 0 / 0.5807 GB, free: 4.125 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001463/0.8445, allocations: 288 kB / 0.581 GB, free: 3.844 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.003839/0.8483, allocations: 2.005 MB / 0.583 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.8503, allocations: 0.5584 MB / 0.5835 GB, free: 1.227 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8503, allocations: 4 kB / 0.5835 GB, free: 1.223 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.852, allocations: 399.9 kB / 0.5839 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.8547, allocations: 315.3 kB / 0.5842 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.8682, allocations: 11.41 MB / 0.5953 GB, free: 4.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.8689, allocations: 0.9455 MB / 0.5963 GB, free: 3.848 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001834/0.8708, allocations: 268.6 kB / 0.5965 GB, free: 3.594 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007961/0.8716, allocations: 267.3 kB / 0.5968 GB, free: 3.332 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8716, allocations: 3.938 kB / 0.5968 GB, free: 3.328 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3649/1.236, allocations: 23.08 MB / 0.6193 GB, free: 151.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/1.237, allocations: 274.8 kB / 0.6196 GB, free: 151.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.722, allocations: 0 / 0.6196 GB, free: 151.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat