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.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 1.021/1.021, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 8 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.046/0.0463, allocations: 25.17 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.2268, allocations: 38.62 MB / 222.1 MB, free: 5.441 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.2271, allocations: 63.66 kB / 222.2 MB, free: 5.434 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03659/0.2637, allocations: 10.15 MB / 232.3 MB, free: 15.27 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2637, allocations: 0 / 232.3 MB, free: 15.27 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.2638, allocations: 19.92 kB / 232.3 MB, free: 15.25 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00178/0.2656, allocations: 0.8216 MB / 233.2 MB, free: 14.41 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2656, allocations: 8.031 kB / 233.2 MB, free: 14.4 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.2658, allocations: 71.55 kB / 233.2 MB, free: 14.33 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.2666, allocations: 398.7 kB / 233.6 MB, free: 13.96 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2668, allocations: 74.17 kB / 233.7 MB, free: 13.89 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.2669, allocations: 31.44 kB / 233.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.268, allocations: 0.5137 MB / 234.3 MB, free: 13.43 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2681, allocations: 4.281 kB / 234.3 MB, free: 13.43 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.2682, allocations: 23.14 kB / 234.3 MB, free: 13.41 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2682, allocations: 8 kB / 234.3 MB, free: 13.41 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.2694, allocations: 399.2 kB / 234.7 MB, free: 13.12 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.2725, allocations: 1.45 MB / 236.1 MB, free: 11.89 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.2739, allocations: 0.5135 MB / 236.6 MB, free: 11.47 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.274, allocations: 11.67 kB / 236.7 MB, free: 11.46 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.2741, allocations: 46 kB / 236.7 MB, free: 11.41 MB / 186.7 MB Notification: Performance of pre-optimization done (n=38): time 3.462e-06/0.2741, allocations: 0 / 236.7 MB, free: 11.41 MB / 186.7 MB Notification: Performance of matching and sorting (n=38): time 0.002289/0.2764, allocations: 0.7926 MB / 237.5 MB, free: 10.72 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002804/0.2767, allocations: 452.7 kB / 237.9 MB, free: 10.17 MB / 186.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:1119:9-1120:45:writable] Warning: Parameter volumeFlow.height_2 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: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:1114:9-1115:45:writable] Warning: Parameter volumeFlow.height_1 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: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:1109:9-1109:57:writable] Warning: Parameter volumeFlow.offset 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 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.000925/0.2776, allocations: 452.7 kB / 238.4 MB, free: 9.82 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.2777, allocations: 33.14 kB / 238.4 MB, free: 9.785 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.2779, allocations: 271.7 kB / 238.7 MB, free: 9.59 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.2781, allocations: 142.2 kB / 238.8 MB, free: 9.469 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.2782, allocations: 3.188 kB / 238.8 MB, free: 9.469 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2784, allocations: 328.3 kB / 239.1 MB, free: 9.145 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.2789, allocations: 159.7 kB / 239.3 MB, free: 9.035 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.2796, allocations: 296.1 kB / 239.6 MB, free: 8.758 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.2802, allocations: 220.1 kB / 239.8 MB, free: 8.598 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.754e-06/0.2802, allocations: 0 / 239.8 MB, free: 8.598 MB / 186.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001394/0.2816, allocations: 0.4977 MB / 240.3 MB, free: 8.203 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.2817, allocations: 29.7 kB / 240.3 MB, free: 8.168 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-06/0.2817, allocations: 0 / 240.3 MB, free: 8.168 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.2819, allocations: 50.89 kB / 240.4 MB, free: 8.121 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.2825, allocations: 99.12 kB / 240.5 MB, free: 8.027 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.2859, allocations: 2.761 MB / 243.2 MB, free: 5.18 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.2865, allocations: 74.98 kB / 243.3 MB, free: 5.113 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.2866, allocations: 15.23 kB / 243.3 MB, free: 5.102 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = TAmb unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" fixed = true 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 () * 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.0004554/0.2871, allocations: 194.5 kB / 243.5 MB, free: 4.938 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.2872, allocations: 55.34 kB / 243.6 MB, free: 4.883 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.2874, allocations: 56.66 kB / 243.6 MB, free: 4.855 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.278e-06/0.2874, allocations: 4 kB / 243.6 MB, free: 4.852 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-06/0.2874, allocations: 0 / 243.6 MB, free: 4.852 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/0.2888, allocations: 0.7793 MB / 244.4 MB, free: 4.062 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.2913, allocations: 1.142 MB / 245.5 MB, free: 3.102 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-06/0.2913, allocations: 8 kB / 245.5 MB, free: 3.094 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.292, allocations: 95.25 kB / 245.6 MB, free: 3.004 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.292, allocations: 4 kB / 245.6 MB, free: 3 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.292, allocations: 6.875 kB / 245.7 MB, free: 3 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.292, allocations: 15.86 kB / 245.7 MB, free: 2.984 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-06/0.2921, allocations: 3.984 kB / 245.7 MB, free: 2.98 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.2939, allocations: 0.7302 MB / 246.4 MB, free: 2.402 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.2942, allocations: 134.7 kB / 246.5 MB, free: 2.262 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2943, allocations: 10.75 kB / 246.5 MB, free: 2.258 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.2948, allocations: 35.36 kB / 246.6 MB, free: 2.227 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.2949, allocations: 27.64 kB / 246.6 MB, free: 2.203 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.295, allocations: 11.25 kB / 246.6 MB, free: 2.195 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005727/0.2955, allocations: 339.4 kB / 246.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.2955, allocations: 0 / 246.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006687/0.2962, allocations: 166.9 kB / 247.1 MB, free: 1.797 MB / 186.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.0002164/0.2965, allocations: 119.2 kB / 247.2 MB, free: 1.676 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.2981, allocations: 0.6882 MB / 247.9 MB, free: 1.059 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.022e-06/0.2981, allocations: 4 kB / 247.9 MB, free: 1.055 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.2987, allocations: 202.4 kB / 248.1 MB, free: 0.9062 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.3003, allocations: 243 kB / 248.4 MB, free: 0.707 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.3033, allocations: 1.259 MB / 249.6 MB, free: 15.45 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.3039, allocations: 0.8396 MB / 250.5 MB, free: 14.58 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.3041, allocations: 43.44 kB / 250.5 MB, free: 14.54 MB / 202.7 MB Notification: Performance of SimCode: time 1.545e-06/0.3042, allocations: 4 kB / 250.5 MB, free: 14.54 MB / 202.7 MB Notification: Performance of Templates: time 0.017/0.3212, allocations: 9.11 MB / 259.6 MB, free: 5.445 MB / 202.7 MB