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.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 0.9376/0.9376, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.226e-05, allocations: 0 / 154.3 MB, free: 13.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 25.15 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05814/0.1962, allocations: 38.54 MB / 218 MB, free: 10.56 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.1965, allocations: 67.97 kB / 218 MB, free: 10.5 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03941/0.2359, allocations: 10.14 MB / 228.2 MB, free: 312 kB / 186.7 MB Notification: Performance of FrontEnd: time 1.866e-06/0.2359, allocations: 0 / 228.2 MB, free: 312 kB / 186.7 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.236, allocations: 8 kB / 228.2 MB, free: 304 kB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001504/0.2375, allocations: 0.7491 MB / 228.9 MB, free: 15.5 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2375, allocations: 12.03 kB / 228.9 MB, free: 15.48 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.2377, allocations: 67.25 kB / 229 MB, free: 15.42 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.2385, allocations: 393.8 kB / 229.4 MB, free: 14.99 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2387, allocations: 62.47 kB / 229.4 MB, free: 14.93 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.2388, allocations: 35.94 kB / 229.5 MB, free: 14.89 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.2398, allocations: 470.9 kB / 229.9 MB, free: 14.38 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2398, allocations: 352 / 229.9 MB, free: 14.38 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.2399, allocations: 19.95 kB / 230 MB, free: 14.36 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2399, allocations: 8 kB / 230 MB, free: 14.35 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.2407, allocations: 295 kB / 230.3 MB, free: 14.06 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.2439, allocations: 1.459 MB / 231.7 MB, free: 12.5 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2451, allocations: 446.9 kB / 232.2 MB, free: 12.04 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.2455, allocations: 156.9 kB / 232.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.2456, allocations: 7.984 kB / 232.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.2456, allocations: 43.12 kB / 232.4 MB, free: 11.83 MB / 202.7 MB Notification: Performance of pre-optimization done (n=38): time 3.488e-06/0.2456, allocations: 7.938 kB / 232.4 MB, free: 11.82 MB / 202.7 MB Notification: Performance of matching and sorting (n=38): time 0.001155/0.2468, allocations: 387.4 kB / 232.7 MB, free: 11.43 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002719/0.2471, allocations: 456.9 kB / 233.2 MB, free: 10.88 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1121:9-1123:45:writable] Warning: Parameter volumeFlow.duration_2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1119:9-1120:45:writable] Warning: Parameter volumeFlow.height_2 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:1116:9-1118:45:writable] Warning: Parameter volumeFlow.duration_1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1114:9-1115:45:writable] Warning: Parameter volumeFlow.height_1 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:1112:9-1113:66:writable] Warning: Parameter volumeFlow.interval has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1110:9-1111:34:writable] Warning: Parameter volumeFlow.startTime has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1109:9-1109:57:writable] Warning: Parameter volumeFlow.offset 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 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.0009073/0.248, allocations: 445.2 kB / 233.6 MB, free: 10.44 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.2481, allocations: 37.7 kB / 233.7 MB, free: 10.4 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.2483, allocations: 274.9 kB / 233.9 MB, free: 10.12 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.2485, allocations: 134 kB / 234.1 MB, free: 9.992 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2485, allocations: 12 kB / 234.1 MB, free: 9.98 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2487, allocations: 322.8 kB / 234.4 MB, free: 9.656 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.2491, allocations: 109.1 kB / 234.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.2495, allocations: 246.6 kB / 234.7 MB, free: 9.258 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.2499, allocations: 169.7 kB / 234.9 MB, free: 9.086 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.054e-06/0.25, allocations: 0 / 234.9 MB, free: 9.086 MB / 202.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001121/0.2511, allocations: 424.7 kB / 235.3 MB, free: 8.652 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.2511, allocations: 29.7 kB / 235.3 MB, free: 8.617 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.2512, allocations: 4 kB / 235.4 MB, free: 8.613 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.2516, allocations: 53.69 kB / 235.4 MB, free: 8.555 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.2522, allocations: 95.88 kB / 235.5 MB, free: 8.461 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.2554, allocations: 2.736 MB / 238.2 MB, free: 5.461 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.2561, allocations: 71.66 kB / 238.3 MB, free: 5.391 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.2562, allocations: 12 kB / 238.3 MB, free: 5.379 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 (40): * Single equations (assignments): 37 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.2565, allocations: 157.9 kB / 238.5 MB, free: 5.219 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2566, allocations: 55.34 kB / 238.5 MB, free: 5.164 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.2568, allocations: 52.98 kB / 238.6 MB, free: 5.109 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-06/0.2568, allocations: 7.938 kB / 238.6 MB, free: 5.102 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-06/0.2568, allocations: 0 / 238.6 MB, free: 5.102 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.2578, allocations: 0.68 MB / 239.3 MB, free: 4.316 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.2601, allocations: 1.051 MB / 240.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-06/0.2601, allocations: 4 kB / 240.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.2608, allocations: 95.88 kB / 240.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.2608, allocations: 4 kB / 240.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.2609, allocations: 4 kB / 240.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.319e-06/0.2609, allocations: 7.953 kB / 240.4 MB, free: 3.078 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.143e-06/0.2609, allocations: 0 / 240.4 MB, free: 3.078 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.2622, allocations: 0.5927 MB / 241 MB, free: 2.465 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.2624, allocations: 140.4 kB / 241.2 MB, free: 2.309 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2625, allocations: 4 kB / 241.2 MB, free: 2.305 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.263, allocations: 43.88 kB / 241.2 MB, free: 2.262 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.2631, allocations: 27.98 kB / 241.2 MB, free: 2.234 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.2632, allocations: 15.98 kB / 241.2 MB, free: 2.219 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005864/0.2638, allocations: 329.6 kB / 241.6 MB, free: 1.898 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.2638, allocations: 0 / 241.6 MB, free: 1.898 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006807/0.2645, allocations: 159.8 kB / 241.7 MB, free: 1.742 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 (38): * Single equations (assignments): 38 * 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.000221/0.2647, allocations: 115.5 kB / 241.8 MB, free: 1.617 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.2659, allocations: 0.5943 MB / 242.4 MB, free: 0.9844 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.179e-06/0.266, allocations: 3.938 kB / 242.4 MB, free: 0.9805 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.2663, allocations: 151.9 kB / 242.6 MB, free: 0.832 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.2679, allocations: 253.9 kB / 242.8 MB, free: 0.582 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.2703, allocations: 0.7622 MB / 243.6 MB, free: 15.8 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/0.2709, allocations: 0.8474 MB / 244.4 MB, free: 14.92 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.2711, allocations: 55.36 kB / 244.5 MB, free: 14.87 MB / 218.7 MB Notification: Performance of SimCode: time 1.839e-06/0.2711, allocations: 0 / 244.5 MB, free: 14.87 MB / 218.7 MB Notification: Performance of Templates: time 0.01658/0.2877, allocations: 9.099 MB / 253.6 MB, free: 5.793 MB / 218.7 MB