Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 0.9786/0.9786, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.382e-05, allocations: 4 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 25.14 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08533/0.2306, allocations: 38.28 MB / 217.7 MB, free: 10.83 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/0.2311, allocations: 63.97 kB / 217.8 MB, free: 10.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0535/0.2846, allocations: 9.885 MB / 227.7 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2847, allocations: 0 / 227.7 MB, free: 0.832 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.094e-05/0.2847, allocations: 11.98 kB / 227.7 MB, free: 0.8203 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001427/0.2862, allocations: 0.7258 MB / 228.4 MB, free: 44 kB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2862, allocations: 12.03 kB / 228.4 MB, free: 32 kB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2864, allocations: 67.39 kB / 228.5 MB, free: 15.96 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.2872, allocations: 377.8 kB / 228.8 MB, free: 15.56 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.2873, allocations: 62.47 kB / 228.9 MB, free: 15.49 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.2874, allocations: 32 kB / 228.9 MB, free: 15.46 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009252/0.2884, allocations: 450.9 kB / 229.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.2884, allocations: 4.25 kB / 229.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.2885, allocations: 23.95 kB / 229.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2885, allocations: 12 kB / 229.4 MB, free: 14.93 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.2892, allocations: 275.1 kB / 229.7 MB, free: 14.66 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.2922, allocations: 1.393 MB / 231.1 MB, free: 13.16 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.293, allocations: 372.5 kB / 231.4 MB, free: 12.77 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.2934, allocations: 153.4 kB / 231.6 MB, free: 12.62 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.2934, allocations: 11.94 kB / 231.6 MB, free: 12.61 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.2935, allocations: 46.38 kB / 231.6 MB, free: 12.55 MB / 202.7 MB Notification: Performance of pre-optimization done (n=36): time 3.626e-06/0.2935, allocations: 0 / 231.6 MB, free: 12.55 MB / 202.7 MB Notification: Performance of matching and sorting (n=36): time 0.0011/0.2946, allocations: 382.4 kB / 232 MB, free: 12.17 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002738/0.2949, allocations: 445 kB / 232.5 MB, free: 11.63 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1121:9-1123:45:writable] Warning: Parameter volumeFlow.duration_2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1116:9-1118:45:writable] Warning: Parameter volumeFlow.duration_1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1112:9-1113:66:writable] Warning: Parameter volumeFlow.interval has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1110:9-1111:34:writable] Warning: Parameter volumeFlow.startTime has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient2.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter pump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient1.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/0.2958, allocations: 429.2 kB / 232.9 MB, free: 11.21 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.2958, allocations: 33.7 kB / 232.9 MB, free: 11.17 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.2961, allocations: 274.9 kB / 233.2 MB, free: 10.9 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.2962, allocations: 126.2 kB / 233.3 MB, free: 10.77 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.2963, allocations: 4 kB / 233.3 MB, free: 10.77 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2965, allocations: 330.8 kB / 233.6 MB, free: 10.44 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.2968, allocations: 104.3 kB / 233.7 MB, free: 10.33 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.2972, allocations: 247.3 kB / 234 MB, free: 10.04 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.2976, allocations: 151 kB / 234.1 MB, free: 9.887 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-06/0.2976, allocations: 0 / 234.1 MB, free: 9.887 MB / 202.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001088/0.2987, allocations: 416.4 kB / 234.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.2988, allocations: 29.7 kB / 234.5 MB, free: 9.426 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-06/0.2988, allocations: 0 / 234.5 MB, free: 9.426 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.2992, allocations: 61.72 kB / 234.6 MB, free: 9.359 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.2998, allocations: 91.88 kB / 234.7 MB, free: 9.27 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.303, allocations: 2.744 MB / 237.4 MB, free: 6.258 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.3036, allocations: 67.64 kB / 237.5 MB, free: 6.191 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.3037, allocations: 16 kB / 237.5 MB, free: 6.176 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass unit = "K" nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real 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 () * 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.0002651/0.304, allocations: 146.7 kB / 237.7 MB, free: 6.027 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3041, allocations: 47.44 kB / 237.7 MB, free: 5.98 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.3043, allocations: 56.88 kB / 237.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.3043, allocations: 8 kB / 237.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.735e-06/0.3043, allocations: 0 / 237.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009421/0.3052, allocations: 0.6649 MB / 238.4 MB, free: 5.148 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3073, allocations: 1.012 MB / 239.5 MB, free: 4.062 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-06/0.3073, allocations: 0 / 239.5 MB, free: 4.062 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.308, allocations: 103.9 kB / 239.6 MB, free: 3.961 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.308, allocations: 7.938 kB / 239.6 MB, free: 3.953 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.3081, allocations: 4 kB / 239.6 MB, free: 3.949 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.349e-06/0.3081, allocations: 4 kB / 239.6 MB, free: 3.945 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/0.3081, allocations: 0 / 239.6 MB, free: 3.945 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3093, allocations: 0.5698 MB / 240.1 MB, free: 3.359 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.3095, allocations: 132.4 kB / 240.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.3097, allocations: 16.05 kB / 240.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3101, allocations: 39.98 kB / 240.3 MB, free: 3.156 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.3102, allocations: 23.95 kB / 240.3 MB, free: 3.133 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.3103, allocations: 8 kB / 240.4 MB, free: 3.125 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005679/0.3109, allocations: 317.2 kB / 240.7 MB, free: 2.816 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.3109, allocations: 7.938 kB / 240.7 MB, free: 2.809 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006566/0.3115, allocations: 151.8 kB / 240.8 MB, free: 2.66 MB / 202.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 () * 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.0002216/0.3118, allocations: 124.7 kB / 240.9 MB, free: 2.527 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.313, allocations: 0.5745 MB / 241.5 MB, free: 1.914 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.966e-06/0.313, allocations: 4.062 kB / 241.5 MB, free: 1.91 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.3133, allocations: 139.9 kB / 241.7 MB, free: 1.773 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.3149, allocations: 257.7 kB / 241.9 MB, free: 1.523 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.317, allocations: 0.7401 MB / 242.6 MB, free: 0.7539 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.3176, allocations: 0.8363 MB / 243.5 MB, free: 15.89 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3179, allocations: 43.44 kB / 243.5 MB, free: 15.85 MB / 218.7 MB Notification: Performance of SimCode: time 1.617e-06/0.3179, allocations: 4 kB / 243.5 MB, free: 15.84 MB / 218.7 MB Notification: Performance of Templates: time 0.01692/0.3348, allocations: 8.84 MB / 252.4 MB, free: 7.031 MB / 218.7 MB