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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.019/1.019, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.156e-05, allocations: 3.984 kB / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04503/0.04507, allocations: 25.18 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/0.2903, allocations: 37.83 MB / 211.1 MB, free: 6.965 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.2905, allocations: 62.84 kB / 211.2 MB, free: 6.965 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05875/0.3493, allocations: 15.68 MB / 226.9 MB, free: 2.531 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3493, allocations: 0 / 226.9 MB, free: 2.531 MB / 170.7 MB Notification: Performance of Transformations before backend: time 5.205e-05/0.3494, allocations: 15.5 kB / 226.9 MB, free: 2.531 MB / 170.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.001676/0.3511, allocations: 1.027 MB / 227.9 MB, free: 1.777 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3511, allocations: 7.75 kB / 227.9 MB, free: 1.777 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.3513, allocations: 104.1 kB / 228 MB, free: 1.734 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.3522, allocations: 0.5029 MB / 228.5 MB, free: 1.41 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.3524, allocations: 133 kB / 228.6 MB, free: 1.305 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3526, allocations: 38.38 kB / 228.7 MB, free: 1.301 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/0.3537, allocations: 472.1 kB / 229.1 MB, free: 1.27 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3548, allocations: 0.713 MB / 229.9 MB, free: 0.8828 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.3549, allocations: 0 / 229.9 MB, free: 0.8828 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.355, allocations: 4 kB / 229.9 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.355, allocations: 15.31 kB / 229.9 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.359, allocations: 2.224 MB / 232.1 MB, free: 15.6 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3608, allocations: 0.8668 MB / 233 MB, free: 15.25 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.3615, allocations: 323.7 kB / 233.3 MB, free: 15.22 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.3615, allocations: 12.23 kB / 233.3 MB, free: 15.22 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.3616, allocations: 57.84 kB / 233.3 MB, free: 15.18 MB / 186.7 MB Notification: Performance of pre-optimization done (n=74): time 3.635e-06/0.3616, allocations: 4 kB / 233.4 MB, free: 15.17 MB / 186.7 MB Notification: Performance of matching and sorting (n=74): time 0.00245/0.3641, allocations: 0.8145 MB / 234.2 MB, free: 14.94 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004787/0.3646, allocations: 0.8228 MB / 235 MB, free: 13.93 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.0009976/0.3656, allocations: 497.2 kB / 235.5 MB, free: 13.66 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3657, allocations: 29.7 kB / 235.5 MB, free: 13.63 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.366, allocations: 349.6 kB / 235.8 MB, free: 13.38 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.3663, allocations: 245 kB / 236.1 MB, free: 13.16 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.3663, allocations: 4 kB / 236.1 MB, free: 13.16 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3665, allocations: 333.3 kB / 236.4 MB, free: 12.84 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.367, allocations: 195 kB / 236.6 MB, free: 12.73 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/0.3679, allocations: 462.7 kB / 237.1 MB, free: 12.3 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.3685, allocations: 249.6 kB / 237.3 MB, free: 12.14 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-06/0.3685, allocations: 3.938 kB / 237.3 MB, free: 12.14 MB / 186.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002706/0.3712, allocations: 0.8415 MB / 238.1 MB, free: 11.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.3713, allocations: 92.17 kB / 238.2 MB, free: 11.37 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.868e-06/0.3714, allocations: 0 / 238.2 MB, free: 11.37 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008684/0.3722, allocations: 218.2 kB / 238.4 MB, free: 11.2 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.373, allocations: 132.7 kB / 238.6 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.3833, allocations: 6.116 MB / 244.7 MB, free: 4.508 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/0.3843, allocations: 91.48 kB / 244.8 MB, free: 4.418 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.3844, allocations: 20.19 kB / 244.8 MB, free: 4.398 MB / 186.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" 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" nominal = 300.0 ) "Temperature of element" type: Real pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe2.volumeFlow:VARIABLE(unit = "m3/s" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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 () * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004083/0.3848, allocations: 177.8 kB / 245 MB, free: 4.223 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.385, allocations: 83.11 kB / 245.1 MB, free: 4.141 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3853, allocations: 71.33 kB / 245.1 MB, free: 4.066 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3853, allocations: 8 kB / 245.1 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3853, allocations: 0 / 245.1 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/0.3879, allocations: 1.115 MB / 246.3 MB, free: 2.832 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.3924, allocations: 1.869 MB / 248.1 MB, free: 0.875 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-06/0.3925, allocations: 0 / 248.1 MB, free: 0.875 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.3933, allocations: 135.8 kB / 248.3 MB, free: 0.7422 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000651/0.394, allocations: 166.5 kB / 248.4 MB, free: 0.5703 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.3941, allocations: 4 kB / 248.4 MB, free: 0.5664 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007178/0.4013, allocations: 4.71 MB / 253.1 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4013, allocations: 0 / 253.1 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.4047, allocations: 1.229 MB / 254.4 MB, free: 10.22 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.4051, allocations: 160.1 kB / 254.5 MB, free: 10.04 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.4053, allocations: 8 kB / 254.5 MB, free: 10.04 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/0.4059, allocations: 35.97 kB / 254.6 MB, free: 10 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.4062, allocations: 60.62 kB / 254.6 MB, free: 9.941 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.4062, allocations: 20 kB / 254.6 MB, free: 9.922 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006444/0.4069, allocations: 358.9 kB / 255 MB, free: 9.574 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4069, allocations: 0 / 255 MB, free: 9.574 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.00121/0.4081, allocations: 283.5 kB / 255.3 MB, free: 9.297 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete 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.0002466/0.4084, allocations: 107.2 kB / 255.4 MB, free: 9.184 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.4108, allocations: 1.174 MB / 256.5 MB, free: 7.934 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 9.19e-06/0.4108, allocations: 4 kB / 256.5 MB, free: 7.93 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.4123, allocations: 0.6798 MB / 257.2 MB, free: 7.219 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.4146, allocations: 371.7 kB / 257.6 MB, free: 6.855 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.4186, allocations: 1.338 MB / 258.9 MB, free: 5.477 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.4194, allocations: 0.9521 MB / 259.9 MB, free: 4.5 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.4197, allocations: 63.42 kB / 259.9 MB, free: 4.438 MB / 202.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4197, allocations: 4 kB / 259.9 MB, free: 4.434 MB / 202.7 MB Notification: Performance of Templates: time 0.03255/0.4523, allocations: 20.57 MB / 280.5 MB, free: 15.82 MB / 234.7 MB