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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.045/1.045, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.85e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04479/0.04483, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.2227, allocations: 39.2 MB / 212.5 MB, free: 6.992 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.2229, allocations: 59.45 kB / 212.5 MB, free: 6.992 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05223/0.2752, allocations: 14.03 MB / 226.6 MB, free: 2.625 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2752, allocations: 0 / 226.6 MB, free: 2.625 MB / 170.7 MB Notification: Performance of Transformations before backend: time 6.258e-05/0.2753, allocations: 15.61 kB / 226.6 MB, free: 2.621 MB / 170.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.002449/0.2778, allocations: 0.8968 MB / 227.5 MB, free: 1.945 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2778, allocations: 11.44 kB / 227.5 MB, free: 1.941 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.2781, allocations: 89.19 kB / 227.6 MB, free: 1.898 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.2794, allocations: 451.1 kB / 228 MB, free: 1.578 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.2796, allocations: 83.83 kB / 228.1 MB, free: 1.512 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.2798, allocations: 30.16 kB / 228.1 MB, free: 1.512 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/0.2813, allocations: 365.8 kB / 228.5 MB, free: 1.48 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2829, allocations: 0.551 MB / 229 MB, free: 1.184 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.283, allocations: 3.938 kB / 229.1 MB, free: 1.18 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.2831, allocations: 3.875 kB / 229.1 MB, free: 1.18 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2831, allocations: 11.28 kB / 229.1 MB, free: 1.18 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005852/0.289, allocations: 1.972 MB / 231 MB, free: 15.98 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.2924, allocations: 0.6493 MB / 231.7 MB, free: 15.79 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.2932, allocations: 213 kB / 231.9 MB, free: 15.77 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-05/0.2933, allocations: 12.33 kB / 231.9 MB, free: 15.77 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.2934, allocations: 42.16 kB / 231.9 MB, free: 15.73 MB / 186.7 MB Notification: Performance of pre-optimization done (n=56): time 6.61e-06/0.2934, allocations: 0 / 231.9 MB, free: 15.73 MB / 186.7 MB Notification: Performance of matching and sorting (n=56): time 0.00369/0.2971, allocations: 0.6602 MB / 232.6 MB, free: 15.52 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004557/0.2976, allocations: 0.5717 MB / 233.2 MB, free: 14.83 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.001371/0.299, allocations: 439.7 kB / 233.6 MB, free: 14.68 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.2992, allocations: 25.7 kB / 233.6 MB, free: 14.64 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.2996, allocations: 312.6 kB / 233.9 MB, free: 14.43 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/0.2999, allocations: 191 kB / 234.1 MB, free: 14.29 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.3, allocations: 0 / 234.1 MB, free: 14.29 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.3003, allocations: 334.2 kB / 234.5 MB, free: 13.96 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.3009, allocations: 146.4 kB / 234.6 MB, free: 13.96 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008785/0.3017, allocations: 370.7 kB / 235 MB, free: 13.73 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.3025, allocations: 175.9 kB / 235.1 MB, free: 13.7 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.995e-06/0.3026, allocations: 4 kB / 235.1 MB, free: 13.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004003/0.3066, allocations: 0.6583 MB / 235.8 MB, free: 13.3 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.3067, allocations: 37.73 kB / 235.8 MB, free: 13.26 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3067, allocations: 3.938 kB / 235.8 MB, free: 13.26 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.3085, allocations: 212.4 kB / 236 MB, free: 13.09 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.3101, allocations: 135.5 kB / 236.2 MB, free: 12.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009649/0.3198, allocations: 4.995 MB / 241.2 MB, free: 8.113 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.3208, allocations: 78.06 kB / 241.2 MB, free: 8.039 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.321, allocations: 18.31 kB / 241.3 MB, free: 8.023 MB / 186.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" nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_b.m_flow:VARIABLE(flow=true unit = "kg/s" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real idealPump.h:VARIABLE(unit = "J/kg" nominal = 1000000.0 protected = true ) "Medium's specific enthalpy" type: Real valve.h:VARIABLE(unit = "J/kg" nominal = 1000000.0 protected = true ) "Medium's specific enthalpy" type: Real idealPump.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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 () * 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,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005049/0.3215, allocations: 156.2 kB / 241.4 MB, free: 7.871 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.3218, allocations: 63.25 kB / 241.5 MB, free: 7.809 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.3257, allocations: 0.6916 MB / 242.2 MB, free: 7.273 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.3257, allocations: 4 kB / 242.2 MB, free: 7.27 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.293e-06/0.3257, allocations: 0 / 242.2 MB, free: 7.27 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/0.3292, allocations: 0.955 MB / 243.1 MB, free: 6.281 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005892/0.3351, allocations: 1.405 MB / 244.5 MB, free: 4.805 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.048e-06/0.3352, allocations: 0 / 244.5 MB, free: 4.805 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.3369, allocations: 143.8 kB / 244.7 MB, free: 4.664 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.3382, allocations: 157.7 kB / 244.8 MB, free: 4.504 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/0.3383, allocations: 4.125 kB / 244.8 MB, free: 4.5 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008992/0.3473, allocations: 3.43 MB / 248.3 MB, free: 0.8047 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.3474, allocations: 8.156 kB / 248.3 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.3519, allocations: 0.9334 MB / 249.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.3528, allocations: 204.1 kB / 249.4 MB, free: 15.62 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.353, allocations: 4 kB / 249.4 MB, free: 15.62 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.3541, allocations: 31.97 kB / 249.4 MB, free: 15.59 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.3544, allocations: 40.5 kB / 249.5 MB, free: 15.54 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.3545, allocations: 19.98 kB / 249.5 MB, free: 15.52 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0009227/0.3554, allocations: 322.9 kB / 249.8 MB, free: 15.21 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.336e-06/0.3555, allocations: 4 kB / 249.8 MB, free: 15.21 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001929/0.3574, allocations: 219.7 kB / 250 MB, free: 14.99 MB / 202.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 () * 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.0003375/0.3578, allocations: 115.2 kB / 250.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.361, allocations: 0.8652 MB / 251 MB, free: 13.96 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 6.426e-06/0.3611, allocations: 4 kB / 251 MB, free: 13.96 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.3629, allocations: 493.6 kB / 251.5 MB, free: 13.46 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.3661, allocations: 292.5 kB / 251.8 MB, free: 13.17 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.3722, allocations: 1.089 MB / 252.9 MB, free: 12.06 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.373, allocations: 0.8958 MB / 253.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.3732, allocations: 59.41 kB / 253.8 MB, free: 11.08 MB / 202.7 MB Notification: Performance of SimCode: time 1.631e-06/0.3732, allocations: 4 kB / 253.8 MB, free: 11.07 MB / 202.7 MB Notification: Performance of Templates: time 0.02613/0.3994, allocations: 14.68 MB / 268.5 MB, free: 12.4 MB / 218.7 MB