Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007224/0.0007227, allocations: 12 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3181, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03693/0.3551, allocations: 22.44 MB / 391.6 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.3734, allocations: 10.53 MB / 402.2 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.3737, allocations: 0 / 402.2 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.374, allocations: 67.69 kB / 402.2 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02085/0.3949, allocations: 6.246 MB / 408.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.3957, allocations: 207.6 kB / 408.7 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005865/0.3963, allocations: 315.9 kB / 409 MB, free: 2.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.025e-05/0.3964, allocations: 16.31 kB / 409 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.3968, allocations: 195.4 kB / 409.2 MB, free: 2.605 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0197/0.4165, allocations: 11.07 MB / 420.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.013e-05/0.4166, allocations: 12 kB / 420.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03565/0.4523, allocations: 11.27 MB / 431.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.4526, allocations: 83.77 kB / 431.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.4528, allocations: 77.58 kB / 431.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.4702, allocations: 4.066 MB / 435.8 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.123e-06/0.4703, allocations: 0 / 435.8 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.169e-06/0.4703, allocations: 4 kB / 435.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4704, allocations: 0 / 435.8 MB, free: 7.996 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007819/0.4782, allocations: 1.452 MB / 437.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.4783, allocations: 8.031 kB / 437.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.4787, allocations: 35.67 kB / 437.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.4794, allocations: 246.7 kB / 437.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.4795, allocations: 20.56 kB / 437.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.4796, allocations: 20 kB / 437.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.4816, allocations: 0.4973 MB / 438 MB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.4817, allocations: 4 kB / 438 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.4818, allocations: 12 kB / 438.1 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.4819, allocations: 32.44 kB / 438.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.485, allocations: 0.8881 MB / 439 MB, free: 4.664 MB / 362.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.005109/0.4901, allocations: 1.925 MB / 440.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.4918, allocations: 335.1 kB / 441.2 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03299/0.5249, allocations: 13.22 MB / 454.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.5255, allocations: 248.4 kB / 454.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.158e-06/0.5256, allocations: 4 kB / 454.7 MB, free: 2.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002935/0.5285, allocations: 0.7753 MB / 455.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.5287, allocations: 272.9 kB / 455.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.529, allocations: 206.1 kB / 455.9 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.529, allocations: 33.95 kB / 456 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.5293, allocations: 265.9 kB / 456.2 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.5294, allocations: 130.2 kB / 456.4 MB, free: 492 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.5294, allocations: 8 kB / 456.4 MB, free: 484 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.5296, allocations: 330.8 kB / 456.7 MB, free: 144 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.5299, allocations: 89.05 kB / 456.8 MB, free: 56 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.5305, allocations: 357.6 kB / 457.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.5311, allocations: 159.8 kB / 457.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.068e-06/0.5311, allocations: 4 kB / 457.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001671/0.5328, allocations: 498 kB / 457.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.5328, allocations: 8 kB / 457.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.5328, allocations: 12 kB / 457.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.5329, allocations: 15.94 kB / 457.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/0.5338, allocations: 175.8 kB / 458 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009355/0.5348, allocations: 1.192 MB / 459.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.5352, allocations: 27.91 kB / 459.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.5353, allocations: 43.98 kB / 459.2 MB, free: 13.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.5356, allocations: 177.7 kB / 459.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.5358, allocations: 31.7 kB / 459.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.5373, allocations: 474.5 kB / 459.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.5374, allocations: 4 kB / 459.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.893e-06/0.5374, allocations: 0 / 459.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.949e-06/0.5374, allocations: 7.984 kB / 459.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.5387, allocations: 0.6129 MB / 460.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.847e-06/0.5388, allocations: 4 kB / 460.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.5393, allocations: 87.86 kB / 460.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.287e-06/0.5394, allocations: 0 / 460.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.5394, allocations: 12.12 kB / 460.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008383/0.5403, allocations: 1.176 MB / 461.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.167e-06/0.5403, allocations: 3.938 kB / 461.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.5411, allocations: 320 kB / 462.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.5413, allocations: 132.8 kB / 462.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.5413, allocations: 8.062 kB / 462.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.5417, allocations: 23.98 kB / 462.3 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.5417, allocations: 19.88 kB / 462.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.5418, allocations: 19.98 kB / 462.3 MB, free: 10.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002241/0.542, allocations: 164.5 kB / 462.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.5421, allocations: 0 / 462.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004841/0.5469, allocations: 1.589 MB / 464.1 MB, free: 8.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008049/0.555, allocations: 2.029 MB / 466.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.5564, allocations: 316.7 kB / 466.4 MB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.529e-06/0.5564, allocations: 0 / 466.4 MB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.557, allocations: 121.2 kB / 466.5 MB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.5576, allocations: 72.28 kB / 466.6 MB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5589, allocations: 0.666 MB / 467.3 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.5594, allocations: 0.7566 MB / 468 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.5597, allocations: 67.41 kB / 468.1 MB, free: 4.258 MB / 394.7 MB Notification: Performance of SimCode: time 1.461e-06/0.5597, allocations: 0 / 468.1 MB, free: 4.258 MB / 394.7 MB Notification: Performance of Templates: time 0.311/0.8707, allocations: 39.13 MB / 0.4953 GB, free: 67.66 MB / 394.7 MB