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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9261/0.9261, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.81e-05, allocations: 4 kB / 148.1 MB, free: 6.238 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04477/0.04481, allocations: 25.18 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.2599, allocations: 37.86 MB / 211.1 MB, free: 7.004 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.2601, allocations: 66.56 kB / 211.2 MB, free: 7.004 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03569/0.2958, allocations: 10.03 MB / 221.2 MB, free: 4.52 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2959, allocations: 0 / 221.2 MB, free: 4.52 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.909e-05/0.2959, allocations: 11.84 kB / 221.3 MB, free: 4.516 MB / 170.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.001131/0.2971, allocations: 0.7486 MB / 222 MB, free: 3.93 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2971, allocations: 7.75 kB / 222 MB, free: 3.93 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.2972, allocations: 66.25 kB / 222.1 MB, free: 3.898 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.2979, allocations: 397.8 kB / 222.5 MB, free: 3.617 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.298, allocations: 49.83 kB / 222.5 MB, free: 3.578 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.2981, allocations: 23.25 kB / 222.5 MB, free: 3.578 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000652/0.2987, allocations: 271.1 kB / 222.8 MB, free: 3.562 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.2994, allocations: 418.7 kB / 223.2 MB, free: 3.34 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2994, allocations: 2.844 kB / 223.2 MB, free: 3.34 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.2995, allocations: 3.953 kB / 223.2 MB, free: 3.336 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.873e-06/0.2995, allocations: 15.62 kB / 223.2 MB, free: 3.332 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.3018, allocations: 1.368 MB / 224.6 MB, free: 2.527 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/0.3027, allocations: 417.4 kB / 225 MB, free: 2.379 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.303, allocations: 151.2 kB / 225.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.3031, allocations: 11.64 kB / 225.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.3031, allocations: 42.25 kB / 225.2 MB, free: 2.32 MB / 170.7 MB Notification: Performance of pre-optimization done (n=38): time 3.125e-06/0.3031, allocations: 0 / 225.2 MB, free: 2.32 MB / 170.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008704/0.304, allocations: 360.3 kB / 225.6 MB, free: 2.219 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.3041, allocations: 448.5 kB / 226 MB, free: 1.684 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.0006054/0.3047, allocations: 386.8 kB / 226.4 MB, free: 1.531 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.3048, allocations: 25.7 kB / 226.4 MB, free: 1.5 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3049, allocations: 284.3 kB / 226.7 MB, free: 1.301 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/0.305, allocations: 127.7 kB / 226.8 MB, free: 1.207 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.305, allocations: 0 / 226.8 MB, free: 1.207 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.3051, allocations: 327.8 kB / 227.1 MB, free: 0.8867 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.3054, allocations: 99.86 kB / 227.2 MB, free: 0.8867 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3057, allocations: 243.4 kB / 227.5 MB, free: 0.7383 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.306, allocations: 127.6 kB / 227.6 MB, free: 0.7148 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-06/0.306, allocations: 224 / 227.6 MB, free: 0.7148 MB / 170.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008773/0.3069, allocations: 367.7 kB / 227.9 MB, free: 0.6172 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.307, allocations: 37.56 kB / 228 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.545e-06/0.307, allocations: 0 / 228 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/0.3073, allocations: 63.03 kB / 228 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.3078, allocations: 93.12 kB / 228.1 MB, free: 0.5312 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.3105, allocations: 2.631 MB / 230.8 MB, free: 14.04 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.311, allocations: 53.23 kB / 230.8 MB, free: 14.01 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.3111, allocations: 19.36 kB / 230.8 MB, free: 14 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" 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real pump.h:VARIABLE(unit = "J/kg" nominal = 1000000.0 protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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 (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.0003279/0.3115, allocations: 153.8 kB / 231 MB, free: 13.87 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3116, allocations: 50.67 kB / 231 MB, free: 13.84 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.3117, allocations: 45.84 kB / 231.1 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.682e-06/0.3117, allocations: 3.875 kB / 231.1 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.28e-06/0.3117, allocations: 0 / 231.1 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008633/0.3126, allocations: 0.6651 MB / 231.7 MB, free: 13.26 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3145, allocations: 0.972 MB / 232.7 MB, free: 12.71 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-06/0.3145, allocations: 0 / 232.7 MB, free: 12.71 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.3151, allocations: 101 kB / 232.8 MB, free: 12.69 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-06/0.3151, allocations: 0 / 232.8 MB, free: 12.69 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3152, allocations: 3.875 kB / 232.8 MB, free: 12.69 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.873e-06/0.3152, allocations: 0 / 232.8 MB, free: 12.69 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.788e-06/0.3152, allocations: 0 / 232.8 MB, free: 12.69 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3162, allocations: 0.5589 MB / 233.4 MB, free: 12.49 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.3165, allocations: 131.5 kB / 233.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3166, allocations: 3.984 kB / 233.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.317, allocations: 23.42 kB / 233.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.3171, allocations: 35.02 kB / 233.6 MB, free: 12.34 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.3172, allocations: 11.53 kB / 233.6 MB, free: 12.34 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004064/0.3176, allocations: 279.7 kB / 233.9 MB, free: 12.23 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.3176, allocations: 0 / 233.9 MB, free: 12.23 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.3183, allocations: 146.9 kB / 234 MB, free: 12.21 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 () * 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.0001954/0.3185, allocations: 106.3 kB / 234.1 MB, free: 12.12 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009861/0.3195, allocations: 0.5579 MB / 234.7 MB, free: 11.82 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.694e-06/0.3195, allocations: 0 / 234.7 MB, free: 11.82 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3198, allocations: 151.8 kB / 234.8 MB, free: 11.8 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.321, allocations: 227.9 kB / 235 MB, free: 11.72 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3231, allocations: 0.741 MB / 235.8 MB, free: 11.32 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.3237, allocations: 0.8457 MB / 236.6 MB, free: 10.54 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.3239, allocations: 41.66 kB / 236.7 MB, free: 10.54 MB / 186.7 MB Notification: Performance of SimCode: time 1.742e-06/0.324, allocations: 0 / 236.7 MB, free: 10.54 MB / 186.7 MB Notification: Performance of Templates: time 0.01572/0.3397, allocations: 8.74 MB / 245.4 MB, free: 2.875 MB / 186.7 MB