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.PumpAndValve.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.PumpAndValve,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.046/1.046, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 4 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05915/0.05945, allocations: 25.18 MB / 183.6 MB, free: 5.859 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.2935, allocations: 39.95 MB / 223.5 MB, free: 4.805 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.2938, allocations: 68.78 kB / 223.6 MB, free: 4.797 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0591/0.3529, allocations: 14.2 MB / 237.8 MB, free: 10.47 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3529, allocations: 0 / 237.8 MB, free: 10.47 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.161e-05/0.353, allocations: 16 kB / 237.8 MB, free: 10.46 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002752/0.3558, allocations: 1.001 MB / 238.8 MB, free: 9.445 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3558, allocations: 16.03 kB / 238.8 MB, free: 9.43 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.3561, allocations: 93.64 kB / 238.9 MB, free: 9.363 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.3563, allocations: 91 kB / 239 MB, free: 9.273 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3574, allocations: 449.9 kB / 239.5 MB, free: 8.852 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.3576, allocations: 105.5 kB / 239.6 MB, free: 8.754 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3578, allocations: 49.81 kB / 239.6 MB, free: 8.719 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.3599, allocations: 0.6821 MB / 240.3 MB, free: 8.133 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.36, allocations: 0 / 240.3 MB, free: 8.133 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.3602, allocations: 23.88 kB / 240.3 MB, free: 8.125 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.3602, allocations: 12 kB / 240.3 MB, free: 8.113 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.3625, allocations: 493 kB / 240.8 MB, free: 7.766 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005253/0.3678, allocations: 2.077 MB / 242.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.3715, allocations: 0.7572 MB / 243.6 MB, free: 5.391 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-05/0.3716, allocations: 16.42 kB / 243.7 MB, free: 5.379 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.3717, allocations: 51.34 kB / 243.7 MB, free: 5.328 MB / 186.7 MB Notification: Performance of pre-optimization done (n=56): time 3.196e-06/0.3717, allocations: 4 kB / 243.7 MB, free: 5.324 MB / 186.7 MB Notification: Performance of matching and sorting (n=56): time 0.009343/0.381, allocations: 1.615 MB / 245.3 MB, free: 3.871 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002871/0.3814, allocations: 0.5722 MB / 245.9 MB, free: 3.168 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:1309:7-1310:76:writable] Warning: Parameter pipe.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 pipe.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 pipe.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 pipe.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 pipe.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:1366:7-1367:48:writable] Warning: Parameter valve.frictionLoss 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:1363:7-1365:60:writable] Warning: Parameter valve.rho0 has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1361:7-1362:60:writable] Warning: Parameter valve.dp0 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:1358:7-1360:60:writable] Warning: Parameter valve.kv0 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1355:7-1357:60:writable] Warning: Parameter valve.Kv1 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:1353:7-1354:60:writable] Warning: Parameter valve.y1 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:2340:9-2340:68:writable] Warning: Parameter valve.m 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:1843:7-1845:58:writable] Warning: Parameter idealPump.V_flow0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1840:7-1842:58:writable] Warning: Parameter idealPump.dp0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1837:7-1839:58:writable] Warning: Parameter idealPump.wNominal 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.001172/0.3826, allocations: 0.5022 MB / 246.4 MB, free: 2.773 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.3828, allocations: 41.14 kB / 246.4 MB, free: 2.738 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.383, allocations: 314.5 kB / 246.8 MB, free: 2.52 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.3833, allocations: 194.6 kB / 246.9 MB, free: 2.352 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.3833, allocations: 10.06 kB / 247 MB, free: 2.348 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3835, allocations: 336.7 kB / 247.3 MB, free: 2.02 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000925/0.3844, allocations: 209.6 kB / 247.5 MB, free: 1.875 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.3856, allocations: 425.2 kB / 247.9 MB, free: 1.473 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3866, allocations: 285.8 kB / 248.2 MB, free: 1.273 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3867, allocations: 4 kB / 248.2 MB, free: 1.27 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004171/0.3908, allocations: 0.828 MB / 249 MB, free: 452 kB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.391, allocations: 33.7 kB / 249 MB, free: 412 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.391, allocations: 4.031 kB / 249.1 MB, free: 408 kB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.3926, allocations: 242.3 kB / 249.3 MB, free: 156 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.3941, allocations: 139.8 kB / 249.4 MB, free: 16 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.4061, allocations: 5.324 MB / 254.8 MB, free: 10.29 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4072, allocations: 91.73 kB / 254.8 MB, free: 10.2 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.4074, allocations: 27.97 kB / 254.9 MB, free: 10.17 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.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 pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.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: 5 * 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 {5 2,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005715/0.4079, allocations: 218.2 kB / 255.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.4081, allocations: 67.25 kB / 255.1 MB, free: 9.879 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.4124, allocations: 0.8359 MB / 256 MB, free: 9.023 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.4124, allocations: 11.98 kB / 256 MB, free: 9.012 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4125, allocations: 0 / 256 MB, free: 9.012 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003913/0.4164, allocations: 1.101 MB / 257.1 MB, free: 7.805 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/0.4222, allocations: 1.634 MB / 258.7 MB, free: 6.082 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4223, allocations: 3.938 kB / 258.7 MB, free: 6.078 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.4238, allocations: 135.8 kB / 258.9 MB, free: 5.945 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.4252, allocations: 189.5 kB / 259.1 MB, free: 5.754 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.4253, allocations: 12 kB / 259.1 MB, free: 5.742 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009129/0.4345, allocations: 3.736 MB / 262.8 MB, free: 1.703 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4345, allocations: 0 / 262.8 MB, free: 1.703 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.4399, allocations: 1.164 MB / 264 MB, free: 0.5195 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.4404, allocations: 204.2 kB / 264.2 MB, free: 308 kB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.4406, allocations: 16 kB / 264.2 MB, free: 292 kB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007931/0.4414, allocations: 43.88 kB / 264.2 MB, free: 248 kB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.4416, allocations: 44.5 kB / 264.3 MB, free: 200 kB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.4417, allocations: 23.98 kB / 264.3 MB, free: 176 kB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0007789/0.4425, allocations: 378.8 kB / 264.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4425, allocations: 0 / 264.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001166/0.4437, allocations: 239.8 kB / 264.9 MB, free: 15.57 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005815/0.4495, allocations: 1.739 MB / 266.6 MB, free: 13.8 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.4537, allocations: 1.086 MB / 267.7 MB, free: 12.66 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.4537, allocations: 4.188 kB / 267.7 MB, free: 12.66 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.4557, allocations: 0.5628 MB / 268.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.4587, allocations: 324.5 kB / 268.6 MB, free: 11.75 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/0.4673, allocations: 2.749 MB / 271.3 MB, free: 8.934 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.468, allocations: 0.8997 MB / 272.2 MB, free: 8.008 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/0.4687, allocations: 235.3 kB / 272.5 MB, free: 7.777 MB / 218.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4687, allocations: 0 / 272.5 MB, free: 7.777 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.062/3.531, allocations: 17.71 MB / 290.2 MB, free: 6.074 MB / 234.7 MB