Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.598/1.598, allocations: 171.3 MB / 179.2 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.272e-05, allocations: 0 / 222.5 MB, free: 8.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07036/0.0704, allocations: 38.77 MB / 261.3 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9646/1.035, allocations: 327.9 MB / 0.5754 GB, free: 102.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.035, allocations: 87.94 kB / 0.5755 GB, free: 102.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2296/1.265, allocations: 86.81 MB / 0.6602 GB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.478e-06/1.265, allocations: 0 / 0.6602 GB, free: 14.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.125e-05/1.265, allocations: 4 kB / 0.6602 GB, free: 14.62 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006955/1.266, allocations: 0.5269 MB / 0.6607 GB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.266, allocations: 8.031 kB / 0.6607 GB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/1.266, allocations: 47.56 kB / 0.6608 GB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/1.266, allocations: 282.5 kB / 0.6611 GB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.267, allocations: 11.95 kB / 0.6611 GB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/1.267, allocations: 15.98 kB / 0.6611 GB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003943/1.267, allocations: 177.1 kB / 0.6613 GB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/1.267, allocations: 256.3 kB / 0.6615 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/1.268, allocations: 0 / 0.6615 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/1.268, allocations: 0 / 0.6615 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.268, allocations: 8 kB / 0.6615 GB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/1.27, allocations: 1.222 MB / 0.6627 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/1.271, allocations: 167 kB / 0.6629 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/1.271, allocations: 85.22 kB / 0.6629 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/1.271, allocations: 178.4 kB / 0.6631 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.271, allocations: 34.75 kB / 0.6631 GB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 7.272e-06/1.271, allocations: 4 kB / 0.6632 GB, free: 11.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.004338/1.276, allocations: 0.7868 MB / 0.6639 GB, free: 10.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/1.276, allocations: 55.41 kB / 0.664 GB, free: 10.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/1.276, allocations: 191.2 kB / 0.6642 GB, free: 10.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/1.276, allocations: 25.7 kB / 0.6642 GB, free: 10.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/1.277, allocations: 250.1 kB / 0.6644 GB, free: 9.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.277, allocations: 86.75 kB / 0.6645 GB, free: 9.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/1.277, allocations: 0 / 0.6645 GB, free: 9.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.308e-05/1.277, allocations: 334.8 kB / 0.6648 GB, free: 9.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/1.277, allocations: 71.78 kB / 0.6649 GB, free: 9.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/1.278, allocations: 161.5 kB / 0.665 GB, free: 9.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/1.278, allocations: 103.9 kB / 0.6651 GB, free: 9.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.24e-06/1.278, allocations: 0 / 0.6651 GB, free: 9.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001507/1.28, allocations: 396 kB / 0.6655 GB, free: 8.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.28, allocations: 6.969 kB / 0.6655 GB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.28, allocations: 7.984 kB / 0.6655 GB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/1.28, allocations: 50.05 kB / 0.6656 GB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/1.281, allocations: 75.84 kB / 0.6657 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/1.284, allocations: 2.462 MB / 0.6681 GB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/1.284, allocations: 19.95 kB / 0.6681 GB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/1.285, allocations: 12 kB / 0.6681 GB, free: 5.871 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002771/1.285, allocations: 116.7 kB / 0.6682 GB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.285, allocations: 27.81 kB / 0.6682 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.286, allocations: 338.3 kB / 0.6685 GB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/1.286, allocations: 7.984 kB / 0.6686 GB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.389e-06/1.286, allocations: 0 / 0.6686 GB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/1.287, allocations: 0.5953 MB / 0.6691 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/1.289, allocations: 0.705 MB / 0.6698 GB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.422e-06/1.29, allocations: 0 / 0.6698 GB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/1.29, allocations: 59.89 kB / 0.6699 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/1.29, allocations: 16.86 kB / 0.6699 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/1.291, allocations: 8.016 kB / 0.6699 GB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/1.292, allocations: 1.221 MB / 0.6711 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.483e-06/1.292, allocations: 4.062 kB / 0.6711 GB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/1.293, allocations: 0.4922 MB / 0.6716 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.293, allocations: 96.86 kB / 0.6717 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/1.294, allocations: 0 / 0.6717 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/1.294, allocations: 16.05 kB / 0.6717 GB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/1.294, allocations: 23.92 kB / 0.6717 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/1.294, allocations: 15.92 kB / 0.6717 GB, free: 1.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002888/1.295, allocations: 149.9 kB / 0.6719 GB, free: 1.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.105e-06/1.295, allocations: 0 / 0.6719 GB, free: 1.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001383/1.296, allocations: 107.9 kB / 0.672 GB, free: 1.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006512/1.297, allocations: 245.1 kB / 0.6722 GB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/1.298, allocations: 419.5 kB / 0.6726 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.832e-06/1.298, allocations: 0 / 0.6726 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/1.299, allocations: 205.7 kB / 0.6728 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.3, allocations: 129.1 kB / 0.6729 GB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2044/1.505, allocations: 479.5 kB / 0.6734 GB, free: 83.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/1.505, allocations: 0.7662 MB / 0.6741 GB, free: 83.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/1.505, allocations: 34.81 kB / 0.6742 GB, free: 83.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.991e-06/1.505, allocations: 0 / 0.6742 GB, free: 83.26 MB / 346.7 MB Notification: Performance of Templates: time 0.01236/1.518, allocations: 6.726 MB / 0.6807 GB, free: 83.19 MB / 346.7 MB