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.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 0.9326/0.9326, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 7.938 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04561/0.04589, allocations: 25.17 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.2268, allocations: 38.6 MB / 222.1 MB, free: 5.426 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.227, allocations: 65.09 kB / 222.2 MB, free: 5.418 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05754/0.2846, allocations: 15.86 MB / 238 MB, free: 10.48 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.921e-06/0.2846, allocations: 4 kB / 238 MB, free: 10.48 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/0.2847, allocations: 16 kB / 238 MB, free: 10.46 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00239/0.2871, allocations: 1.135 MB / 239.2 MB, free: 9.32 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2872, allocations: 11.97 kB / 239.2 MB, free: 9.309 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.2874, allocations: 98.97 kB / 239.3 MB, free: 9.211 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.2885, allocations: 0.5034 MB / 239.8 MB, free: 8.75 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.2888, allocations: 149.4 kB / 239.9 MB, free: 8.602 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2889, allocations: 67.2 kB / 240 MB, free: 8.555 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.2908, allocations: 0.8416 MB / 240.8 MB, free: 7.832 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.2908, allocations: 7.891 kB / 240.8 MB, free: 7.824 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.2909, allocations: 27.19 kB / 240.9 MB, free: 7.816 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.291, allocations: 16 kB / 240.9 MB, free: 7.801 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.2926, allocations: 0.5848 MB / 241.5 MB, free: 7.391 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.2974, allocations: 2.357 MB / 243.8 MB, free: 5.441 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.3, allocations: 1.04 MB / 244.9 MB, free: 4.582 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.802e-05/0.3001, allocations: 20.7 kB / 244.9 MB, free: 4.562 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.3001, allocations: 48.84 kB / 244.9 MB, free: 4.516 MB / 186.7 MB Notification: Performance of pre-optimization done (n=74): time 3.864e-06/0.3001, allocations: 0 / 244.9 MB, free: 4.516 MB / 186.7 MB Notification: Performance of matching and sorting (n=74): time 0.006311/0.3065, allocations: 1.848 MB / 246.8 MB, free: 2.84 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005063/0.307, allocations: 0.8234 MB / 247.6 MB, free: 1.82 MB / 186.7 MB [/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:1280:7-1281:76:writable] Warning: Parameter pipe3.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 pipe3.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 pipe3.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 pipe3.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 pipe3.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 pipe2.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 pipe2.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 pipe2.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 pipe2.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 pipe2.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 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:2262:9-2264:54:writable] Warning: Parameter pipe1.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 pipe1.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 pipe1.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 pipe1.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 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/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.001328/0.3084, allocations: 0.5847 MB / 248.2 MB, free: 1.23 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.3086, allocations: 45.7 kB / 248.2 MB, free: 1.18 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.3089, allocations: 327.6 kB / 248.6 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.3092, allocations: 264.2 kB / 248.8 MB, free: 0.5977 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.3093, allocations: 12 kB / 248.8 MB, free: 0.5859 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3095, allocations: 338.8 kB / 249.2 MB, free: 252 kB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008193/0.3103, allocations: 249.5 kB / 249.4 MB, free: 4 kB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.3115, allocations: 0.5322 MB / 249.9 MB, free: 15.37 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.3125, allocations: 390.7 kB / 250.3 MB, free: 14.97 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.302e-06/0.3125, allocations: 4 kB / 250.3 MB, free: 14.96 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003312/0.3158, allocations: 1.064 MB / 251.4 MB, free: 13.86 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.771e-05/0.3159, allocations: 85.11 kB / 251.5 MB, free: 13.76 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.579e-06/0.316, allocations: 0 / 251.5 MB, free: 13.76 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009337/0.3169, allocations: 247.3 kB / 251.7 MB, free: 13.51 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.3177, allocations: 137.4 kB / 251.8 MB, free: 13.38 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.3293, allocations: 6.727 MB / 258.6 MB, free: 6.117 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.3304, allocations: 115.2 kB / 258.7 MB, free: 6.004 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.3305, allocations: 23.98 kB / 258.7 MB, free: 5.98 MB / 202.7 MB Warning: Assuming fixed start value for the following 5 variables: heatCapacitor2.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 heatCapacitor1.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 pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.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 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 (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006659/0.3312, allocations: 269.8 kB / 259 MB, free: 5.715 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.3314, allocations: 83.06 kB / 259.1 MB, free: 5.633 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.3316, allocations: 92.34 kB / 259.1 MB, free: 5.535 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3316, allocations: 12 kB / 259.2 MB, free: 5.523 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.515e-06/0.3317, allocations: 0 / 259.2 MB, free: 5.523 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003141/0.3348, allocations: 1.249 MB / 260.4 MB, free: 4.16 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.34, allocations: 2.072 MB / 262.5 MB, free: 1.98 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3401, allocations: 0 / 262.5 MB, free: 1.98 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/0.3409, allocations: 135.8 kB / 262.6 MB, free: 1.848 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.3417, allocations: 210.4 kB / 262.8 MB, free: 1.633 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.3418, allocations: 19.94 kB / 262.8 MB, free: 1.613 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009154/0.351, allocations: 5.201 MB / 268 MB, free: 11.99 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.221e-06/0.351, allocations: 4.594 kB / 268 MB, free: 11.99 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.3553, allocations: 1.39 MB / 269.4 MB, free: 10.57 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.3557, allocations: 164 kB / 269.6 MB, free: 10.39 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.3559, allocations: 23.98 kB / 269.6 MB, free: 10.37 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.3566, allocations: 51.92 kB / 269.7 MB, free: 10.32 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3568, allocations: 64.48 kB / 269.7 MB, free: 10.26 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.3569, allocations: 19.98 kB / 269.7 MB, free: 10.24 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0008547/0.3578, allocations: 451.1 kB / 270.2 MB, free: 9.805 MB / 218.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.3578, allocations: 0 / 270.2 MB, free: 9.805 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.00125/0.359, allocations: 299.8 kB / 270.5 MB, free: 9.512 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002826/0.3593, allocations: 139.1 kB / 270.6 MB, free: 9.367 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.363, allocations: 1.449 MB / 272.1 MB, free: 7.828 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.965e-06/0.363, allocations: 0 / 272.1 MB, free: 7.828 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.3648, allocations: 0.7731 MB / 272.8 MB, free: 7.016 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.3675, allocations: 407.7 kB / 273.2 MB, free: 6.613 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.3731, allocations: 2.104 MB / 275.3 MB, free: 4.473 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/0.3739, allocations: 0.948 MB / 276.3 MB, free: 3.5 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.3743, allocations: 67.42 kB / 276.4 MB, free: 3.434 MB / 218.7 MB Notification: Performance of SimCode: time 1.797e-06/0.3744, allocations: 0 / 276.4 MB, free: 3.434 MB / 218.7 MB Notification: Performance of Templates: time 0.2021/0.5765, allocations: 21.06 MB / 297.4 MB, free: 68.08 MB / 234.7 MB