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.ParallelCooling.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.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.06/1.06, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 4 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07056/0.07096, allocations: 25.18 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.2957, allocations: 38.58 MB / 222.6 MB, free: 5.465 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.296, allocations: 64.78 kB / 222.7 MB, free: 5.457 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0643/0.3603, allocations: 15.87 MB / 238.6 MB, free: 10.54 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3604, allocations: 0 / 238.6 MB, free: 10.54 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.277e-05/0.3605, allocations: 16 kB / 238.6 MB, free: 10.52 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.003173/0.3637, allocations: 1.135 MB / 239.7 MB, free: 9.375 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3638, allocations: 8.031 kB / 239.7 MB, free: 9.367 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.3641, allocations: 103 kB / 239.8 MB, free: 9.266 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.3653, allocations: 0.5081 MB / 240.3 MB, free: 8.805 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.3656, allocations: 149.6 kB / 240.5 MB, free: 8.66 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.3658, allocations: 74.7 kB / 240.5 MB, free: 8.605 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.3679, allocations: 0.8414 MB / 241.4 MB, free: 7.879 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.368, allocations: 3.953 kB / 241.4 MB, free: 7.875 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3681, allocations: 31 kB / 241.4 MB, free: 7.867 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.3681, allocations: 16 kB / 241.4 MB, free: 7.852 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.3702, allocations: 0.5783 MB / 242 MB, free: 7.441 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.3758, allocations: 2.36 MB / 244.4 MB, free: 5.488 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.379, allocations: 1.016 MB / 245.4 MB, free: 4.652 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/0.3791, allocations: 12.72 kB / 245.4 MB, free: 4.641 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/0.3792, allocations: 53.27 kB / 245.5 MB, free: 4.586 MB / 186.7 MB Notification: Performance of pre-optimization done (n=74): time 3.065e-06/0.3792, allocations: 0 / 245.5 MB, free: 4.586 MB / 186.7 MB Notification: Performance of matching and sorting (n=74): time 0.008803/0.388, allocations: 1.853 MB / 247.3 MB, free: 2.898 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004385/0.3885, allocations: 0.8195 MB / 248.1 MB, free: 1.883 MB / 186.7 MB [/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: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/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/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/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/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/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/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/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/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/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/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: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/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/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/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/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/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.00151/0.39, allocations: 0.6509 MB / 248.8 MB, free: 1.227 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.3902, allocations: 45.7 kB / 248.8 MB, free: 1.176 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.3906, allocations: 331.6 kB / 249.1 MB, free: 0.8477 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.391, allocations: 260.2 kB / 249.4 MB, free: 0.5898 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.391, allocations: 16 kB / 249.4 MB, free: 0.5742 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3912, allocations: 334.8 kB / 249.7 MB, free: 244 kB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3922, allocations: 257.5 kB / 250 MB, free: 15.98 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3936, allocations: 0.5322 MB / 250.5 MB, free: 15.35 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3949, allocations: 382.8 kB / 250.9 MB, free: 14.96 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3949, allocations: 0 / 250.9 MB, free: 14.96 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004507/0.3994, allocations: 1.072 MB / 252 MB, free: 13.85 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.3996, allocations: 85.11 kB / 252.1 MB, free: 13.75 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3996, allocations: 0 / 252.1 MB, free: 13.75 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4008, allocations: 248.8 kB / 252.3 MB, free: 13.5 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.4019, allocations: 131.9 kB / 252.4 MB, free: 13.37 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.4206, allocations: 6.726 MB / 259.1 MB, free: 6.113 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.4225, allocations: 119.2 kB / 259.3 MB, free: 5.996 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4227, allocations: 27.92 kB / 259.3 MB, free: 5.969 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.0009821/0.4237, allocations: 264.4 kB / 259.6 MB, free: 5.703 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.424, allocations: 87.06 kB / 259.6 MB, free: 5.617 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.4244, allocations: 87.98 kB / 259.7 MB, free: 5.527 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.4244, allocations: 12 kB / 259.7 MB, free: 5.516 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.4244, allocations: 3.984 kB / 259.7 MB, free: 5.512 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005462/0.4299, allocations: 1.256 MB / 261 MB, free: 4.141 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008818/0.4387, allocations: 2.068 MB / 263.1 MB, free: 1.965 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.4388, allocations: 0 / 263.1 MB, free: 1.965 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.4405, allocations: 131.9 kB / 263.2 MB, free: 1.836 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.4418, allocations: 210.4 kB / 263.4 MB, free: 1.621 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.4419, allocations: 19.98 kB / 263.4 MB, free: 1.602 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/0.4564, allocations: 5.197 MB / 268.6 MB, free: 11.99 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4564, allocations: 4.125 kB / 268.6 MB, free: 11.98 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/0.4638, allocations: 1.394 MB / 270 MB, free: 10.57 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.4644, allocations: 168 kB / 270.2 MB, free: 10.38 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.4647, allocations: 23.98 kB / 270.2 MB, free: 10.36 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.466, allocations: 47.92 kB / 270.2 MB, free: 10.31 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.4663, allocations: 60.56 kB / 270.3 MB, free: 10.25 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.4665, allocations: 19.98 kB / 270.3 MB, free: 10.23 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.00128/0.4678, allocations: 447.1 kB / 270.8 MB, free: 9.797 MB / 218.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4678, allocations: 0 / 270.8 MB, free: 9.797 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001985/0.4698, allocations: 299.8 kB / 271.1 MB, free: 9.504 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.0003728/0.4702, allocations: 147.9 kB / 271.2 MB, free: 9.348 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.006067/0.4762, allocations: 1.453 MB / 272.7 MB, free: 7.805 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.4763, allocations: 0 / 272.7 MB, free: 7.805 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.4794, allocations: 0.7691 MB / 273.4 MB, free: 7 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/0.484, allocations: 411 kB / 273.8 MB, free: 6.598 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.4915, allocations: 2.105 MB / 275.9 MB, free: 4.457 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/0.4925, allocations: 0.9441 MB / 276.9 MB, free: 3.488 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.4931, allocations: 67.42 kB / 276.9 MB, free: 3.422 MB / 218.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4931, allocations: 0 / 276.9 MB, free: 3.422 MB / 218.7 MB Notification: Performance of Templates: time 0.1939/0.687, allocations: 21.06 MB / 298 MB, free: 67.87 MB / 234.7 MB