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.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 2.259/2.259, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.09978, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5212, allocations: 76.66 MB / 385.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5215, allocations: 78.42 kB / 385.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03826/0.5598, allocations: 9.813 MB / 395.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5598, allocations: 0 / 395.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.5599, allocations: 11.31 kB / 395.6 MB, free: 14.39 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001914/0.5618, allocations: 0.823 MB / 396.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5619, allocations: 7.781 kB / 396.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.562, allocations: 66.41 kB / 396.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.5628, allocations: 389.6 kB / 396.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.5629, allocations: 59.83 kB / 396.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.563, allocations: 29.47 kB / 397 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.5642, allocations: 0.5105 MB / 397.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5643, allocations: 0 / 397.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.5644, allocations: 20.56 kB / 397.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.5644, allocations: 11.61 kB / 397.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5657, allocations: 385.9 kB / 397.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.5688, allocations: 1.318 MB / 399.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.5705, allocations: 0.5112 MB / 399.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.5706, allocations: 3.875 kB / 399.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.5706, allocations: 39.69 kB / 399.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.316e-06/0.5706, allocations: 0 / 399.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002597/0.5732, allocations: 0.7968 MB / 400.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.5734, allocations: 454.7 kB / 401 MB, free: 11.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007574/0.5741, allocations: 448.5 kB / 401.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/0.5742, allocations: 37.05 kB / 401.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.5744, allocations: 241.8 kB / 401.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5746, allocations: 130.6 kB / 401.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.5746, allocations: 6.031 kB / 401.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5747, allocations: 360.9 kB / 402.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.5754, allocations: 164 kB / 402.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007361/0.5762, allocations: 297 kB / 402.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.5769, allocations: 208.4 kB / 402.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5769, allocations: 1.25 kB / 402.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001699/0.5786, allocations: 0.5225 MB / 403.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.5787, allocations: 29.55 kB / 403.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5787, allocations: 0 / 403.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.5789, allocations: 55.39 kB / 403.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.5797, allocations: 103.8 kB / 403.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.5824, allocations: 2.762 MB / 406.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.5832, allocations: 63.06 kB / 406.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.5833, allocations: 13.03 kB / 406.4 MB, free: 8.227 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 (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.000342/0.5836, allocations: 171.5 kB / 406.6 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5838, allocations: 49.94 kB / 406.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.5839, allocations: 63.11 kB / 406.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5839, allocations: 7.844 kB / 406.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.584, allocations: 4 kB / 406.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.5854, allocations: 0.7766 MB / 407.5 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.5879, allocations: 1.092 MB / 408.5 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5879, allocations: 0 / 408.5 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.5888, allocations: 97.44 kB / 408.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.5888, allocations: 3.875 kB / 408.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.5889, allocations: 14.42 kB / 408.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.5889, allocations: 3.875 kB / 408.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5889, allocations: 0 / 408.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.591, allocations: 0.7159 MB / 409.4 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.5912, allocations: 139.7 kB / 409.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5914, allocations: 10.72 kB / 409.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.5919, allocations: 34.81 kB / 409.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5921, allocations: 22.53 kB / 409.6 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.5921, allocations: 11.59 kB / 409.6 MB, free: 6.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005035/0.5926, allocations: 323.4 kB / 409.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5926, allocations: 0 / 409.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006847/0.5933, allocations: 149.3 kB / 410.1 MB, free: 6.492 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 (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.0002046/0.5935, allocations: 125.7 kB / 410.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.5954, allocations: 0.6783 MB / 410.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5954, allocations: 0 / 410.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006651/0.5961, allocations: 208.4 kB / 411.1 MB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/0.5971, allocations: 127.7 kB / 411.2 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.5996, allocations: 1.145 MB / 412.3 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5999, allocations: 0.8432 MB / 413.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.6004, allocations: 59.34 kB / 413.2 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.6006, allocations: 42.55 kB / 413.3 MB, free: 4.406 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6006, allocations: 0 / 413.3 MB, free: 4.406 MB / 314.7 MB Notification: Performance of Templates: time 0.02059/0.6212, allocations: 7.818 MB / 421.1 MB, free: 0.5898 MB / 314.7 MB