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.Air.SimpleAir.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.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 12 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5474/0.8906, allocations: 125.2 MB / 494.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009866/0.9005, allocations: 4.887 MB / 499.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.9018, allocations: 25.19 kB / 499.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.9032, allocations: 277.3 kB / 499.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.9065, allocations: 0.7195 MB / 0.4887 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.9102, allocations: 0.8184 MB / 0.4895 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.9129, allocations: 1.151 MB / 0.4906 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009395/0.9138, allocations: 387.8 kB / 0.491 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.916, allocations: 0.5688 MB / 0.4915 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.9177, allocations: 0.4912 MB / 0.492 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.918, allocations: 30.03 kB / 0.4921 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.92, allocations: 464.3 kB / 0.4925 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.9205, allocations: 215.9 kB / 0.4927 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.9209, allocations: 164.6 kB / 0.4929 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.9228, allocations: 0.7978 MB / 0.4936 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.9229, allocations: 2.844 kB / 0.4936 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.9229, allocations: 0 / 0.4936 GB, free: 15.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.9229, allocations: 0 / 0.4936 GB, free: 15.64 MB / 410.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.002795/0.9257, allocations: 0.9198 MB / 0.4945 GB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9258, allocations: 8.031 kB / 0.4945 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002661/0.926, allocations: 101.8 kB / 0.4946 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.9266, allocations: 86.55 kB / 0.4947 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.9279, allocations: 0.5012 MB / 0.4952 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.928, allocations: 109.2 kB / 0.4953 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.9282, allocations: 49.61 kB / 0.4954 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.9301, allocations: 0.8048 MB / 0.4962 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.9301, allocations: 5.469 kB / 0.4962 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.9302, allocations: 26.97 kB / 0.4962 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/0.9303, allocations: 43.11 kB / 0.4962 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.932, allocations: 0.646 MB / 0.4969 GB, free: 14.43 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.007211/0.9393, allocations: 3.963 MB / 0.5007 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.9405, allocations: 410.5 kB / 0.5011 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00308/0.9436, allocations: 1.672 MB / 0.5027 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.9437, allocations: 37.66 kB / 0.5028 GB, free: 10.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 3.556e-06/0.9437, allocations: 0 / 0.5028 GB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.004943/0.9486, allocations: 1.445 MB / 0.5042 GB, free: 9.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9488, allocations: 134 kB / 0.5043 GB, free: 9.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9498, allocations: 0.5633 MB / 0.5049 GB, free: 9.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.95, allocations: 34.7 kB / 0.5049 GB, free: 9.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.9504, allocations: 414.4 kB / 0.5053 GB, free: 8.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.9506, allocations: 150.8 kB / 0.5054 GB, free: 8.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.9507, allocations: 14.16 kB / 0.5055 GB, free: 8.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9509, allocations: 349.7 kB / 0.5058 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.9515, allocations: 205.1 kB / 0.506 GB, free: 8.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.9524, allocations: 0.5406 MB / 0.5065 GB, free: 7.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.9532, allocations: 306.6 kB / 0.5068 GB, free: 7.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.9533, allocations: 4.844 kB / 0.5068 GB, free: 7.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002573/0.9558, allocations: 0.872 MB / 0.5077 GB, free: 7.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.9559, allocations: 7.562 kB / 0.5077 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.956, allocations: 14.97 kB / 0.5077 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.9582, allocations: 262.4 kB / 0.5079 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/0.9593, allocations: 133.7 kB / 0.5081 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.9609, allocations: 0.8412 MB / 0.5089 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.9619, allocations: 52.84 kB / 0.5089 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.9621, allocations: 35.72 kB / 0.509 GB, free: 6.977 MB / 410.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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.9626, allocations: 257.3 kB / 0.5092 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.9628, allocations: 64.94 kB / 0.5093 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.9647, allocations: 0.7249 MB / 0.51 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.9648, allocations: 10.64 kB / 0.51 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.9648, allocations: 4 kB / 0.51 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.9648, allocations: 3.984 kB / 0.51 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.968, allocations: 1.352 MB / 0.5113 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.968, allocations: 3.031 kB / 0.5113 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/0.97, allocations: 200.5 kB / 0.5115 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.9702, allocations: 21.97 kB / 0.5115 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.9703, allocations: 15.08 kB / 0.5116 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.9733, allocations: 2.687 MB / 0.5142 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9734, allocations: 9.469 kB / 0.5142 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.9757, allocations: 0.9464 MB / 0.5151 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.9764, allocations: 208.2 kB / 0.5153 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.9765, allocations: 11.12 kB / 0.5153 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007386/0.9773, allocations: 30.7 kB / 0.5153 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.9774, allocations: 40.36 kB / 0.5154 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.9775, allocations: 19.86 kB / 0.5154 GB, free: 2.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007356/0.9783, allocations: 403.4 kB / 0.5158 GB, free: 2.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9783, allocations: 0 / 0.5158 GB, free: 2.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001254/0.9795, allocations: 212.7 kB / 0.516 GB, free: 2.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002849/0.9824, allocations: 1.645 MB / 0.5176 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.9843, allocations: 0.5835 MB / 0.5182 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.9843, allocations: 5.453 kB / 0.5182 GB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.9859, allocations: 425.5 kB / 0.5186 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.9883, allocations: 278.5 kB / 0.5188 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009269/0.9976, allocations: 4.28 MB / 0.523 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.9983, allocations: 0.9464 MB / 0.5239 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.9988, allocations: 239.2 kB / 0.5242 GB, free: 13.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9988, allocations: 2.531 kB / 0.5242 GB, free: 13.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.075/4.074, allocations: 17.83 MB / 0.5416 GB, free: 14.29 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat