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 0.9979/0.9979, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.931e-05, allocations: 0 / 154.3 MB, free: 13.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 25.15 MB / 179.4 MB, free: 0.8164 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05871/0.1956, allocations: 38.62 MB / 218 MB, free: 10.48 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.1959, allocations: 67.97 kB / 218.1 MB, free: 10.42 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07457/0.2705, allocations: 18.83 MB / 236.9 MB, free: 7.492 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.387e-06/0.2705, allocations: 0 / 236.9 MB, free: 7.492 MB / 202.7 MB Notification: Performance of Transformations before backend: time 6.375e-05/0.2706, allocations: 23.98 kB / 237 MB, free: 7.469 MB / 202.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.002394/0.273, allocations: 1.123 MB / 238.1 MB, free: 6.281 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2731, allocations: 8.031 kB / 238.1 MB, free: 6.273 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.2734, allocations: 122.7 kB / 238.2 MB, free: 6.152 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.2748, allocations: 0.5715 MB / 238.8 MB, free: 5.539 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.2751, allocations: 159 kB / 238.9 MB, free: 5.363 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.2752, allocations: 72.59 kB / 239 MB, free: 5.293 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.2771, allocations: 0.9159 MB / 239.9 MB, free: 4.262 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.2772, allocations: 0 / 239.9 MB, free: 4.262 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2773, allocations: 36 kB / 240 MB, free: 4.227 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.2773, allocations: 20 kB / 240 MB, free: 4.207 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.2789, allocations: 0.5507 MB / 240.5 MB, free: 3.652 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006143/0.285, allocations: 2.802 MB / 243.3 MB, free: 0.6523 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.13/0.4151, allocations: 0.8807 MB / 244.2 MB, free: 46.06 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009648/0.4161, allocations: 320.5 kB / 244.5 MB, free: 46.05 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.4162, allocations: 15.78 kB / 244.5 MB, free: 46.05 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.4162, allocations: 49.33 kB / 244.6 MB, free: 46.02 MB / 202.7 MB Notification: Performance of pre-optimization done (n=72): time 4.394e-06/0.4163, allocations: 0 / 244.6 MB, free: 46.02 MB / 202.7 MB Notification: Performance of matching and sorting (n=72): time 0.002208/0.4185, allocations: 0.7177 MB / 245.3 MB, free: 45.93 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.4187, allocations: 0.9525 MB / 246.3 MB, free: 44.77 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.001275/0.42, allocations: 0.7011 MB / 247 MB, free: 44.64 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.4201, allocations: 44.47 kB / 247 MB, free: 44.61 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.4203, allocations: 401.4 kB / 247.4 MB, free: 44.42 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.4205, allocations: 253.2 kB / 247.6 MB, free: 44.29 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4206, allocations: 10.91 kB / 247.7 MB, free: 44.29 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 7.196e-05/0.4207, allocations: 338.6 kB / 248 MB, free: 43.98 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.4212, allocations: 224.9 kB / 248.2 MB, free: 43.98 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.422, allocations: 0.5321 MB / 248.7 MB, free: 43.66 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.4227, allocations: 369.3 kB / 249.1 MB, free: 43.55 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4227, allocations: 0 / 249.1 MB, free: 43.55 MB / 202.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002022/0.4248, allocations: 0.8734 MB / 250 MB, free: 43.34 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.4248, allocations: 84.77 kB / 250.1 MB, free: 43.25 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-06/0.4248, allocations: 0 / 250.1 MB, free: 43.25 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.4256, allocations: 180.2 kB / 250.2 MB, free: 43.21 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.4265, allocations: 159 kB / 250.4 MB, free: 43.21 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.4323, allocations: 6.906 MB / 257.3 MB, free: 36.86 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4334, allocations: 119.5 kB / 257.4 MB, free: 36.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.4335, allocations: 24.72 kB / 257.4 MB, free: 36.84 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" nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" 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" 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 () * 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,1 3,1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.4339, allocations: 184.9 kB / 257.6 MB, free: 36.73 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.4341, allocations: 102.2 kB / 257.7 MB, free: 36.68 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.4343, allocations: 98.73 kB / 257.8 MB, free: 36.67 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-06/0.4343, allocations: 6.594 kB / 257.8 MB, free: 36.67 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.4343, allocations: 3.969 kB / 257.8 MB, free: 36.67 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/0.4356, allocations: 0.9173 MB / 258.7 MB, free: 36.11 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.4388, allocations: 1.739 MB / 260.5 MB, free: 35.38 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.4388, allocations: 7.016 kB / 260.5 MB, free: 35.38 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.44, allocations: 160.3 kB / 260.6 MB, free: 35.38 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.4401, allocations: 38.3 kB / 260.7 MB, free: 35.36 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.4402, allocations: 11.88 kB / 260.7 MB, free: 35.35 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.4413, allocations: 1.431 MB / 262.1 MB, free: 33.94 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-06/0.4413, allocations: 6.344 kB / 262.1 MB, free: 33.94 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.4434, allocations: 1.002 MB / 263.1 MB, free: 33.44 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.4437, allocations: 180.5 kB / 263.3 MB, free: 33.28 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.4439, allocations: 19.66 kB / 263.3 MB, free: 33.27 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.4447, allocations: 59.55 kB / 263.4 MB, free: 33.25 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4448, allocations: 46.38 kB / 263.4 MB, free: 33.25 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.4449, allocations: 24.44 kB / 263.5 MB, free: 33.24 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0008671/0.4458, allocations: 0.525 MB / 264 MB, free: 33 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.08e-06/0.4458, allocations: 2.25 kB / 264 MB, free: 33 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001105/0.4469, allocations: 314.3 kB / 264.3 MB, free: 32.97 MB / 202.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 () * 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.0002281/0.4472, allocations: 135.7 kB / 264.4 MB, free: 32.87 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.4498, allocations: 1.355 MB / 265.8 MB, free: 31.89 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.4498, allocations: 3.859 kB / 265.8 MB, free: 31.89 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.4506, allocations: 402.4 kB / 266.2 MB, free: 31.68 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.4537, allocations: 0.4983 MB / 266.7 MB, free: 31.57 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.4564, allocations: 1.261 MB / 267.9 MB, free: 30.99 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4569, allocations: 0.9847 MB / 268.9 MB, free: 30.28 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.4572, allocations: 83.72 kB / 269 MB, free: 30.27 MB / 202.7 MB Notification: Performance of SimCode: time 1.691e-06/0.4573, allocations: 0 / 269 MB, free: 30.27 MB / 202.7 MB Notification: Performance of Templates: time 0.02804/0.4853, allocations: 23.11 MB / 292.1 MB, free: 11.1 MB / 202.7 MB