Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.1 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003459, allocations: 8 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08533, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4469, allocations: 70.38 MB / 342.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4472, allocations: 77.09 kB / 343 MB, free: 3.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03883/0.486, allocations: 9.042 MB / 352 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4861, allocations: 0 / 352 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.141e-05/0.4861, allocations: 15.98 kB / 352.1 MB, free: 11.95 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001739/0.4879, allocations: 0.7376 MB / 352.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.488, allocations: 16.03 kB / 352.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.4881, allocations: 55.34 kB / 352.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.4889, allocations: 368.2 kB / 353.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4891, allocations: 61.16 kB / 353.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.585e-05/0.4892, allocations: 30.88 kB / 353.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4903, allocations: 458.4 kB / 353.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4903, allocations: 0 / 353.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.4904, allocations: 20.55 kB / 353.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4904, allocations: 8 kB / 353.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009865/0.4914, allocations: 287.4 kB / 354.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.4945, allocations: 1.224 MB / 355.3 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4964, allocations: 427.7 kB / 355.7 MB, free: 8.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.4964, allocations: 12.2 kB / 355.7 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.4965, allocations: 41.66 kB / 355.8 MB, free: 8.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/0.4965, allocations: 0 / 355.8 MB, free: 8.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001925/0.4984, allocations: 0.6153 MB / 356.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002575/0.4987, allocations: 456.6 kB / 356.8 MB, free: 7.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.4995, allocations: 428.8 kB / 357.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.4996, allocations: 33.08 kB / 357.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.4999, allocations: 264.6 kB / 357.5 MB, free: 7.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5, allocations: 115 kB / 357.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.5001, allocations: 7.875 kB / 357.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5002, allocations: 330.2 kB / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.5007, allocations: 114.3 kB / 358.1 MB, free: 6.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.5013, allocations: 257.8 kB / 358.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.5018, allocations: 160.1 kB / 358.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.5018, allocations: 0 / 358.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001231/0.5031, allocations: 410.4 kB / 358.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.5032, allocations: 34.27 kB / 358.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.5032, allocations: 0 / 358.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.5034, allocations: 50.94 kB / 359 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.5041, allocations: 70.94 kB / 359 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.5077, allocations: 2.779 MB / 361.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.5084, allocations: 47.75 kB / 361.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.5084, allocations: 11.88 kB / 361.9 MB, free: 2.77 MB / 282.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 (37): * Single equations (assignments): 34 * 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.0003467/0.5088, allocations: 168.3 kB / 362 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.5089, allocations: 51.38 kB / 362.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.5091, allocations: 47.59 kB / 362.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5091, allocations: 4 kB / 362.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5091, allocations: 0 / 362.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.5103, allocations: 0.6664 MB / 362.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.5124, allocations: 0.9086 MB / 363.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.5125, allocations: 0 / 363.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/0.5132, allocations: 71.91 kB / 363.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.5132, allocations: 3.984 kB / 363.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.5132, allocations: 15.08 kB / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5133, allocations: 0 / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5133, allocations: 0 / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5148, allocations: 0.5431 MB / 364.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.515, allocations: 130 kB / 364.5 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.5151, allocations: 6.812 kB / 364.5 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.5156, allocations: 26.44 kB / 364.5 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.5157, allocations: 19.53 kB / 364.5 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5157, allocations: 8 kB / 364.5 MB, free: 400 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005492/0.5163, allocations: 305.3 kB / 364.8 MB, free: 164 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5163, allocations: 0 / 364.8 MB, free: 164 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006618/0.5169, allocations: 138.1 kB / 365 MB, free: 40 kB / 282.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 (33): * Single equations (assignments): 33 * 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.0002846/0.5172, allocations: 129.5 kB / 365.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.5188, allocations: 0.5742 MB / 365.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5188, allocations: 4.062 kB / 365.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.5193, allocations: 139.1 kB / 365.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000919/0.5202, allocations: 110.5 kB / 365.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.5231, allocations: 1.089 MB / 367 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.5237, allocations: 0.8237 MB / 367.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.524, allocations: 46.42 kB / 367.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.524, allocations: 0 / 367.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Templates: time 0.01769/0.5417, allocations: 7.625 MB / 375.5 MB, free: 5.703 MB / 298.7 MB