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.9371/0.9371, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002637, allocations: 4 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04553/0.04582, allocations: 25.17 MB / 183.5 MB, free: 5.965 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.2256, allocations: 37.79 MB / 221.3 MB, free: 5.645 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2259, allocations: 66.34 kB / 221.4 MB, free: 5.637 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03237/0.2583, allocations: 9.391 MB / 230.7 MB, free: 0.7188 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.655e-06/0.2583, allocations: 0 / 230.7 MB, free: 0.7188 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.2584, allocations: 8 kB / 230.7 MB, free: 0.7109 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001208/0.2596, allocations: 0.7503 MB / 231.5 MB, free: 15.94 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2596, allocations: 12.03 kB / 231.5 MB, free: 15.93 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2598, allocations: 71.28 kB / 231.6 MB, free: 15.86 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.2605, allocations: 368.8 kB / 231.9 MB, free: 15.51 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.2607, allocations: 57.45 kB / 232 MB, free: 15.45 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.2607, allocations: 38.84 kB / 232 MB, free: 15.43 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.2617, allocations: 473.1 kB / 232.5 MB, free: 15.02 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.2618, allocations: 8.281 kB / 232.5 MB, free: 15.02 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.2618, allocations: 24.58 kB / 232.5 MB, free: 15 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2619, allocations: 8 kB / 232.5 MB, free: 15 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/0.2627, allocations: 298.5 kB / 232.8 MB, free: 14.79 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.2656, allocations: 1.367 MB / 234.2 MB, free: 13.63 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.2671, allocations: 451.5 kB / 234.6 MB, free: 13.26 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.2672, allocations: 8.266 kB / 234.6 MB, free: 13.25 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.2673, allocations: 45.59 kB / 234.7 MB, free: 13.21 MB / 186.7 MB Notification: Performance of pre-optimization done (n=33): time 3.358e-06/0.2673, allocations: 0 / 234.7 MB, free: 13.21 MB / 186.7 MB Notification: Performance of matching and sorting (n=33): time 0.001665/0.2689, allocations: 0.6154 MB / 235.3 MB, free: 12.66 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002725/0.2692, allocations: 452.8 kB / 235.7 MB, free: 12.12 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: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.0008125/0.2701, allocations: 424.2 kB / 236.2 MB, free: 11.79 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.2701, allocations: 29.52 kB / 236.2 MB, free: 11.76 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.2704, allocations: 272 kB / 236.5 MB, free: 11.55 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2705, allocations: 105.7 kB / 236.6 MB, free: 11.46 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.2705, allocations: 11.75 kB / 236.6 MB, free: 11.46 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2707, allocations: 326.6 kB / 236.9 MB, free: 11.14 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.2711, allocations: 113.2 kB / 237 MB, free: 11.06 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.2716, allocations: 251.5 kB / 237.2 MB, free: 10.82 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.2721, allocations: 176.3 kB / 237.4 MB, free: 10.7 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.568e-06/0.2721, allocations: 3.953 kB / 237.4 MB, free: 10.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001013/0.2731, allocations: 405.9 kB / 237.8 MB, free: 10.39 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.2732, allocations: 30.48 kB / 237.8 MB, free: 10.35 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.491e-06/0.2732, allocations: 4 kB / 237.9 MB, free: 10.35 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.2734, allocations: 49.3 kB / 237.9 MB, free: 10.3 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.2738, allocations: 75.7 kB / 238 MB, free: 10.23 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.2772, allocations: 2.78 MB / 240.8 MB, free: 7.379 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.2778, allocations: 51.14 kB / 240.8 MB, free: 7.336 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.2778, allocations: 15.92 kB / 240.8 MB, free: 7.32 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" 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: 2 * 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 (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,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.000431/0.2783, allocations: 192.8 kB / 241 MB, free: 7.152 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.2784, allocations: 51.44 kB / 241.1 MB, free: 7.102 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.2786, allocations: 52.08 kB / 241.1 MB, free: 7.066 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.644e-06/0.2786, allocations: 4 kB / 241.1 MB, free: 7.062 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.875e-06/0.2786, allocations: 0 / 241.1 MB, free: 7.062 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.2796, allocations: 0.6702 MB / 241.8 MB, free: 6.363 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.2816, allocations: 0.9718 MB / 242.8 MB, free: 5.531 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2817, allocations: 0 / 242.8 MB, free: 5.531 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.2822, allocations: 71.89 kB / 242.8 MB, free: 5.461 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.666e-06/0.2822, allocations: 96 / 242.8 MB, free: 5.461 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.2822, allocations: 18.61 kB / 242.8 MB, free: 5.449 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.773e-06/0.2823, allocations: 0 / 242.8 MB, free: 5.449 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2823, allocations: 0 / 242.8 MB, free: 5.449 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2836, allocations: 0.5457 MB / 243.4 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.2838, allocations: 127.4 kB / 243.5 MB, free: 4.883 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.2839, allocations: 10.38 kB / 243.5 MB, free: 4.879 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.2843, allocations: 26.48 kB / 243.5 MB, free: 4.859 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.2844, allocations: 15.97 kB / 243.6 MB, free: 4.844 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.2844, allocations: 11.06 kB / 243.6 MB, free: 4.836 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005447/0.285, allocations: 319.4 kB / 243.9 MB, free: 4.602 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.285, allocations: 0 / 243.9 MB, free: 4.602 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007208/0.2857, allocations: 145 kB / 244 MB, free: 4.473 MB / 186.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 () * Number of clocked 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.0002379/0.286, allocations: 129.6 kB / 244.2 MB, free: 4.344 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2874, allocations: 0.5756 MB / 244.7 MB, free: 3.82 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 8.197e-06/0.2875, allocations: 12 kB / 244.7 MB, free: 3.809 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.2879, allocations: 135.9 kB / 244.9 MB, free: 3.711 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.2894, allocations: 237.8 kB / 245.1 MB, free: 3.52 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.2918, allocations: 1.093 MB / 246.2 MB, free: 2.453 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.2924, allocations: 0.8277 MB / 247 MB, free: 1.598 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.2926, allocations: 39.44 kB / 247.1 MB, free: 1.559 MB / 186.7 MB Notification: Performance of SimCode: time 1.935e-06/0.2926, allocations: 3.938 kB / 247.1 MB, free: 1.555 MB / 186.7 MB Notification: Performance of Templates: time 0.01611/0.3088, allocations: 8.232 MB / 255.3 MB, free: 9.406 MB / 202.7 MB