Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 234.9 MB / 250.4 MB, free: 10.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005979, allocations: 16 kB / 314.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3468, allocations: 54.87 MB / 369.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01308/0.3599, allocations: 7.457 MB / 376.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02356/0.3835, allocations: 12.86 MB / 389.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.3838, allocations: 4 kB / 389.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.3842, allocations: 59.61 kB / 389.7 MB, free: 6.426 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.3955, allocations: 2.601 MB / 392.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.3962, allocations: 139.8 kB / 392.4 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.4129, allocations: 7.138 MB / 399.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.413, allocations: 12.41 kB / 399.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.4134, allocations: 135.5 kB / 399.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04014/0.4536, allocations: 13.83 MB / 413.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.4537, allocations: 4 kB / 413.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009349/0.4631, allocations: 2.15 MB / 415.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.4633, allocations: 35.88 kB / 415.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.4635, allocations: 73.58 kB / 415.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.4678, allocations: 1.017 MB / 416.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4678, allocations: 4 kB / 416.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4679, allocations: 0 / 416.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4679, allocations: 0 / 416.8 MB, free: 11.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004252/0.4721, allocations: 0.8656 MB / 417.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.4722, allocations: 12.03 kB / 417.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.4724, allocations: 62.53 kB / 417.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.4736, allocations: 79.66 kB / 417.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.4742, allocations: 242.7 kB / 418 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.4742, allocations: 24.56 kB / 418.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/0.4743, allocations: 27.95 kB / 418.1 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.4764, allocations: 477.5 kB / 418.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.4764, allocations: 0 / 418.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.4765, allocations: 20 kB / 418.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.4766, allocations: 8 kB / 418.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.479, allocations: 0.6812 MB / 419.3 MB, free: 8.652 MB / 346.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.01565/0.4947, allocations: 4.311 MB / 423.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.4958, allocations: 171 kB / 423.7 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0472/0.543, allocations: 14.36 MB / 438.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009286/0.544, allocations: 322 kB / 438.4 MB, free: 3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/0.5441, allocations: 4 kB / 438.4 MB, free: 2.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001906/0.546, allocations: 434.3 kB / 438.8 MB, free: 2.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/0.5463, allocations: 482.9 kB / 439.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.5466, allocations: 186.2 kB / 439.5 MB, free: 1.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.5466, allocations: 37.69 kB / 439.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.5468, allocations: 254 kB / 439.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5469, allocations: 98.58 kB / 439.9 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.547, allocations: 8 kB / 439.9 MB, free: 1.395 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5471, allocations: 338.8 kB / 440.2 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.5473, allocations: 60.83 kB / 440.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.5477, allocations: 306.8 kB / 440.6 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.5481, allocations: 120.2 kB / 440.7 MB, free: 468 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5481, allocations: 0 / 440.7 MB, free: 468 kB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001043/0.5492, allocations: 393.2 kB / 441.1 MB, free: 68 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.5492, allocations: 8 kB / 441.1 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.5492, allocations: 8 kB / 441.1 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.5493, allocations: 12 kB / 441.1 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.5499, allocations: 111.9 kB / 441.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/0.5499, allocations: 15.94 kB / 441.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.5504, allocations: 52 kB / 441.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.5505, allocations: 32.08 kB / 441.3 MB, free: 15.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.5507, allocations: 161.5 kB / 441.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.5508, allocations: 35.7 kB / 441.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.5526, allocations: 0.7898 MB / 442.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.5527, allocations: 12.16 kB / 442.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5527, allocations: 4 kB / 442.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.5527, allocations: 3.984 kB / 442.3 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.5545, allocations: 1.213 MB / 443.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5546, allocations: 0 / 443.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5548, allocations: 39.88 kB / 443.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.5548, allocations: 8.094 kB / 443.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.5549, allocations: 4.094 kB / 443.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.5549, allocations: 7.938 kB / 443.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.5549, allocations: 11.92 kB / 443.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.5555, allocations: 371.3 kB / 444 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.5558, allocations: 224.1 kB / 444.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.5559, allocations: 4 kB / 444.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.5563, allocations: 19.98 kB / 444.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.5564, allocations: 19.94 kB / 444.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.5564, allocations: 8 kB / 444.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000525/0.5569, allocations: 290.9 kB / 444.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.557, allocations: 0 / 444.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001761/0.5587, allocations: 419.6 kB / 444.9 MB, free: 11.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00298/0.5617, allocations: 1.443 MB / 446.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.5625, allocations: 225.1 kB / 446.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.5625, allocations: 4 kB / 446.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.5627, allocations: 88.72 kB / 446.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.5641, allocations: 81.02 kB / 446.8 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5746, allocations: 2.377 MB / 449.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.5757, allocations: 0.8226 MB / 450 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.5761, allocations: 155.4 kB / 450.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5761, allocations: 0 / 450.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/3.353, allocations: 12.39 MB / 462.5 MB, free: 10.11 MB / 394.7 MB