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 1.026/1.026, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002641, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04733/0.04761, allocations: 25.18 MB / 183.4 MB, free: 6.008 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004195/0.05185, allocations: 2.892 MB / 186.3 MB, free: 3.105 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.05388, allocations: 0.8776 MB / 187.2 MB, free: 2.223 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.05421, allocations: 7.938 kB / 187.2 MB, free: 2.215 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.05447, allocations: 75.44 kB / 187.3 MB, free: 2.141 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000585/0.05507, allocations: 259.3 kB / 187.5 MB, free: 1.887 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.05541, allocations: 95.89 kB / 187.6 MB, free: 1.793 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.05623, allocations: 0.5192 MB / 188.1 MB, free: 1.273 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.0566, allocations: 172.3 kB / 188.3 MB, free: 1.102 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.05695, allocations: 231.2 kB / 188.5 MB, free: 0.875 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.05738, allocations: 282.9 kB / 188.8 MB, free: 0.5977 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.05749, allocations: 36 kB / 188.8 MB, free: 0.5625 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.05762, allocations: 36 kB / 188.9 MB, free: 0.5273 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.05775, allocations: 103.6 kB / 189 MB, free: 436 kB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.05798, allocations: 141.4 kB / 189.1 MB, free: 288 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.05912, allocations: 0.5375 MB / 189.7 MB, free: 15.74 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.983e-06/0.05914, allocations: 0 / 189.7 MB, free: 15.74 MB / 170.7 MB Notification: Performance of FrontEnd: time 4.706e-06/0.05916, allocations: 0 / 189.7 MB, free: 15.74 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.05918, allocations: 3.938 kB / 189.7 MB, free: 15.74 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001841/0.06104, allocations: 0.8198 MB / 190.5 MB, free: 14.86 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.06111, allocations: 8.031 kB / 190.5 MB, free: 14.86 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.06131, allocations: 67.25 kB / 190.5 MB, free: 14.79 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.06224, allocations: 425.8 kB / 191 MB, free: 14.33 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/0.06251, allocations: 90.66 kB / 191.1 MB, free: 14.24 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.06264, allocations: 39.94 kB / 191.1 MB, free: 14.2 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.06403, allocations: 0.5254 MB / 191.6 MB, free: 13.62 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.06407, allocations: 3.953 kB / 191.6 MB, free: 13.61 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.06414, allocations: 20 kB / 191.6 MB, free: 13.59 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.06417, allocations: 8 kB / 191.6 MB, free: 13.59 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.06556, allocations: 403.7 kB / 192 MB, free: 13.19 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.06926, allocations: 1.583 MB / 193.6 MB, free: 11.47 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.07062, allocations: 491.1 kB / 194.1 MB, free: 10.97 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.07068, allocations: 4 kB / 194.1 MB, free: 10.96 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.07074, allocations: 46.56 kB / 194.2 MB, free: 10.91 MB / 170.7 MB Notification: Performance of pre-optimization done (n=37): time 3.951e-06/0.07076, allocations: 0 / 194.2 MB, free: 10.91 MB / 170.7 MB Notification: Performance of matching and sorting (n=37): time 0.00252/0.07329, allocations: 0.8017 MB / 195 MB, free: 10.06 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003604/0.07369, allocations: 453 kB / 195.4 MB, free: 9.512 MB / 170.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.001017/0.07473, allocations: 0.4965 MB / 195.9 MB, free: 9.004 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.07483, allocations: 37.7 kB / 195.9 MB, free: 8.961 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.07508, allocations: 270.9 kB / 196.2 MB, free: 8.695 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.07525, allocations: 134.1 kB / 196.3 MB, free: 8.562 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.07529, allocations: 8 kB / 196.3 MB, free: 8.555 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.07547, allocations: 326.8 kB / 196.7 MB, free: 8.227 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.07607, allocations: 164.3 kB / 196.8 MB, free: 8.066 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.07684, allocations: 311.8 kB / 197.1 MB, free: 7.711 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.0775, allocations: 218.5 kB / 197.3 MB, free: 7.492 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-06/0.07752, allocations: 0 / 197.3 MB, free: 7.492 MB / 170.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001535/0.07907, allocations: 0.5044 MB / 197.8 MB, free: 6.969 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.07914, allocations: 33.7 kB / 197.9 MB, free: 6.93 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.028e-06/0.07916, allocations: 0 / 197.9 MB, free: 6.93 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.07937, allocations: 49.7 kB / 197.9 MB, free: 6.875 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.07996, allocations: 99.86 kB / 198 MB, free: 6.777 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.0834, allocations: 2.768 MB / 200.8 MB, free: 3.738 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.08411, allocations: 71.61 kB / 200.9 MB, free: 3.668 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.08417, allocations: 15.97 kB / 200.9 MB, free: 3.652 MB / 170.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 (39): * Single equations (assignments): 36 * 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.0004441/0.08463, allocations: 194.1 kB / 201.1 MB, free: 3.453 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.08478, allocations: 51.44 kB / 201.1 MB, free: 3.402 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.08492, allocations: 56.84 kB / 201.2 MB, free: 3.344 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.127e-06/0.08494, allocations: 8 kB / 201.2 MB, free: 3.336 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.436e-06/0.08496, allocations: 0 / 201.2 MB, free: 3.336 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/0.08647, allocations: 0.7817 MB / 202 MB, free: 2.449 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.08907, allocations: 1.149 MB / 203.1 MB, free: 1.215 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.08911, allocations: 4 kB / 203.1 MB, free: 1.211 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.08975, allocations: 103.9 kB / 203.2 MB, free: 1.109 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.932e-06/0.08978, allocations: 3.938 kB / 203.2 MB, free: 1.105 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.08983, allocations: 11.98 kB / 203.2 MB, free: 1.094 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.08984, allocations: 3.953 kB / 203.2 MB, free: 1.09 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.08985, allocations: 0 / 203.2 MB, free: 1.09 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.0919, allocations: 0.7411 MB / 204 MB, free: 340 kB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.09214, allocations: 136.4 kB / 204.1 MB, free: 184 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.09225, allocations: 8 kB / 204.1 MB, free: 176 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.0928, allocations: 51.97 kB / 204.2 MB, free: 124 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.09291, allocations: 27.91 kB / 204.2 MB, free: 96 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.09295, allocations: 8 kB / 204.2 MB, free: 88 kB / 170.7 MB Notification: Performance of sorting global known variables: time 0.115/0.208, allocations: 337.7 kB / 204.5 MB, free: 23.67 MB / 170.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.208, allocations: 0 / 204.5 MB, free: 23.67 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0007246/0.2088, allocations: 139.9 kB / 204.7 MB, free: 23.67 MB / 170.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 (37): * Single equations (assignments): 37 * 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.0001489/0.2089, allocations: 116 kB / 204.8 MB, free: 23.59 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.2106, allocations: 0.6969 MB / 205.5 MB, free: 23.3 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 6.608e-06/0.2106, allocations: 2.062 kB / 205.5 MB, free: 23.3 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.2113, allocations: 211.3 kB / 205.7 MB, free: 23.3 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.2129, allocations: 235.9 kB / 205.9 MB, free: 23.3 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.2154, allocations: 1.227 MB / 207.1 MB, free: 22.71 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2158, allocations: 0.8459 MB / 208 MB, free: 22 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.216, allocations: 43.48 kB / 208 MB, free: 22 MB / 170.7 MB Notification: Performance of SimCode: time 2.41e-06/0.216, allocations: 0 / 208 MB, free: 22 MB / 170.7 MB Notification: Performance of Templates: time 0.01607/0.2321, allocations: 9.1 MB / 217.1 MB, free: 18.33 MB / 170.7 MB