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.9589/0.9589, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.021e-05, allocations: 4 kB / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 25.14 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05984/0.1964, allocations: 39.87 MB / 219.3 MB, free: 9.227 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.1967, allocations: 63.97 kB / 219.4 MB, free: 9.164 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05786/0.2546, allocations: 14.19 MB / 233.5 MB, free: 10.91 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.887e-06/0.2546, allocations: 0 / 233.5 MB, free: 10.91 MB / 202.7 MB Notification: Performance of Transformations before backend: time 4.578e-05/0.2547, allocations: 20 kB / 233.6 MB, free: 10.89 MB / 202.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.001893/0.2566, allocations: 0.8915 MB / 234.5 MB, free: 9.934 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2566, allocations: 16.03 kB / 234.5 MB, free: 9.918 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2568, allocations: 83.06 kB / 234.6 MB, free: 9.836 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/0.2577, allocations: 443.9 kB / 235 MB, free: 9.363 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.2579, allocations: 100.4 kB / 235.1 MB, free: 9.254 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2581, allocations: 51.91 kB / 235.1 MB, free: 9.203 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.2594, allocations: 0.6132 MB / 235.8 MB, free: 8.52 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.2594, allocations: 0 / 235.8 MB, free: 8.52 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.2595, allocations: 27.94 kB / 235.8 MB, free: 8.492 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2595, allocations: 11.94 kB / 235.8 MB, free: 8.48 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.2606, allocations: 383.9 kB / 236.2 MB, free: 8.102 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.2649, allocations: 2.068 MB / 238.2 MB, free: 5.898 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.2673, allocations: 0.6719 MB / 238.9 MB, free: 5.199 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.2679, allocations: 236.1 kB / 239.1 MB, free: 4.969 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.2679, allocations: 12.55 kB / 239.1 MB, free: 4.957 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/0.268, allocations: 47.06 kB / 239.2 MB, free: 4.902 MB / 202.7 MB Notification: Performance of pre-optimization done (n=56): time 3.247e-06/0.268, allocations: 0 / 239.2 MB, free: 4.902 MB / 202.7 MB Notification: Performance of matching and sorting (n=56): time 0.002598/0.2706, allocations: 0.7035 MB / 239.9 MB, free: 4.18 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003511/0.271, allocations: 0.5683 MB / 240.5 MB, free: 3.477 MB / 202.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.001016/0.272, allocations: 0.5073 MB / 241 MB, free: 2.965 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/0.2721, allocations: 41.7 kB / 241 MB, free: 2.918 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.2724, allocations: 311.1 kB / 241.3 MB, free: 2.609 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.2726, allocations: 193.1 kB / 241.5 MB, free: 2.418 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.2727, allocations: 12 kB / 241.5 MB, free: 2.406 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2729, allocations: 330.8 kB / 241.8 MB, free: 2.074 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.2733, allocations: 157.1 kB / 242 MB, free: 1.922 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.274, allocations: 380.6 kB / 242.4 MB, free: 1.469 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.2746, allocations: 223 kB / 242.6 MB, free: 1.246 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2746, allocations: 0 / 242.6 MB, free: 1.246 MB / 202.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002554/0.2772, allocations: 0.737 MB / 243.3 MB, free: 0.4922 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.2773, allocations: 33.7 kB / 243.4 MB, free: 464 kB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.567e-06/0.2773, allocations: 0 / 243.4 MB, free: 464 kB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.2784, allocations: 218.5 kB / 243.6 MB, free: 236 kB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/0.2795, allocations: 139.8 kB / 243.7 MB, free: 96 kB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1241/0.4036, allocations: 5.09 MB / 248.8 MB, free: 45.53 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008062/0.4045, allocations: 94.05 kB / 248.9 MB, free: 45.53 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.4046, allocations: 23.62 kB / 248.9 MB, free: 45.53 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" 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 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,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.4048, allocations: 158.5 kB / 249.1 MB, free: 45.43 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.405, allocations: 65.44 kB / 249.1 MB, free: 45.4 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.4074, allocations: 0.7494 MB / 249.9 MB, free: 45.32 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.942e-06/0.4074, allocations: 7.75 kB / 249.9 MB, free: 45.32 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-06/0.4074, allocations: 3.188 kB / 249.9 MB, free: 45.32 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001894/0.4093, allocations: 0.9937 MB / 250.9 MB, free: 44.76 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.4125, allocations: 1.519 MB / 252.4 MB, free: 44.32 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.097e-06/0.4126, allocations: 0 / 252.4 MB, free: 44.32 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/0.4135, allocations: 140.2 kB / 252.5 MB, free: 44.32 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008718/0.4144, allocations: 155.1 kB / 252.7 MB, free: 44.31 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.4145, allocations: 11.91 kB / 252.7 MB, free: 44.31 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.4191, allocations: 3.539 MB / 256.2 MB, free: 41.54 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.368e-06/0.4192, allocations: 0 / 256.2 MB, free: 41.54 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.4219, allocations: 0.986 MB / 257.2 MB, free: 41.07 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.4222, allocations: 205.9 kB / 257.4 MB, free: 40.91 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4224, allocations: 21.98 kB / 257.4 MB, free: 40.9 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.423, allocations: 45.55 kB / 257.5 MB, free: 40.89 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4231, allocations: 42.95 kB / 257.5 MB, free: 40.89 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.4232, allocations: 22.17 kB / 257.6 MB, free: 40.88 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005231/0.4237, allocations: 379 kB / 257.9 MB, free: 40.7 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.4238, allocations: 0 / 257.9 MB, free: 40.7 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0009581/0.4247, allocations: 241.8 kB / 258.2 MB, free: 40.67 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.0001902/0.4249, allocations: 126 kB / 258.3 MB, free: 40.57 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.4271, allocations: 0.9829 MB / 259.3 MB, free: 39.98 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.211e-06/0.4271, allocations: 3.562 kB / 259.3 MB, free: 39.98 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4282, allocations: 0.5008 MB / 259.8 MB, free: 39.64 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.4302, allocations: 326 kB / 260.1 MB, free: 39.58 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.4345, allocations: 1.128 MB / 261.2 MB, free: 39.11 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4349, allocations: 0.9017 MB / 262.1 MB, free: 38.4 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.4352, allocations: 54.64 kB / 262.2 MB, free: 38.39 MB / 202.7 MB Notification: Performance of SimCode: time 1.531e-06/0.4352, allocations: 0 / 262.2 MB, free: 38.39 MB / 202.7 MB Notification: Performance of Templates: time 0.01849/0.4537, allocations: 15.09 MB / 277.3 MB, free: 26.86 MB / 202.7 MB