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.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 0.9533/0.9533, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.115e-05, allocations: 0 / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 25.14 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0574/0.1958, allocations: 37.71 MB / 217.1 MB, free: 11.39 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.1961, allocations: 63.95 kB / 217.2 MB, free: 11.33 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03728/0.2333, allocations: 9.389 MB / 226.6 MB, free: 1.887 MB / 186.7 MB Notification: Performance of FrontEnd: time 5.011e-06/0.2334, allocations: 3.984 kB / 226.6 MB, free: 1.883 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.2334, allocations: 12 kB / 226.6 MB, free: 1.871 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001236/0.2347, allocations: 0.6792 MB / 227.3 MB, free: 1.141 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2347, allocations: 8.031 kB / 227.3 MB, free: 1.133 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2349, allocations: 59.34 kB / 227.3 MB, free: 1.074 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.2356, allocations: 368.3 kB / 227.7 MB, free: 0.6758 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.2358, allocations: 70.41 kB / 227.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.2359, allocations: 28 kB / 227.8 MB, free: 0.5742 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008931/0.2368, allocations: 450.9 kB / 228.2 MB, free: 76 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.2368, allocations: 352 / 228.2 MB, free: 76 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.2369, allocations: 19.95 kB / 228.3 MB, free: 56 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.2369, allocations: 15.98 kB / 228.3 MB, free: 40 kB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.2376, allocations: 267.1 kB / 228.5 MB, free: 15.77 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.2405, allocations: 1.365 MB / 229.9 MB, free: 14.31 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.242, allocations: 437.5 kB / 230.3 MB, free: 13.85 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.2424, allocations: 125.4 kB / 230.4 MB, free: 13.73 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.2424, allocations: 8.281 kB / 230.5 MB, free: 13.72 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2425, allocations: 38.84 kB / 230.5 MB, free: 13.67 MB / 202.7 MB Notification: Performance of pre-optimization done (n=33): time 1.139e-05/0.2425, allocations: 0 / 230.5 MB, free: 13.67 MB / 202.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009912/0.2435, allocations: 356.2 kB / 230.8 MB, free: 13.31 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002668/0.2438, allocations: 445 kB / 231.3 MB, free: 12.77 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:1702:7-1704:58:writable] Warning: Parameter pump.constantVolumeFlow 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.0007991/0.2446, allocations: 413.3 kB / 231.7 MB, free: 12.37 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.2447, allocations: 37.7 kB / 231.7 MB, free: 12.33 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.2449, allocations: 262.7 kB / 232 MB, free: 12.07 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.245, allocations: 126.3 kB / 232.1 MB, free: 11.95 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.2451, allocations: 4 kB / 232.1 MB, free: 11.94 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2453, allocations: 326.8 kB / 232.4 MB, free: 11.61 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.2456, allocations: 92.33 kB / 232.5 MB, free: 11.52 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.246, allocations: 239.6 kB / 232.7 MB, free: 11.23 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.2464, allocations: 143 kB / 232.9 MB, free: 11.09 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-06/0.2464, allocations: 0 / 232.9 MB, free: 11.09 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001042/0.2475, allocations: 406.3 kB / 233.3 MB, free: 10.68 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.2475, allocations: 33.64 kB / 233.3 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-06/0.2475, allocations: 0 / 233.3 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.248, allocations: 73.69 kB / 233.4 MB, free: 10.56 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.2485, allocations: 75.89 kB / 233.5 MB, free: 10.48 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.2519, allocations: 2.733 MB / 236.2 MB, free: 7.488 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.2524, allocations: 59.83 kB / 236.2 MB, free: 7.43 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.2525, allocations: 11.95 kB / 236.3 MB, free: 7.418 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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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: 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 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.2528, allocations: 152.8 kB / 236.4 MB, free: 7.266 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2529, allocations: 51.44 kB / 236.5 MB, free: 7.215 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2531, allocations: 52.77 kB / 236.5 MB, free: 7.164 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2531, allocations: 4 kB / 236.5 MB, free: 7.16 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-06/0.2531, allocations: 0 / 236.5 MB, free: 7.16 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008675/0.254, allocations: 0.6416 MB / 237.2 MB, free: 6.414 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.2558, allocations: 0.9337 MB / 238.1 MB, free: 5.406 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.724e-06/0.2559, allocations: 7.984 kB / 238.1 MB, free: 5.398 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.2564, allocations: 71.89 kB / 238.2 MB, free: 5.328 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.2564, allocations: 4 kB / 238.2 MB, free: 5.324 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.2565, allocations: 11.98 kB / 238.2 MB, free: 5.312 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.616e-06/0.2565, allocations: 0 / 238.2 MB, free: 5.312 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.2565, allocations: 7.953 kB / 238.2 MB, free: 5.305 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.2575, allocations: 0.4915 MB / 238.7 MB, free: 4.797 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.2578, allocations: 140.5 kB / 238.8 MB, free: 4.641 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.2579, allocations: 8 kB / 238.8 MB, free: 4.633 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.2582, allocations: 23.89 kB / 238.9 MB, free: 4.609 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.2583, allocations: 23.88 kB / 238.9 MB, free: 4.586 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.2584, allocations: 11.98 kB / 238.9 MB, free: 4.574 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005376/0.2589, allocations: 313.2 kB / 239.2 MB, free: 4.27 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.2589, allocations: 0 / 239.2 MB, free: 4.27 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006368/0.2596, allocations: 151.8 kB / 239.3 MB, free: 4.121 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.2598, allocations: 123.2 kB / 239.5 MB, free: 3.988 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.2611, allocations: 0.5396 MB / 240 MB, free: 3.41 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2611, allocations: 0 / 240 MB, free: 3.41 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.2614, allocations: 127.9 kB / 240.1 MB, free: 3.285 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.2629, allocations: 233.8 kB / 240.4 MB, free: 3.059 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2646, allocations: 0.6488 MB / 241 MB, free: 2.379 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.2652, allocations: 0.8199 MB / 241.8 MB, free: 1.531 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.2654, allocations: 47.42 kB / 241.9 MB, free: 1.484 MB / 202.7 MB Notification: Performance of SimCode: time 1.793e-06/0.2654, allocations: 3.938 kB / 241.9 MB, free: 1.48 MB / 202.7 MB Notification: Performance of Templates: time 0.01529/0.2807, allocations: 8.267 MB / 250.1 MB, free: 9.234 MB / 218.7 MB