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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.047/1.047, allocations: 111.2 MB / 124.2 MB, free: 11.22 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.858e-05, allocations: 3.984 kB / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1706, allocations: 25.15 MB / 179.5 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09241/0.2631, allocations: 38.51 MB / 218 MB, free: 10.61 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.2635, allocations: 67.97 kB / 218.1 MB, free: 10.55 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09129/0.3548, allocations: 15.86 MB / 233.9 MB, free: 10.61 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3549, allocations: 0 / 233.9 MB, free: 10.61 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.886e-05/0.355, allocations: 16 kB / 234 MB, free: 10.59 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.002846/0.3578, allocations: 1.029 MB / 235 MB, free: 9.5 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.3579, allocations: 8.031 kB / 235 MB, free: 9.492 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/0.3582, allocations: 123.6 kB / 235.1 MB, free: 9.359 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.3585, allocations: 102.9 kB / 235.2 MB, free: 9.258 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3598, allocations: 0.5077 MB / 235.7 MB, free: 8.711 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.3601, allocations: 158.4 kB / 235.9 MB, free: 8.539 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.3603, allocations: 59.91 kB / 235.9 MB, free: 8.48 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.3622, allocations: 0.8201 MB / 236.8 MB, free: 7.559 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.3622, allocations: 4 kB / 236.8 MB, free: 7.555 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3624, allocations: 28 kB / 236.8 MB, free: 7.527 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.3624, allocations: 12 kB / 236.8 MB, free: 7.516 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.3639, allocations: 0.5011 MB / 237.3 MB, free: 7.016 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005725/0.3697, allocations: 2.406 MB / 239.7 MB, free: 4.445 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.3722, allocations: 0.9122 MB / 240.6 MB, free: 3.473 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008956/0.3732, allocations: 346.5 kB / 241 MB, free: 3.137 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/0.3733, allocations: 8.781 kB / 241 MB, free: 3.125 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.3733, allocations: 51.34 kB / 241 MB, free: 3.066 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 1.538e-05/0.3734, allocations: 0 / 241 MB, free: 3.066 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.00362/0.377, allocations: 0.8812 MB / 241.9 MB, free: 2.168 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004004/0.3774, allocations: 0.8274 MB / 242.7 MB, free: 1.141 MB / 202.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.00135/0.3788, allocations: 0.5755 MB / 243.3 MB, free: 0.5586 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.379, allocations: 41.7 kB / 243.3 MB, free: 0.5117 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.3793, allocations: 341.2 kB / 243.7 MB, free: 184 kB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1566/0.5359, allocations: 249.2 kB / 243.9 MB, free: 48.12 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.5361, allocations: 16.78 kB / 243.9 MB, free: 48.12 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5362, allocations: 340.3 kB / 244.3 MB, free: 47.8 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.537, allocations: 208.6 kB / 244.5 MB, free: 47.8 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.5381, allocations: 488.2 kB / 245 MB, free: 47.55 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008893/0.539, allocations: 344.5 kB / 245.3 MB, free: 47.44 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.539, allocations: 3.875 kB / 245.3 MB, free: 47.44 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00368/0.5427, allocations: 0.9742 MB / 246.3 MB, free: 47.27 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.5428, allocations: 90.97 kB / 246.4 MB, free: 47.17 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5429, allocations: 1.281 kB / 246.4 MB, free: 47.17 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.5439, allocations: 216.8 kB / 246.6 MB, free: 47.14 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.545, allocations: 130.1 kB / 246.7 MB, free: 47.14 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/0.555, allocations: 6.371 MB / 253.1 MB, free: 42.07 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.5564, allocations: 117 kB / 253.2 MB, free: 42.05 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.5565, allocations: 28.72 kB / 253.2 MB, free: 42.05 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.0003817/0.5569, allocations: 206.5 kB / 253.4 MB, free: 41.93 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.5571, allocations: 84.22 kB / 253.5 MB, free: 41.89 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.5573, allocations: 84.19 kB / 253.6 MB, free: 41.88 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.5573, allocations: 6.875 kB / 253.6 MB, free: 41.88 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5573, allocations: 4.594 kB / 253.6 MB, free: 41.88 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002956/0.5603, allocations: 1.176 MB / 254.8 MB, free: 41.29 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.5654, allocations: 2.01 MB / 256.8 MB, free: 40.72 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5655, allocations: 0 / 256.8 MB, free: 40.72 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.5667, allocations: 132.3 kB / 256.9 MB, free: 40.72 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006769/0.5674, allocations: 165.9 kB / 257.1 MB, free: 40.66 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.5675, allocations: 22.09 kB / 257.1 MB, free: 40.65 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/0.5745, allocations: 4.874 MB / 262 MB, free: 36.24 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5745, allocations: 3.516 kB / 262 MB, free: 36.24 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.5785, allocations: 1.282 MB / 263.2 MB, free: 35.62 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.5788, allocations: 169.1 kB / 263.4 MB, free: 35.47 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.579, allocations: 22.61 kB / 263.4 MB, free: 35.46 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.5799, allocations: 59.5 kB / 263.5 MB, free: 35.44 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.5802, allocations: 59 kB / 263.5 MB, free: 35.43 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.5803, allocations: 22.77 kB / 263.6 MB, free: 35.43 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000727/0.581, allocations: 440.5 kB / 264 MB, free: 35.21 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.581, allocations: 0 / 264 MB, free: 35.21 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001204/0.5822, allocations: 308.5 kB / 264.3 MB, free: 35.18 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.004242/0.5865, allocations: 2.009 MB / 266.3 MB, free: 33.88 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.5904, allocations: 1.361 MB / 267.7 MB, free: 33 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.5904, allocations: 3.969 kB / 267.7 MB, free: 33 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.5922, allocations: 0.7157 MB / 268.4 MB, free: 32.52 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.5958, allocations: 420.5 kB / 268.8 MB, free: 32.43 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.6012, allocations: 1.555 MB / 270.4 MB, free: 31.04 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.6017, allocations: 0.951 MB / 271.3 MB, free: 30.16 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/0.6024, allocations: 296.4 kB / 271.6 MB, free: 29.9 MB / 202.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6024, allocations: 0 / 271.6 MB, free: 29.9 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.2/3.802, allocations: 24.61 MB / 296.2 MB, free: 7.195 MB / 202.7 MB