Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.118/1.118, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 12 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05489/0.05518, allocations: 25.16 MB / 183.6 MB, free: 5.867 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.2763, allocations: 38.63 MB / 222.2 MB, free: 4.98 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.2766, allocations: 65.97 kB / 222.3 MB, free: 4.973 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03782/0.3144, allocations: 10.14 MB / 232.4 MB, free: 14.78 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.3145, allocations: 0 / 232.4 MB, free: 14.78 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.796e-05/0.3145, allocations: 11.94 kB / 232.4 MB, free: 14.77 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002026/0.3166, allocations: 0.8388 MB / 233.3 MB, free: 13.92 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3166, allocations: 11.97 kB / 233.3 MB, free: 13.91 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.3168, allocations: 77.03 kB / 233.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.317, allocations: 75.23 kB / 233.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.3178, allocations: 403.1 kB / 233.8 MB, free: 13.39 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.3179, allocations: 61.56 kB / 233.9 MB, free: 13.33 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/0.318, allocations: 38.62 kB / 233.9 MB, free: 13.3 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.3194, allocations: 0.5247 MB / 234.5 MB, free: 12.86 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3195, allocations: 0 / 234.5 MB, free: 12.86 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.3195, allocations: 20.52 kB / 234.5 MB, free: 12.85 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.3196, allocations: 12 kB / 234.5 MB, free: 12.84 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3211, allocations: 395.3 kB / 234.9 MB, free: 12.55 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.3244, allocations: 1.476 MB / 236.3 MB, free: 11.3 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.3262, allocations: 0.5058 MB / 236.9 MB, free: 10.89 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.3263, allocations: 7.984 kB / 236.9 MB, free: 10.88 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3263, allocations: 38.38 kB / 236.9 MB, free: 10.84 MB / 186.7 MB Notification: Performance of pre-optimization done (n=38): time 3.917e-06/0.3263, allocations: 4 kB / 236.9 MB, free: 10.83 MB / 186.7 MB Notification: Performance of matching and sorting (n=38): time 0.002937/0.3293, allocations: 0.798 MB / 237.7 MB, free: 10.14 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.3296, allocations: 448.7 kB / 238.1 MB, free: 9.594 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.001031/0.3306, allocations: 458.4 kB / 238.6 MB, free: 9.234 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.3307, allocations: 37.27 kB / 238.6 MB, free: 9.195 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.3309, allocations: 280.2 kB / 238.9 MB, free: 8.992 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.3311, allocations: 132.8 kB / 239 MB, free: 8.879 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.3312, allocations: 3.938 kB / 239 MB, free: 8.879 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3313, allocations: 330.7 kB / 239.4 MB, free: 8.555 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.332, allocations: 162.9 kB / 239.5 MB, free: 8.441 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.3328, allocations: 295.5 kB / 239.8 MB, free: 8.164 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.3336, allocations: 219.8 kB / 240 MB, free: 8.004 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3336, allocations: 0 / 240 MB, free: 8.004 MB / 186.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001819/0.3355, allocations: 491.4 kB / 240.5 MB, free: 7.625 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.3355, allocations: 33.7 kB / 240.5 MB, free: 7.586 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3355, allocations: 3.938 kB / 240.5 MB, free: 7.582 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.3358, allocations: 64 kB / 240.6 MB, free: 7.523 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.3366, allocations: 91.19 kB / 240.7 MB, free: 7.438 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.34, allocations: 2.77 MB / 243.5 MB, free: 4.582 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/0.3409, allocations: 69.94 kB / 243.5 MB, free: 4.52 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.341, allocations: 15.12 kB / 243.5 MB, free: 4.508 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 (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.0004972/0.3415, allocations: 199.6 kB / 243.7 MB, free: 4.34 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3416, allocations: 51.44 kB / 243.8 MB, free: 4.289 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.3418, allocations: 59.72 kB / 243.8 MB, free: 4.258 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3418, allocations: 4 kB / 243.8 MB, free: 4.254 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3418, allocations: 0 / 243.8 MB, free: 4.254 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/0.3436, allocations: 0.7661 MB / 244.6 MB, free: 3.477 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.3467, allocations: 1.159 MB / 245.8 MB, free: 2.504 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3468, allocations: 3.938 kB / 245.8 MB, free: 2.5 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/0.3477, allocations: 99.19 kB / 245.9 MB, free: 2.406 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.3477, allocations: 0 / 245.9 MB, free: 2.406 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.3477, allocations: 11.88 kB / 245.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.3478, allocations: 3.953 kB / 245.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3478, allocations: 0 / 245.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.3503, allocations: 0.7272 MB / 246.6 MB, free: 1.82 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.3505, allocations: 134 kB / 246.7 MB, free: 1.68 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3507, allocations: 14.42 kB / 246.8 MB, free: 1.672 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.3513, allocations: 39.92 kB / 246.8 MB, free: 1.637 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3514, allocations: 34.22 kB / 246.8 MB, free: 1.609 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.3515, allocations: 8 kB / 246.8 MB, free: 1.602 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000613/0.3521, allocations: 341.6 kB / 247.2 MB, free: 1.352 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3521, allocations: 0 / 247.2 MB, free: 1.352 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007429/0.3528, allocations: 156.2 kB / 247.3 MB, free: 1.211 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 (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.002936/0.3558, allocations: 1.292 MB / 248.6 MB, free: 76 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3579, allocations: 0.6925 MB / 249.3 MB, free: 15.45 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.358, allocations: 0 / 249.3 MB, free: 15.45 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.3587, allocations: 205 kB / 249.5 MB, free: 15.3 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.361, allocations: 252.5 kB / 249.8 MB, free: 15.09 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.3653, allocations: 1.726 MB / 251.5 MB, free: 13.4 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.3659, allocations: 0.8512 MB / 252.3 MB, free: 12.52 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.3664, allocations: 181.8 kB / 252.5 MB, free: 12.36 MB / 202.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3664, allocations: 0 / 252.5 MB, free: 12.36 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.289, allocations: 11.21 MB / 263.7 MB, free: 1.152 MB / 202.7 MB