Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005, allocations: 8 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08732, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4549, allocations: 71.33 MB / 343.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4552, allocations: 75.78 kB / 344 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04918/0.5044, allocations: 9.789 MB / 353.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5045, allocations: 0 / 353.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.5045, allocations: 8 kB / 353.8 MB, free: 9.77 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00211/0.5067, allocations: 0.8191 MB / 354.6 MB, free: 8.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5067, allocations: 16.03 kB / 354.6 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.5069, allocations: 63.25 kB / 354.7 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.5078, allocations: 387.8 kB / 355.1 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.508, allocations: 67.48 kB / 355.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.5081, allocations: 29.94 kB / 355.2 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5097, allocations: 0.5041 MB / 355.7 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.5098, allocations: 0 / 355.7 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.5098, allocations: 18.62 kB / 355.7 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.5099, allocations: 8 kB / 355.7 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.5114, allocations: 385.9 kB / 356.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.5152, allocations: 1.32 MB / 357.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.5171, allocations: 0.5029 MB / 357.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.5172, allocations: 9 kB / 357.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.5173, allocations: 38.69 kB / 358 MB, free: 6.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.356e-06/0.5173, allocations: 0 / 358 MB, free: 6.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002897/0.5202, allocations: 0.7955 MB / 358.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003059/0.5205, allocations: 448.5 kB / 359.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.5214, allocations: 445 kB / 359.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.5215, allocations: 36.52 kB / 359.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.5217, allocations: 247 kB / 359.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.5219, allocations: 132 kB / 360 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.5219, allocations: 3.562 kB / 360 MB, free: 4.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.5221, allocations: 364.3 kB / 360.4 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.5228, allocations: 155.9 kB / 360.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/0.5237, allocations: 304.1 kB / 360.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.5245, allocations: 212 kB / 361.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5245, allocations: 0 / 361.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001817/0.5263, allocations: 0.529 MB / 361.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.5264, allocations: 29.7 kB / 361.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5264, allocations: 0 / 361.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.5266, allocations: 55.56 kB / 361.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.5274, allocations: 94.44 kB / 361.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.531, allocations: 2.779 MB / 364.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/0.5318, allocations: 68.94 kB / 364.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.5318, allocations: 11.81 kB / 364.6 MB, free: 15.81 MB / 298.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 (40): * Single equations (assignments): 37 * 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.0003681/0.5322, allocations: 171.5 kB / 364.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.5324, allocations: 47.44 kB / 364.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.5326, allocations: 58.81 kB / 364.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5326, allocations: 4 kB / 364.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5326, allocations: 0 / 364.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/0.5348, allocations: 0.786 MB / 365.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.5408, allocations: 1.085 MB / 366.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.5409, allocations: 0 / 366.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.5427, allocations: 99.81 kB / 366.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/0.5428, allocations: 3.984 kB / 366.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.421e-05/0.5429, allocations: 11.77 kB / 366.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5429, allocations: 0 / 366.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5429, allocations: 4 kB / 366.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.5471, allocations: 0.7186 MB / 367.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.5474, allocations: 131.8 kB / 367.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.5476, allocations: 11.56 kB / 367.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.5481, allocations: 39.8 kB / 367.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5483, allocations: 27.95 kB / 367.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.5483, allocations: 11.75 kB / 367.8 MB, free: 13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000598/0.5489, allocations: 323.5 kB / 368.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.507e-06/0.549, allocations: 0 / 368.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007012/0.5497, allocations: 139.4 kB / 368.3 MB, free: 12.64 MB / 298.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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.5499, allocations: 130.7 kB / 368.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.5519, allocations: 0.6875 MB / 369.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5519, allocations: 0 / 369.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.5527, allocations: 205.7 kB / 369.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5541, allocations: 129.4 kB / 369.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.5588, allocations: 1.154 MB / 370.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008706/0.5598, allocations: 0.8354 MB / 371.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001587/0.5614, allocations: 64.3 kB / 371.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.5617, allocations: 46.86 kB / 371.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of SimCode: time 1.934e-06/0.5618, allocations: 0 / 371.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of Templates: time 0.02956/0.5913, allocations: 7.704 MB / 379.2 MB, free: 1.926 MB / 298.7 MB