Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.561/2.561, allocations: 194.9 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005122, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 44.49 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.45/20.55, allocations: 6.53 GB / 6.831 GB, free: 96.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/20.55, allocations: 89.05 kB / 6.831 GB, free: 96.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.712/24.27, allocations: 0.6659 GB / 7.497 GB, free: 23.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/24.27, allocations: 0 / 7.497 GB, free: 23.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.758e-05/24.27, allocations: 12.12 kB / 7.497 GB, free: 23.73 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01162/24.28, allocations: 2.44 MB / 7.5 GB, free: 22.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/24.28, allocations: 9.906 kB / 7.5 GB, free: 22.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006884/24.28, allocations: 86.58 kB / 7.5 GB, free: 22.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/24.28, allocations: 443.8 kB / 7.5 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/24.28, allocations: 45.44 kB / 7.5 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/24.28, allocations: 64.22 kB / 7.5 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/24.28, allocations: 0.7155 MB / 7.501 GB, free: 22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/24.28, allocations: 4.281 kB / 7.501 GB, free: 22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/24.28, allocations: 29.25 kB / 7.501 GB, free: 22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/24.28, allocations: 14.06 kB / 7.501 GB, free: 22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/24.28, allocations: 0.8799 MB / 7.502 GB, free: 21.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/24.31, allocations: 12.64 MB / 7.514 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/24.31, allocations: 0.8911 MB / 7.515 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05444/24.36, allocations: 30.14 MB / 7.545 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/24.36, allocations: 45.11 kB / 7.545 GB, free: 11.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 3.747e-06/24.36, allocations: 0 / 7.545 GB, free: 11.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01703/24.38, allocations: 3.379 MB / 7.548 GB, free: 11.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/24.38, allocations: 70.05 kB / 7.548 GB, free: 11.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/24.38, allocations: 346.1 kB / 7.548 GB, free: 11.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/24.38, allocations: 45.55 kB / 7.548 GB, free: 11.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/24.38, allocations: 289.7 kB / 7.549 GB, free: 10.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/24.38, allocations: 310.7 kB / 7.549 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/24.38, allocations: 16.06 kB / 7.549 GB, free: 10.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/24.38, allocations: 343.1 kB / 7.549 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008637/24.38, allocations: 337 kB / 7.55 GB, free: 10.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/24.38, allocations: 454.2 kB / 7.55 GB, free: 10.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/24.39, allocations: 401.9 kB / 7.55 GB, free: 10.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/24.39, allocations: 3.938 kB / 7.55 GB, free: 10.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003536/24.39, allocations: 1.019 MB / 7.551 GB, free: 10.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/24.39, allocations: 7.75 kB / 7.551 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/24.39, allocations: 0 / 7.551 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/24.39, allocations: 164.5 kB / 7.552 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/24.39, allocations: 192.5 kB / 7.552 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004165/24.4, allocations: 3.932 MB / 7.556 GB, free: 22.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/24.4, allocations: 64.59 kB / 7.556 GB, free: 22.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/24.4, allocations: 49.23 kB / 7.556 GB, free: 22.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 98 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005979/24.4, allocations: 218.4 kB / 7.556 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/24.4, allocations: 63.16 kB / 7.556 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/24.4, allocations: 1.12 MB / 7.557 GB, free: 22.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/24.4, allocations: 9.5 kB / 7.557 GB, free: 22.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/24.4, allocations: 0 / 7.557 GB, free: 22.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002908/24.41, allocations: 1.347 MB / 7.558 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/24.41, allocations: 2.069 MB / 7.56 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/24.41, allocations: 11.27 kB / 7.56 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/24.41, allocations: 182.8 kB / 7.561 GB, free: 20.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/24.42, allocations: 308.5 kB / 7.561 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/24.42, allocations: 28.58 kB / 7.561 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/24.42, allocations: 1.301 MB / 7.562 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/24.42, allocations: 2.531 kB / 7.562 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/24.42, allocations: 1.464 MB / 7.564 GB, free: 19.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/24.42, allocations: 145.6 kB / 7.564 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/24.42, allocations: 29 kB / 7.564 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/24.42, allocations: 50.39 kB / 7.564 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/24.42, allocations: 66.55 kB / 7.564 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/24.42, allocations: 51.14 kB / 7.564 GB, free: 19.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004414/24.42, allocations: 264.6 kB / 7.564 GB, free: 19.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/24.42, allocations: 0 / 7.564 GB, free: 19.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01105/24.43, allocations: 2.297 MB / 7.566 GB, free: 18.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (97): * Single equations (assignments): 95 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02034/24.45, allocations: 3.381 MB / 7.57 GB, free: 18.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003778/24.46, allocations: 1.135 MB / 7.571 GB, free: 17.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/24.46, allocations: 0 / 7.571 GB, free: 17.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/24.46, allocations: 0.5098 MB / 7.571 GB, free: 17.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/24.46, allocations: 400.3 kB / 7.572 GB, free: 17.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/24.47, allocations: 2.122 MB / 7.574 GB, free: 17.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/24.47, allocations: 0.9349 MB / 7.575 GB, free: 16.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/24.47, allocations: 92.53 kB / 7.575 GB, free: 16.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/24.47, allocations: 0 / 7.575 GB, free: 16.32 MB / 474.7 MB Notification: Performance of Templates: time 0.5206/24.99, allocations: 68.47 MB / 7.642 GB, free: 57.11 MB / 474.7 MB