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.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 0.9947/0.9947, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002789, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04571/0.04601, allocations: 25.17 MB / 183.5 MB, free: 5.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.2277, allocations: 39.96 MB / 223.5 MB, free: 4.785 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.228, allocations: 64.72 kB / 223.5 MB, free: 4.777 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05423/0.2822, allocations: 14.21 MB / 237.7 MB, free: 10.58 MB / 186.7 MB Notification: Performance of FrontEnd: time 6.437e-06/0.2823, allocations: 3.984 kB / 237.7 MB, free: 10.57 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.2823, allocations: 12 kB / 237.7 MB, free: 10.56 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.00229/0.2846, allocations: 0.9936 MB / 238.7 MB, free: 9.559 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2847, allocations: 8.031 kB / 238.7 MB, free: 9.551 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.2849, allocations: 83.16 kB / 238.8 MB, free: 9.469 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.2859, allocations: 453 kB / 239.3 MB, free: 9.051 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.2861, allocations: 99.77 kB / 239.4 MB, free: 8.953 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2862, allocations: 47.25 kB / 239.4 MB, free: 8.922 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2878, allocations: 0.6707 MB / 240.1 MB, free: 8.344 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.2879, allocations: 3.938 kB / 240.1 MB, free: 8.34 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.288, allocations: 28.12 kB / 240.1 MB, free: 8.328 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.288, allocations: 12 kB / 240.1 MB, free: 8.316 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.2896, allocations: 489.6 kB / 240.6 MB, free: 7.969 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.2941, allocations: 2.071 MB / 242.7 MB, free: 6.227 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.2969, allocations: 0.756 MB / 243.4 MB, free: 5.602 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.297, allocations: 20.16 kB / 243.4 MB, free: 5.586 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.2971, allocations: 46.31 kB / 243.5 MB, free: 5.535 MB / 186.7 MB Notification: Performance of pre-optimization done (n=56): time 4.436e-06/0.2971, allocations: 3.938 kB / 243.5 MB, free: 5.531 MB / 186.7 MB Notification: Performance of matching and sorting (n=56): time 0.006632/0.3037, allocations: 1.614 MB / 245.1 MB, free: 4.086 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003621/0.3042, allocations: 0.5722 MB / 245.7 MB, free: 3.379 MB / 186.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: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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@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.001113/0.3053, allocations: 0.5049 MB / 246.2 MB, free: 2.984 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.3054, allocations: 44.45 kB / 246.2 MB, free: 2.945 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.3057, allocations: 304.5 kB / 246.5 MB, free: 2.734 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.306, allocations: 199.9 kB / 246.7 MB, free: 2.562 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.306, allocations: 13.94 kB / 246.7 MB, free: 2.555 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3062, allocations: 328.4 kB / 247.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/0.307, allocations: 217.6 kB / 247.3 MB, free: 2.086 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009605/0.3079, allocations: 425.3 kB / 247.7 MB, free: 1.68 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.3088, allocations: 278.8 kB / 248 MB, free: 1.488 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.463e-06/0.3088, allocations: 0 / 248 MB, free: 1.488 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003098/0.3119, allocations: 0.8293 MB / 248.8 MB, free: 0.7031 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.312, allocations: 37.73 kB / 248.8 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.612e-06/0.3121, allocations: 0 / 248.8 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3133, allocations: 238.3 kB / 249.1 MB, free: 428 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/0.3143, allocations: 135.8 kB / 249.2 MB, free: 292 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.3246, allocations: 5.332 MB / 254.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.3256, allocations: 87.64 kB / 254.6 MB, free: 10.47 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.3257, allocations: 20 kB / 254.6 MB, free: 10.45 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.0005688/0.3263, allocations: 230.6 kB / 254.9 MB, free: 10.22 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.3265, allocations: 67.25 kB / 254.9 MB, free: 10.15 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.3297, allocations: 0.8359 MB / 255.8 MB, free: 9.293 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3297, allocations: 8 kB / 255.8 MB, free: 9.285 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.347e-06/0.3297, allocations: 0 / 255.8 MB, free: 9.285 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003055/0.3328, allocations: 1.101 MB / 256.9 MB, free: 8.078 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.3377, allocations: 1.63 MB / 258.5 MB, free: 6.363 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.893e-06/0.3378, allocations: 3.938 kB / 258.5 MB, free: 6.359 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.3388, allocations: 139.8 kB / 258.6 MB, free: 6.223 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.3399, allocations: 185.6 kB / 258.8 MB, free: 6.035 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.34, allocations: 12.11 kB / 258.8 MB, free: 6.023 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007544/0.3475, allocations: 3.74 MB / 262.6 MB, free: 1.98 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.147e-06/0.3476, allocations: 4.062 kB / 262.6 MB, free: 1.977 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.3516, allocations: 1.148 MB / 263.7 MB, free: 0.8086 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/0.3522, allocations: 208.1 kB / 263.9 MB, free: 0.5859 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.3523, allocations: 15.95 kB / 263.9 MB, free: 0.5703 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.3529, allocations: 47.97 kB / 264 MB, free: 0.5234 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3531, allocations: 40.48 kB / 264 MB, free: 496 kB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.3532, allocations: 23.94 kB / 264 MB, free: 472 kB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0007049/0.3539, allocations: 386.8 kB / 264.4 MB, free: 88 kB / 202.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.3539, allocations: 0 / 264.4 MB, free: 88 kB / 202.7 MB Notification: Performance of remove unused functions: time 0.001127/0.355, allocations: 235.9 kB / 264.7 MB, free: 15.85 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.000259/0.3553, allocations: 130.8 kB / 264.8 MB, free: 15.72 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.3585, allocations: 1.094 MB / 265.9 MB, free: 14.57 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.723e-06/0.3585, allocations: 4.188 kB / 265.9 MB, free: 14.57 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.3601, allocations: 0.5589 MB / 266.4 MB, free: 13.98 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.3623, allocations: 339.6 kB / 266.8 MB, free: 13.65 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006846/0.3691, allocations: 1.756 MB / 268.5 MB, free: 11.86 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.3699, allocations: 0.8997 MB / 269.4 MB, free: 10.93 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.3702, allocations: 59.42 kB / 269.5 MB, free: 10.87 MB / 218.7 MB Notification: Performance of SimCode: time 1.985e-06/0.3702, allocations: 4 kB / 269.5 MB, free: 10.87 MB / 218.7 MB Notification: Performance of Templates: time 0.02759/0.3978, allocations: 15.07 MB / 284.6 MB, free: 11.79 MB / 234.7 MB