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: 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.075/1.075, allocations: 111.2 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 11.98 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07219/0.07261, allocations: 25.15 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.3022, allocations: 39.95 MB / 224 MB, free: 4.766 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.3025, allocations: 72.02 kB / 224 MB, free: 4.754 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06068/0.3632, allocations: 14.21 MB / 238.3 MB, free: 10.63 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3633, allocations: 0 / 238.3 MB, free: 10.63 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.38e-05/0.3634, allocations: 12 kB / 238.3 MB, free: 10.62 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.002882/0.3663, allocations: 1.002 MB / 239.3 MB, free: 9.605 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3663, allocations: 8.031 kB / 239.3 MB, free: 9.598 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.3666, allocations: 79.16 kB / 239.4 MB, free: 9.52 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.3677, allocations: 455.3 kB / 239.8 MB, free: 9.102 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.3679, allocations: 104.5 kB / 239.9 MB, free: 9 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.3681, allocations: 49.3 kB / 239.9 MB, free: 8.965 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.37, allocations: 0.6722 MB / 240.6 MB, free: 8.387 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.3701, allocations: 0 / 240.6 MB, free: 8.387 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.3702, allocations: 22.5 kB / 240.6 MB, free: 8.379 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3702, allocations: 11.94 kB / 240.7 MB, free: 8.367 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.3721, allocations: 0.4937 MB / 241.1 MB, free: 8.008 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.3776, allocations: 2.065 MB / 243.2 MB, free: 6.27 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/0.3811, allocations: 0.7101 MB / 243.9 MB, free: 5.691 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.3812, allocations: 8.547 kB / 243.9 MB, free: 5.684 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.3813, allocations: 53.69 kB / 244 MB, free: 5.629 MB / 186.7 MB Notification: Performance of pre-optimization done (n=56): time 1.243e-05/0.3813, allocations: 0 / 244 MB, free: 5.629 MB / 186.7 MB Notification: Performance of matching and sorting (n=56): time 0.009719/0.391, allocations: 1.625 MB / 245.6 MB, free: 4.176 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003384/0.3914, allocations: 0.5644 MB / 246.2 MB, free: 3.477 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.001296/0.3927, allocations: 0.571 MB / 246.7 MB, free: 3.027 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.3929, allocations: 47.95 kB / 246.8 MB, free: 2.984 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.3932, allocations: 301.2 kB / 247.1 MB, free: 2.773 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.3935, allocations: 196 kB / 247.3 MB, free: 2.605 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.3936, allocations: 13.31 kB / 247.3 MB, free: 2.602 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3937, allocations: 329.6 kB / 247.6 MB, free: 2.277 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009852/0.3947, allocations: 211.3 kB / 247.8 MB, free: 2.133 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.396, allocations: 431.6 kB / 248.2 MB, free: 1.723 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3971, allocations: 279.3 kB / 248.5 MB, free: 1.531 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3971, allocations: 4 kB / 248.5 MB, free: 1.527 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004194/0.4013, allocations: 0.8347 MB / 249.3 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.4014, allocations: 29.7 kB / 249.4 MB, free: 0.6875 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4014, allocations: 4 kB / 249.4 MB, free: 0.6836 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.4031, allocations: 234.4 kB / 249.6 MB, free: 456 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.4046, allocations: 143.8 kB / 249.8 MB, free: 312 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.4171, allocations: 5.321 MB / 255.1 MB, free: 10.59 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4183, allocations: 95.64 kB / 255.2 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.4184, allocations: 19.98 kB / 255.2 MB, free: 10.48 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.0006356/0.4191, allocations: 218.3 kB / 255.4 MB, free: 10.25 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.4193, allocations: 71.19 kB / 255.5 MB, free: 10.18 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.4236, allocations: 0.832 MB / 256.3 MB, free: 9.328 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4237, allocations: 4 kB / 256.3 MB, free: 9.324 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4237, allocations: 8.172 kB / 256.3 MB, free: 9.316 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004128/0.4279, allocations: 1.105 MB / 257.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/0.4341, allocations: 1.634 MB / 259.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.4341, allocations: 0 / 259.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.4358, allocations: 143.8 kB / 259.2 MB, free: 6.242 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4373, allocations: 181.5 kB / 259.4 MB, free: 6.059 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.4374, allocations: 20.11 kB / 259.4 MB, free: 6.039 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009152/0.4466, allocations: 3.736 MB / 263.1 MB, free: 2.008 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4467, allocations: 0 / 263.1 MB, free: 2.008 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.452, allocations: 1.156 MB / 264.3 MB, free: 0.8281 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.4526, allocations: 208.1 kB / 264.5 MB, free: 0.6055 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.4528, allocations: 12 kB / 264.5 MB, free: 0.5938 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.4536, allocations: 43.97 kB / 264.5 MB, free: 0.5508 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4539, allocations: 48.48 kB / 264.6 MB, free: 0.5039 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.4539, allocations: 19.98 kB / 264.6 MB, free: 496 kB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0007652/0.4547, allocations: 378.8 kB / 265 MB, free: 120 kB / 202.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.4547, allocations: 0 / 265 MB, free: 120 kB / 202.7 MB Notification: Performance of remove unused functions: time 0.001261/0.456, allocations: 239.9 kB / 265.2 MB, free: 15.88 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.0003096/0.4563, allocations: 134.8 kB / 265.3 MB, free: 15.74 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00419/0.4605, allocations: 1.094 MB / 266.4 MB, free: 14.59 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.4606, allocations: 0 / 266.4 MB, free: 14.59 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.4627, allocations: 0.5668 MB / 267 MB, free: 14 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.4659, allocations: 330.8 kB / 267.3 MB, free: 13.68 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.4737, allocations: 1.77 MB / 269.1 MB, free: 11.87 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.4743, allocations: 0.8997 MB / 270 MB, free: 10.95 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.4747, allocations: 59.41 kB / 270.1 MB, free: 10.89 MB / 218.7 MB Notification: Performance of SimCode: time 1.193e-06/0.4747, allocations: 0 / 270.1 MB, free: 10.89 MB / 218.7 MB Notification: Performance of Templates: time 0.03212/0.5069, allocations: 15.08 MB / 285.1 MB, free: 11.81 MB / 234.7 MB