Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003844, allocations: 12 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 44.51 MB / 309 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5736, allocations: 76.32 MB / 385.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/0.5741, allocations: 82.47 kB / 385.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05412/0.6282, allocations: 9.534 MB / 395 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6283, allocations: 0 / 395 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.6283, allocations: 7.781 kB / 395 MB, free: 14.43 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001881/0.6302, allocations: 0.7971 MB / 395.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6303, allocations: 11.75 kB / 395.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.6305, allocations: 65.78 kB / 395.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/0.6312, allocations: 390.6 kB / 396.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.6314, allocations: 59.09 kB / 396.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.6315, allocations: 26.38 kB / 396.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.6327, allocations: 492 kB / 396.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.6328, allocations: 7.812 kB / 396.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.6329, allocations: 15.56 kB / 396.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.6329, allocations: 7.594 kB / 396.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.6342, allocations: 378.3 kB / 397.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.6373, allocations: 1.256 MB / 398.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.6386, allocations: 449.9 kB / 398.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.6387, allocations: 15.55 kB / 398.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.6387, allocations: 37.38 kB / 399 MB, free: 12.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.326e-06/0.6387, allocations: 0 / 399 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002658/0.6414, allocations: 0.7623 MB / 399.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6416, allocations: 459.7 kB / 400.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.6423, allocations: 431.1 kB / 400.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.6424, allocations: 41.27 kB / 400.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.6426, allocations: 231.3 kB / 400.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.6427, allocations: 129.5 kB / 401 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.6428, allocations: 3.938 kB / 401 MB, free: 11.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6429, allocations: 359.2 kB / 401.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.6436, allocations: 151.7 kB / 401.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.6444, allocations: 296.5 kB / 401.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.6451, allocations: 206.5 kB / 402 MB, free: 11.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6451, allocations: 0 / 402 MB, free: 11.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001752/0.6469, allocations: 0.5062 MB / 402.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.647, allocations: 33.33 kB / 402.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.647, allocations: 0.6562 kB / 402.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.6472, allocations: 56.78 kB / 402.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.648, allocations: 88.45 kB / 402.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.6507, allocations: 2.761 MB / 405.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.6515, allocations: 67.06 kB / 405.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.6516, allocations: 11.12 kB / 405.5 MB, free: 8.297 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003939/0.652, allocations: 176.6 kB / 405.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6521, allocations: 51.06 kB / 405.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.6523, allocations: 54.06 kB / 405.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6523, allocations: 7.109 kB / 405.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6523, allocations: 3.984 kB / 405.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/0.6537, allocations: 0.7671 MB / 406.5 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.6563, allocations: 1.045 MB / 407.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6563, allocations: 3.938 kB / 407.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.6571, allocations: 101.1 kB / 407.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.6572, allocations: 0 / 407.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.6572, allocations: 10.06 kB / 407.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.6572, allocations: 11.03 kB / 407.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6572, allocations: 0 / 407.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.6594, allocations: 0.6996 MB / 408.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.6596, allocations: 134.9 kB / 408.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.6597, allocations: 9.547 kB / 408.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.6603, allocations: 30.98 kB / 408.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6604, allocations: 29.89 kB / 408.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.6605, allocations: 9.719 kB / 408.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005017/0.661, allocations: 306.2 kB / 408.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.661, allocations: 4 kB / 408.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006848/0.6617, allocations: 153 kB / 409.1 MB, free: 6.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (36): * Single equations (assignments): 36 * 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.0002067/0.6619, allocations: 112.1 kB / 409.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.6638, allocations: 0.6762 MB / 409.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.6638, allocations: 0 / 409.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000781/0.6646, allocations: 202.2 kB / 410.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6658, allocations: 116.4 kB / 410.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.6686, allocations: 1.109 MB / 411.3 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.6689, allocations: 0.8363 MB / 412.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004976/0.6695, allocations: 55.22 kB / 412.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.6696, allocations: 41.8 kB / 412.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6697, allocations: 0 / 412.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of Templates: time 0.02092/0.6906, allocations: 7.68 MB / 419.9 MB, free: 0.9727 MB / 314.7 MB