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.9903/0.9903, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.859e-05, allocations: 0 / 154.3 MB, free: 13.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 25.15 MB / 179.4 MB, free: 0.7969 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0622/0.2389, allocations: 38.51 MB / 217.9 MB, free: 10.6 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.2392, allocations: 63.91 kB / 218 MB, free: 10.54 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.063/0.3022, allocations: 15.85 MB / 233.8 MB, free: 10.61 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3023, allocations: 0 / 233.8 MB, free: 10.61 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.443e-05/0.3023, allocations: 16 kB / 233.9 MB, free: 10.6 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002208/0.3045, allocations: 1.026 MB / 234.9 MB, free: 9.508 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3046, allocations: 8.031 kB / 234.9 MB, free: 9.5 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.3049, allocations: 98.97 kB / 235 MB, free: 9.402 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.306, allocations: 0.5116 MB / 235.5 MB, free: 8.848 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.3063, allocations: 146.4 kB / 235.6 MB, free: 8.688 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3065, allocations: 64 kB / 235.7 MB, free: 8.625 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.3081, allocations: 0.7929 MB / 236.5 MB, free: 7.73 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.3082, allocations: 7.953 kB / 236.5 MB, free: 7.723 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/0.3083, allocations: 28 kB / 236.5 MB, free: 7.695 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.3083, allocations: 12 kB / 236.6 MB, free: 7.684 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.3097, allocations: 0.4932 MB / 237 MB, free: 7.191 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/0.3147, allocations: 2.363 MB / 239.4 MB, free: 4.664 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.3169, allocations: 0.9161 MB / 240.3 MB, free: 3.688 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.3178, allocations: 335.8 kB / 240.7 MB, free: 3.359 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.3179, allocations: 16.83 kB / 240.7 MB, free: 3.344 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.664e-05/0.318, allocations: 59.28 kB / 240.7 MB, free: 3.273 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 4.299e-06/0.318, allocations: 0 / 240.7 MB, free: 3.273 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.002938/0.3209, allocations: 0.8656 MB / 241.6 MB, free: 2.391 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004977/0.3215, allocations: 0.8235 MB / 242.4 MB, free: 1.371 MB / 202.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.001287/0.3228, allocations: 0.5836 MB / 243 MB, free: 0.7812 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.3229, allocations: 45.7 kB / 243 MB, free: 0.7305 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.3233, allocations: 335.6 kB / 243.4 MB, free: 412 kB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.3236, allocations: 253.9 kB / 243.6 MB, free: 156 kB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3236, allocations: 16 kB / 243.6 MB, free: 140 kB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.1201/0.4437, allocations: 338.8 kB / 244 MB, free: 47.77 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.4445, allocations: 202.3 kB / 244.2 MB, free: 47.77 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/0.4454, allocations: 495.9 kB / 244.6 MB, free: 47.51 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.4461, allocations: 339.6 kB / 245 MB, free: 47.4 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.646e-06/0.4462, allocations: 4.406 kB / 245 MB, free: 47.4 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002826/0.449, allocations: 0.9795 MB / 246 MB, free: 47.22 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.4491, allocations: 92.03 kB / 246.1 MB, free: 47.13 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-06/0.4491, allocations: 1.375 kB / 246.1 MB, free: 47.13 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008264/0.4499, allocations: 209.1 kB / 246.3 MB, free: 47.1 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.4506, allocations: 133.4 kB / 246.4 MB, free: 47.1 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008285/0.4589, allocations: 6.368 MB / 252.8 MB, free: 42.04 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.46, allocations: 116.5 kB / 252.9 MB, free: 42.04 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.4601, allocations: 24.42 kB / 252.9 MB, free: 42.04 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" 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 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,2 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.4604, allocations: 199 kB / 253.1 MB, free: 41.92 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4606, allocations: 87.47 kB / 253.2 MB, free: 41.88 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.4608, allocations: 85.89 kB / 253.3 MB, free: 41.86 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.959e-06/0.4608, allocations: 14.84 kB / 253.3 MB, free: 41.86 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.4609, allocations: 0 / 253.3 MB, free: 41.86 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002388/0.4633, allocations: 1.171 MB / 254.4 MB, free: 41.28 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.4675, allocations: 2.011 MB / 256.5 MB, free: 40.68 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.044e-06/0.4676, allocations: 0 / 256.5 MB, free: 40.68 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.4685, allocations: 128.4 kB / 256.6 MB, free: 40.68 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006166/0.4691, allocations: 173.1 kB / 256.7 MB, free: 40.62 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.4692, allocations: 14.31 kB / 256.8 MB, free: 40.61 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/0.4749, allocations: 4.877 MB / 261.6 MB, free: 36.21 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.475, allocations: 2.938 kB / 261.6 MB, free: 36.21 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.4783, allocations: 1.287 MB / 262.9 MB, free: 35.58 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.4786, allocations: 166.6 kB / 263.1 MB, free: 35.43 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.4788, allocations: 19.72 kB / 263.1 MB, free: 35.42 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.4796, allocations: 53.86 kB / 263.2 MB, free: 35.4 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4798, allocations: 62.38 kB / 263.2 MB, free: 35.39 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.4798, allocations: 21.27 kB / 263.2 MB, free: 35.39 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006805/0.4805, allocations: 443.6 kB / 263.7 MB, free: 35.17 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4805, allocations: 0 / 263.7 MB, free: 35.17 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.00111/0.4817, allocations: 298.2 kB / 264 MB, free: 35.14 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.000223/0.4819, allocations: 139.3 kB / 264.1 MB, free: 35.04 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.4847, allocations: 1.354 MB / 265.5 MB, free: 34.16 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4847, allocations: 3.25 kB / 265.5 MB, free: 34.16 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.486, allocations: 0.7251 MB / 266.2 MB, free: 33.68 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.4885, allocations: 421.4 kB / 266.6 MB, free: 33.6 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.4922, allocations: 1.373 MB / 268 MB, free: 32.93 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4926, allocations: 0.9459 MB / 268.9 MB, free: 32.17 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4929, allocations: 71.05 kB / 269 MB, free: 32.1 MB / 202.7 MB Notification: Performance of SimCode: time 1.726e-06/0.4929, allocations: 4 kB / 269 MB, free: 32.1 MB / 202.7 MB Notification: Performance of Templates: time 0.02602/0.519, allocations: 21.03 MB / 290 MB, free: 13.22 MB / 202.7 MB