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.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.157/1.157, allocations: 111.2 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002695, allocations: 8 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04617/0.04646, allocations: 25.16 MB / 183.5 MB, free: 5.988 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.2287, allocations: 38.71 MB / 222.2 MB, free: 5.352 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.229, allocations: 61.41 kB / 222.3 MB, free: 5.344 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06899/0.298, allocations: 18.85 MB / 241.1 MB, free: 7.879 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.516e-06/0.298, allocations: 0 / 241.1 MB, free: 7.879 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.016e-05/0.2981, allocations: 16 kB / 241.1 MB, free: 7.863 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002751/0.3009, allocations: 1.264 MB / 242.4 MB, free: 6.602 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3009, allocations: 12.03 kB / 242.4 MB, free: 6.59 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003313/0.3013, allocations: 122.7 kB / 242.5 MB, free: 6.469 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3026, allocations: 0.5783 MB / 243.1 MB, free: 5.953 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.3029, allocations: 152.7 kB / 243.2 MB, free: 5.805 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.303, allocations: 64.94 kB / 243.3 MB, free: 5.762 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.3052, allocations: 0.9722 MB / 244.3 MB, free: 4.926 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3052, allocations: 4 kB / 244.3 MB, free: 4.922 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3054, allocations: 32.12 kB / 244.3 MB, free: 4.91 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.3054, allocations: 16 kB / 244.3 MB, free: 4.895 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.3073, allocations: 0.6458 MB / 245 MB, free: 4.441 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.3134, allocations: 2.804 MB / 247.8 MB, free: 1.93 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.3172, allocations: 0.9345 MB / 248.7 MB, free: 0.9727 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.06e-05/0.3173, allocations: 20.58 kB / 248.7 MB, free: 0.9531 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.3174, allocations: 47.22 kB / 248.8 MB, free: 0.8984 MB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 4.166e-06/0.3174, allocations: 0 / 248.8 MB, free: 0.8984 MB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.004014/0.3214, allocations: 1.459 MB / 250.2 MB, free: 15.32 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00058/0.3221, allocations: 0.9566 MB / 251.2 MB, free: 14.14 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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:1309:7-1310:76:writable] Warning: Parameter outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 innerPump.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:1309:7-1310:76:writable] Warning: Parameter pipe1.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: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:1702:7-1704:58:writable] Warning: Parameter outerPump.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.001635/0.3237, allocations: 0.7135 MB / 251.9 MB, free: 13.43 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.3239, allocations: 45.7 kB / 252 MB, free: 13.38 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.3243, allocations: 395.2 kB / 252.3 MB, free: 12.98 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.3247, allocations: 260.2 kB / 252.6 MB, free: 12.73 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.3247, allocations: 12 kB / 252.6 MB, free: 12.71 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.325, allocations: 342.8 kB / 252.9 MB, free: 12.37 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.3259, allocations: 269.9 kB / 253.2 MB, free: 12.11 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.3272, allocations: 0.5798 MB / 253.8 MB, free: 11.4 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3282, allocations: 410.5 kB / 254.2 MB, free: 10.98 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.592e-06/0.3283, allocations: 3.938 kB / 254.2 MB, free: 10.98 MB / 202.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002588/0.3309, allocations: 0.9321 MB / 255.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/0.331, allocations: 85.11 kB / 255.2 MB, free: 9.91 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.331, allocations: 0 / 255.2 MB, free: 9.91 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.3315, allocations: 132.2 kB / 255.3 MB, free: 9.766 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.3324, allocations: 155.8 kB / 255.5 MB, free: 9.613 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/0.3409, allocations: 6.98 MB / 262.5 MB, free: 1.965 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3421, allocations: 119.3 kB / 262.6 MB, free: 1.848 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-05/0.3422, allocations: 23.98 kB / 262.6 MB, free: 1.824 MB / 202.7 MB Warning: Assuming fixed start value for the following 4 variables: innerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = innerPipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 1,3 1,1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007618/0.343, allocations: 272.6 kB / 262.9 MB, free: 1.551 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.3433, allocations: 99.16 kB / 263 MB, free: 1.453 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.3435, allocations: 96.5 kB / 263.1 MB, free: 1.352 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.3436, allocations: 11.94 kB / 263.1 MB, free: 1.34 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.113e-06/0.3436, allocations: 4 kB / 263.1 MB, free: 1.336 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/0.3457, allocations: 0.9973 MB / 264.1 MB, free: 236 kB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.3502, allocations: 1.823 MB / 265.9 MB, free: 14.32 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.065e-06/0.3502, allocations: 0 / 265.9 MB, free: 14.32 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.3513, allocations: 159.8 kB / 266.1 MB, free: 14.16 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.3515, allocations: 28.84 kB / 266.1 MB, free: 14.13 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.3516, allocations: 23.92 kB / 266.1 MB, free: 14.11 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.3533, allocations: 1.452 MB / 267.6 MB, free: 12.52 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-06/0.3533, allocations: 0 / 267.6 MB, free: 12.52 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.3564, allocations: 1.123 MB / 268.7 MB, free: 11.38 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.3569, allocations: 180 kB / 268.9 MB, free: 11.19 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.3572, allocations: 24 kB / 268.9 MB, free: 11.16 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.3579, allocations: 55.91 kB / 268.9 MB, free: 11.11 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3581, allocations: 52.58 kB / 269 MB, free: 11.06 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.3581, allocations: 19.98 kB / 269 MB, free: 11.04 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.3592, allocations: 0.5303 MB / 269.5 MB, free: 10.52 MB / 218.7 MB Notification: Performance of sort global known variables: time 2.929e-06/0.3592, allocations: 3.938 kB / 269.5 MB, free: 10.51 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.00133/0.3606, allocations: 313.8 kB / 269.8 MB, free: 10.21 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002891/0.3609, allocations: 139.1 kB / 270 MB, free: 10.06 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.364, allocations: 1.421 MB / 271.4 MB, free: 8.539 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.3641, allocations: 4 kB / 271.4 MB, free: 8.535 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3652, allocations: 450.4 kB / 271.8 MB, free: 8.082 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.3683, allocations: 0.492 MB / 272.3 MB, free: 7.586 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.3727, allocations: 1.994 MB / 274.3 MB, free: 5.555 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.3736, allocations: 0.9837 MB / 275.3 MB, free: 4.543 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.374, allocations: 79.42 kB / 275.4 MB, free: 4.465 MB / 218.7 MB Notification: Performance of SimCode: time 2.137e-06/0.374, allocations: 0 / 275.4 MB, free: 4.465 MB / 218.7 MB Notification: Performance of Templates: time 0.162/0.536, allocations: 23.01 MB / 298.4 MB, free: 66.06 MB / 234.7 MB