Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003642, allocations: 16 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.07964, allocations: 44.51 MB / 308.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.66/15.74, allocations: 6.611 GB / 6.913 GB, free: 94.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/15.74, allocations: 74.88 kB / 6.913 GB, free: 94.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8843/16.62, allocations: 191.4 MB / 7.099 GB, free: 67.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.88e-06/16.62, allocations: 0 / 7.099 GB, free: 67.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/16.62, allocations: 3.969 kB / 7.099 GB, free: 67.25 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00624/16.63, allocations: 1.457 MB / 7.101 GB, free: 66.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/16.63, allocations: 7.25 kB / 7.101 GB, free: 66.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/16.63, allocations: 19.05 kB / 7.101 GB, free: 66.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/16.63, allocations: 212.9 kB / 7.101 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/16.63, allocations: 15.89 kB / 7.101 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/16.63, allocations: 14.14 kB / 7.101 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/16.63, allocations: 266.6 kB / 7.101 GB, free: 66.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/16.63, allocations: 0 / 7.101 GB, free: 66.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/16.63, allocations: 7.188 kB / 7.101 GB, free: 66.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/16.63, allocations: 11.8 kB / 7.101 GB, free: 66.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009055/16.63, allocations: 279.4 kB / 7.102 GB, free: 66.03 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.001475/16.63, allocations: 0.6892 MB / 7.102 GB, free: 65.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/16.63, allocations: 316.7 kB / 7.103 GB, free: 65.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/16.64, allocations: 10.05 MB / 7.112 GB, free: 55.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/16.64, allocations: 37.69 kB / 7.113 GB, free: 55.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.259e-06/16.64, allocations: 7.938 kB / 7.113 GB, free: 55.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003891/16.65, allocations: 0.6924 MB / 7.113 GB, free: 55.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/16.65, allocations: 81.02 kB / 7.113 GB, free: 55.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/16.65, allocations: 115.1 kB / 7.113 GB, free: 54.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/16.65, allocations: 33.33 kB / 7.113 GB, free: 54.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/16.65, allocations: 182 kB / 7.114 GB, free: 54.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/16.65, allocations: 125.8 kB / 7.114 GB, free: 54.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/16.65, allocations: 3.812 kB / 7.114 GB, free: 54.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/16.65, allocations: 325.7 kB / 7.114 GB, free: 54.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/16.65, allocations: 131 kB / 7.114 GB, free: 54.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/16.65, allocations: 207.1 kB / 7.114 GB, free: 54.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/16.65, allocations: 156.3 kB / 7.114 GB, free: 54.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/16.65, allocations: 3.625 kB / 7.114 GB, free: 54.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001579/16.65, allocations: 410.7 kB / 7.115 GB, free: 54.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/16.65, allocations: 15.47 kB / 7.115 GB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.163e-06/16.65, allocations: 0 / 7.115 GB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/16.65, allocations: 3.625 kB / 7.115 GB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/16.65, allocations: 94.69 kB / 7.115 GB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/16.65, allocations: 3.656 kB / 7.115 GB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/16.65, allocations: 31.2 kB / 7.115 GB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/16.65, allocations: 18.16 kB / 7.115 GB, free: 54.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001697/16.65, allocations: 138.4 kB / 7.115 GB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/16.65, allocations: 19.16 kB / 7.115 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/16.65, allocations: 206.4 kB / 7.115 GB, free: 54.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-06/16.65, allocations: 3.469 kB / 7.115 GB, free: 54.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-06/16.65, allocations: 0 / 7.115 GB, free: 54.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-06/16.65, allocations: 4 kB / 7.115 GB, free: 54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/16.66, allocations: 0.9654 MB / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.912e-06/16.66, allocations: 3.469 kB / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/16.66, allocations: 89.06 kB / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/16.66, allocations: 3.625 kB / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/16.66, allocations: 5.094 kB / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.222e-06/16.66, allocations: 8.031 kB / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.869e-06/16.66, allocations: 0 / 7.116 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/16.66, allocations: 0.8013 MB / 7.117 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/16.66, allocations: 118.5 kB / 7.117 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/16.66, allocations: 7.594 kB / 7.117 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/16.66, allocations: 29.02 kB / 7.117 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/16.66, allocations: 30.44 kB / 7.117 GB, free: 53.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/16.66, allocations: 20.48 kB / 7.117 GB, free: 53.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.211e-05/16.66, allocations: 109.5 kB / 7.118 GB, free: 52.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.59e-07/16.66, allocations: 0 / 7.118 GB, free: 52.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00453/16.66, allocations: 1.082 MB / 7.119 GB, free: 52.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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): 39 * 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 Backend phase and start with SimCode phase: time 0.008728/16.67, allocations: 1.608 MB / 7.12 GB, free: 52.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/16.67, allocations: 344 kB / 7.12 GB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.748e-06/16.67, allocations: 0 / 7.12 GB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/16.67, allocations: 181.4 kB / 7.121 GB, free: 52.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/16.68, allocations: 96.34 kB / 7.121 GB, free: 52.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/16.68, allocations: 0.7465 MB / 7.121 GB, free: 51.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/16.68, allocations: 0.7411 MB / 7.122 GB, free: 51.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/16.68, allocations: 46.55 kB / 7.122 GB, free: 51.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/16.68, allocations: 3.938 kB / 7.122 GB, free: 51.19 MB / 410.7 MB Notification: Performance of Templates: time 0.04336/16.72, allocations: 26.48 MB / 7.148 GB, free: 36.29 MB / 410.7 MB