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.IndirectCooling.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.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.034/1.034, allocations: 111.2 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.000409, allocations: 7.984 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06107/0.06151, allocations: 25.16 MB / 184 MB, free: 6.031 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.2994, allocations: 38.69 MB / 222.7 MB, free: 5.32 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.2997, allocations: 69.34 kB / 222.8 MB, free: 5.312 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07571/0.3755, allocations: 18.85 MB / 241.6 MB, free: 7.934 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3755, allocations: 4 kB / 241.6 MB, free: 7.93 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.74e-05/0.3756, allocations: 16 kB / 241.7 MB, free: 7.914 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.00351/0.3791, allocations: 1.259 MB / 242.9 MB, free: 6.656 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3792, allocations: 8.031 kB / 242.9 MB, free: 6.648 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.3796, allocations: 126.7 kB / 243.1 MB, free: 6.523 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.381, allocations: 0.5725 MB / 243.6 MB, free: 6.012 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.3814, allocations: 159.9 kB / 243.8 MB, free: 5.859 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.3816, allocations: 65.94 kB / 243.8 MB, free: 5.816 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.3839, allocations: 0.9799 MB / 244.8 MB, free: 4.969 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.384, allocations: 0 / 244.8 MB, free: 4.969 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.3841, allocations: 28.12 kB / 244.9 MB, free: 4.961 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.3841, allocations: 16 kB / 244.9 MB, free: 4.945 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.3863, allocations: 0.6468 MB / 245.5 MB, free: 4.5 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006936/0.3933, allocations: 2.808 MB / 248.3 MB, free: 1.984 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/0.3979, allocations: 0.8643 MB / 249.2 MB, free: 1.098 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.3981, allocations: 16.64 kB / 249.2 MB, free: 1.082 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.3982, allocations: 55.22 kB / 249.3 MB, free: 1.016 MB / 186.7 MB Notification: Performance of pre-optimization done (n=72): time 3.426e-06/0.3982, allocations: 0 / 249.3 MB, free: 1.016 MB / 186.7 MB Notification: Performance of matching and sorting (n=72): time 0.005123/0.4033, allocations: 1.458 MB / 250.7 MB, free: 15.45 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004911/0.4039, allocations: 0.9605 MB / 251.7 MB, free: 14.25 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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/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/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: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/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.00184/0.4057, allocations: 0.7884 MB / 252.5 MB, free: 13.46 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.406, allocations: 45.7 kB / 252.5 MB, free: 13.41 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.4064, allocations: 403.1 kB / 252.9 MB, free: 13.01 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.4068, allocations: 256.2 kB / 253.2 MB, free: 12.76 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.4068, allocations: 16 kB / 253.2 MB, free: 12.74 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.407, allocations: 338.8 kB / 253.5 MB, free: 12.4 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.4081, allocations: 265.9 kB / 253.8 MB, free: 12.14 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4095, allocations: 0.5877 MB / 254.3 MB, free: 11.43 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.4108, allocations: 414.5 kB / 254.8 MB, free: 11.01 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.4109, allocations: 0 / 254.8 MB, free: 11.01 MB / 202.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00315/0.414, allocations: 0.9321 MB / 255.7 MB, free: 10.04 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.736e-05/0.4142, allocations: 85.11 kB / 255.8 MB, free: 9.938 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4142, allocations: 3.938 kB / 255.8 MB, free: 9.934 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.4148, allocations: 128.2 kB / 255.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4162, allocations: 163.8 kB / 256.1 MB, free: 9.633 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008932/0.4252, allocations: 6.976 MB / 263 MB, free: 1.984 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4267, allocations: 115.3 kB / 263.1 MB, free: 1.871 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4269, allocations: 35.92 kB / 263.2 MB, free: 1.836 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.0008455/0.4277, allocations: 255.7 kB / 263.4 MB, free: 1.574 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.428, allocations: 99.16 kB / 263.5 MB, free: 1.477 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.4284, allocations: 100.5 kB / 263.6 MB, free: 1.375 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.851e-05/0.4284, allocations: 15.94 kB / 263.6 MB, free: 1.359 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.4284, allocations: 4 kB / 263.6 MB, free: 1.355 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002501/0.4309, allocations: 0.9934 MB / 264.6 MB, free: 260 kB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.4362, allocations: 1.82 MB / 266.5 MB, free: 14.35 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.4363, allocations: 0 / 266.5 MB, free: 14.35 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.4378, allocations: 159.8 kB / 266.6 MB, free: 14.19 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.438, allocations: 32.84 kB / 266.6 MB, free: 14.16 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.4381, allocations: 19.94 kB / 266.7 MB, free: 14.14 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.4397, allocations: 1.452 MB / 268.1 MB, free: 12.55 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4398, allocations: 0 / 268.1 MB, free: 12.55 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.4436, allocations: 1.123 MB / 269.2 MB, free: 11.41 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.4441, allocations: 184 kB / 269.4 MB, free: 11.21 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.4444, allocations: 16 kB / 269.4 MB, free: 11.2 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/0.4454, allocations: 55.92 kB / 269.5 MB, free: 11.14 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.4456, allocations: 52.56 kB / 269.5 MB, free: 11.09 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.4457, allocations: 16 kB / 269.6 MB, free: 11.07 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.4468, allocations: 0.5342 MB / 270.1 MB, free: 10.54 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4469, allocations: 3.938 kB / 270.1 MB, free: 10.54 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001466/0.4483, allocations: 309.8 kB / 270.4 MB, free: 10.23 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.0003416/0.4487, allocations: 151 kB / 270.5 MB, free: 10.08 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.4524, allocations: 1.429 MB / 272 MB, free: 8.547 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.4525, allocations: 4 kB / 272 MB, free: 8.543 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.4539, allocations: 446.5 kB / 272.4 MB, free: 8.098 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/0.4586, allocations: 492.1 kB / 272.9 MB, free: 7.621 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.4638, allocations: 2 MB / 274.9 MB, free: 5.586 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.4647, allocations: 0.9836 MB / 275.9 MB, free: 4.574 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.4652, allocations: 87.42 kB / 276 MB, free: 4.488 MB / 218.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4653, allocations: 4 kB / 276 MB, free: 4.484 MB / 218.7 MB Notification: Performance of Templates: time 0.2473/0.7126, allocations: 23.01 MB / 299 MB, free: 65.89 MB / 234.7 MB