Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.073/1.073, allocations: 111.1 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002607, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05255/0.05283, allocations: 25.16 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.2715, allocations: 38.62 MB / 222.7 MB, free: 5.395 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.2718, allocations: 66.66 kB / 222.7 MB, free: 5.387 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04057/0.3124, allocations: 10.15 MB / 232.9 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3125, allocations: 0 / 232.9 MB, free: 15.34 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/0.3126, allocations: 8 kB / 232.9 MB, free: 15.33 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.002295/0.3149, allocations: 0.8338 MB / 233.7 MB, free: 14.48 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3149, allocations: 8.031 kB / 233.7 MB, free: 14.47 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.3152, allocations: 67.34 kB / 233.8 MB, free: 14.41 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3163, allocations: 399.3 kB / 234.2 MB, free: 14.03 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3165, allocations: 62.09 kB / 234.2 MB, free: 13.97 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3166, allocations: 35.69 kB / 234.3 MB, free: 13.95 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3181, allocations: 0.522 MB / 234.8 MB, free: 13.5 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.3181, allocations: 352 / 234.8 MB, free: 13.5 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.3182, allocations: 27.27 kB / 234.8 MB, free: 13.48 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3182, allocations: 11.94 kB / 234.8 MB, free: 13.47 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.3198, allocations: 397.7 kB / 235.2 MB, free: 13.18 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003765/0.3236, allocations: 1.453 MB / 236.7 MB, free: 11.96 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.3252, allocations: 479.2 kB / 237.1 MB, free: 11.57 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.431e-05/0.3253, allocations: 4 kB / 237.1 MB, free: 11.57 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.3253, allocations: 40.88 kB / 237.2 MB, free: 11.53 MB / 186.7 MB Notification: Performance of pre-optimization done (n=38): time 3.136e-06/0.3253, allocations: 0 / 237.2 MB, free: 11.53 MB / 186.7 MB Notification: Performance of matching and sorting (n=38): time 0.002963/0.3283, allocations: 0.7991 MB / 238 MB, free: 10.83 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.3286, allocations: 448.2 kB / 238.4 MB, free: 10.29 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.001085/0.3297, allocations: 0.4885 MB / 238.9 MB, free: 9.902 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.3298, allocations: 41.06 kB / 238.9 MB, free: 9.863 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3301, allocations: 271.8 kB / 239.2 MB, free: 9.668 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.3302, allocations: 136.3 kB / 239.3 MB, free: 9.551 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3303, allocations: 11.5 kB / 239.4 MB, free: 9.543 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3304, allocations: 326 kB / 239.7 MB, free: 9.223 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.3312, allocations: 159.9 kB / 239.8 MB, free: 9.109 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.3321, allocations: 301.9 kB / 240.1 MB, free: 8.828 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.3328, allocations: 217.6 kB / 240.3 MB, free: 8.672 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3329, allocations: 0 / 240.3 MB, free: 8.672 MB / 186.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001759/0.3346, allocations: 0.4883 MB / 240.8 MB, free: 8.285 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.3347, allocations: 37.69 kB / 240.9 MB, free: 8.242 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3347, allocations: 0 / 240.9 MB, free: 8.242 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.335, allocations: 52.14 kB / 240.9 MB, free: 8.195 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.3359, allocations: 95.81 kB / 241 MB, free: 8.105 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.3393, allocations: 2.765 MB / 243.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/0.3403, allocations: 70.05 kB / 243.8 MB, free: 5.188 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.3403, allocations: 11.5 kB / 243.9 MB, free: 5.18 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.0005257/0.3409, allocations: 202.9 kB / 244.1 MB, free: 5.004 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.3411, allocations: 55.34 kB / 244.1 MB, free: 4.949 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.3412, allocations: 57.34 kB / 244.2 MB, free: 4.922 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3413, allocations: 4.375 kB / 244.2 MB, free: 4.918 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3413, allocations: 0 / 244.2 MB, free: 4.918 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/0.343, allocations: 0.7733 MB / 244.9 MB, free: 4.133 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.3461, allocations: 1.152 MB / 246.1 MB, free: 3.168 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.3462, allocations: 3.984 kB / 246.1 MB, free: 3.164 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/0.3471, allocations: 95.88 kB / 246.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.3471, allocations: 0 / 246.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.3472, allocations: 10.25 kB / 246.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3472, allocations: 0 / 246.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3472, allocations: 0 / 246.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.3497, allocations: 0.743 MB / 246.9 MB, free: 2.477 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.35, allocations: 135 kB / 247.1 MB, free: 2.336 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.3502, allocations: 7.562 kB / 247.1 MB, free: 2.332 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.3508, allocations: 38.03 kB / 247.1 MB, free: 2.301 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3509, allocations: 34.58 kB / 247.2 MB, free: 2.273 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.351, allocations: 8 kB / 247.2 MB, free: 2.266 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0006407/0.3516, allocations: 345.3 kB / 247.5 MB, free: 2.012 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3517, allocations: 0 / 247.5 MB, free: 2.012 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008243/0.3525, allocations: 157.2 kB / 247.7 MB, free: 1.871 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.0002414/0.3527, allocations: 117.8 kB / 247.8 MB, free: 1.754 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.3549, allocations: 0.6812 MB / 248.4 MB, free: 1.141 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.355, allocations: 0 / 248.4 MB, free: 1.141 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007971/0.3558, allocations: 211 kB / 248.7 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.3583, allocations: 244.1 kB / 248.9 MB, free: 0.7891 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.3622, allocations: 1.274 MB / 250.2 MB, free: 15.49 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.3628, allocations: 0.8396 MB / 251 MB, free: 14.62 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.3631, allocations: 43.44 kB / 251 MB, free: 14.58 MB / 202.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3631, allocations: 4 kB / 251.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of Templates: time 0.02157/0.3847, allocations: 9.1 MB / 260.2 MB, free: 5.492 MB / 202.7 MB