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.029/1.029, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004864, allocations: 8 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05749/0.05803, allocations: 25.17 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.2887, allocations: 38.59 MB / 222.2 MB, free: 5.07 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.289, allocations: 66.91 kB / 222.3 MB, free: 5.062 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07543/0.3645, allocations: 15.86 MB / 238.1 MB, free: 10.04 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3645, allocations: 0 / 238.1 MB, free: 10.04 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.533e-05/0.3646, allocations: 19.94 kB / 238.1 MB, free: 10.02 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.003113/0.3677, allocations: 1.15 MB / 239.3 MB, free: 8.859 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3678, allocations: 8.031 kB / 239.3 MB, free: 8.852 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002864/0.3681, allocations: 121.2 kB / 239.4 MB, free: 8.766 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.3684, allocations: 110.9 kB / 239.5 MB, free: 8.656 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.3696, allocations: 0.5045 MB / 240 MB, free: 8.188 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.3699, allocations: 153.2 kB / 240.2 MB, free: 8.043 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3701, allocations: 62.88 kB / 240.2 MB, free: 8 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.3722, allocations: 0.8593 MB / 241.1 MB, free: 7.262 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3722, allocations: 0 / 241.1 MB, free: 7.262 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.3723, allocations: 35.05 kB / 241.1 MB, free: 7.25 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.3724, allocations: 16 kB / 241.1 MB, free: 7.234 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.3744, allocations: 0.587 MB / 241.7 MB, free: 6.824 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005597/0.3801, allocations: 2.409 MB / 244.1 MB, free: 4.824 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.3834, allocations: 1.033 MB / 245.2 MB, free: 3.973 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.3836, allocations: 20.7 kB / 245.2 MB, free: 3.953 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3836, allocations: 46.72 kB / 245.2 MB, free: 3.906 MB / 186.7 MB Notification: Performance of pre-optimization done (n=74): time 3.577e-06/0.3836, allocations: 4 kB / 245.2 MB, free: 3.902 MB / 186.7 MB Notification: Performance of matching and sorting (n=74): time 0.008582/0.3922, allocations: 1.844 MB / 247.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004285/0.3927, allocations: 0.8252 MB / 247.9 MB, free: 1.246 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.00143/0.3941, allocations: 0.5902 MB / 248.5 MB, free: 0.7852 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.3944, allocations: 45.64 kB / 248.5 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.3947, allocations: 337.8 kB / 248.9 MB, free: 432 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.3951, allocations: 256.2 kB / 249.1 MB, free: 172 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.3952, allocations: 12 kB / 249.1 MB, free: 160 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3953, allocations: 334.8 kB / 249.5 MB, free: 15.82 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009961/0.3964, allocations: 257.5 kB / 249.7 MB, free: 15.57 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.3977, allocations: 0.5283 MB / 250.2 MB, free: 14.94 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3989, allocations: 398.7 kB / 250.6 MB, free: 14.54 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3989, allocations: 1.641 kB / 250.6 MB, free: 14.54 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004308/0.4032, allocations: 1.056 MB / 251.7 MB, free: 13.44 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.4034, allocations: 81.11 kB / 251.8 MB, free: 13.34 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4034, allocations: 15.94 kB / 251.8 MB, free: 13.33 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.4054, allocations: 251.2 kB / 252 MB, free: 13.07 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.4071, allocations: 127.9 kB / 252.2 MB, free: 12.95 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.4263, allocations: 6.724 MB / 258.9 MB, free: 5.695 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4277, allocations: 123.3 kB / 259 MB, free: 5.574 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.4278, allocations: 20 kB / 259 MB, free: 5.555 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.000729/0.4286, allocations: 275.5 kB / 259.3 MB, free: 5.281 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.4288, allocations: 83.06 kB / 259.4 MB, free: 5.199 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.4291, allocations: 83.98 kB / 259.5 MB, free: 5.109 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4291, allocations: 8 kB / 259.5 MB, free: 5.102 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.4291, allocations: 0 / 259.5 MB, free: 5.102 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004038/0.4332, allocations: 1.257 MB / 260.7 MB, free: 3.73 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006428/0.4397, allocations: 2.087 MB / 262.8 MB, free: 1.535 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4397, allocations: 0 / 262.8 MB, free: 1.535 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.441, allocations: 127.9 kB / 262.9 MB, free: 1.41 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/0.442, allocations: 210.4 kB / 263.1 MB, free: 1.195 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.4421, allocations: 23.98 kB / 263.2 MB, free: 1.172 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.453, allocations: 5.213 MB / 268.4 MB, free: 11.54 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.453, allocations: 0 / 268.4 MB, free: 11.54 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.4584, allocations: 1.382 MB / 269.8 MB, free: 10.13 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.4588, allocations: 168.1 kB / 269.9 MB, free: 9.949 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.4591, allocations: 23.98 kB / 269.9 MB, free: 9.926 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.46, allocations: 55.81 kB / 270 MB, free: 9.871 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.4602, allocations: 56.58 kB / 270 MB, free: 9.816 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.4603, allocations: 23.98 kB / 270.1 MB, free: 9.793 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0009217/0.4613, allocations: 443.1 kB / 270.5 MB, free: 9.367 MB / 218.7 MB Notification: Performance of sort global known variables: time 3.266e-06/0.4613, allocations: 0 / 270.5 MB, free: 9.367 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001354/0.4627, allocations: 307.7 kB / 270.8 MB, free: 9.066 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.005707/0.4684, allocations: 1.978 MB / 272.8 MB, free: 7.047 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.473, allocations: 1.449 MB / 274.2 MB, free: 5.512 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.473, allocations: 8.062 kB / 274.2 MB, free: 5.504 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.4753, allocations: 0.7651 MB / 275 MB, free: 4.699 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/0.4793, allocations: 419.7 kB / 275.4 MB, free: 4.285 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.4882, allocations: 2.679 MB / 278.1 MB, free: 1.547 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.489, allocations: 0.952 MB / 279 MB, free: 0.5664 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000801/0.4898, allocations: 295.3 kB / 279.3 MB, free: 284 kB / 218.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4898, allocations: 0 / 279.3 MB, free: 284 kB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.374/3.864, allocations: 24.31 MB / 303.6 MB, free: 67.04 MB / 234.7 MB