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.121/1.121, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 8 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05591/0.05637, allocations: 25.18 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004993/0.06145, allocations: 2.892 MB / 186.4 MB, free: 3.02 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.06387, allocations: 0.8814 MB / 187.3 MB, free: 2.133 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.06423, allocations: 4 kB / 187.3 MB, free: 2.129 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.06456, allocations: 71.45 kB / 187.4 MB, free: 2.059 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007364/0.06531, allocations: 259.3 kB / 187.6 MB, free: 1.805 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.06572, allocations: 99.88 kB / 187.7 MB, free: 1.707 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009812/0.06671, allocations: 0.5153 MB / 188.2 MB, free: 1.191 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.06713, allocations: 172.3 kB / 188.4 MB, free: 1.02 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.06753, allocations: 235.2 kB / 188.6 MB, free: 0.7891 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.06804, allocations: 278.9 kB / 188.9 MB, free: 0.5156 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.06816, allocations: 36 kB / 188.9 MB, free: 492 kB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.06832, allocations: 36 kB / 189 MB, free: 456 kB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.0685, allocations: 103.6 kB / 189.1 MB, free: 352 kB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.06869, allocations: 145.3 kB / 189.2 MB, free: 200 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008003/0.0695, allocations: 0.5336 MB / 189.7 MB, free: 15.66 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.06952, allocations: 0 / 189.7 MB, free: 15.66 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.06953, allocations: 4 kB / 189.7 MB, free: 15.66 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.06955, allocations: 0 / 189.7 MB, free: 15.66 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.002205/0.07176, allocations: 0.8237 MB / 190.6 MB, free: 14.78 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.07184, allocations: 8.031 kB / 190.6 MB, free: 14.77 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.07205, allocations: 87.42 kB / 190.7 MB, free: 14.68 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.07224, allocations: 67.23 kB / 190.7 MB, free: 14.61 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.0733, allocations: 429.9 kB / 191.2 MB, free: 14.15 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.07366, allocations: 82.67 kB / 191.2 MB, free: 14.06 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.07378, allocations: 40 kB / 191.3 MB, free: 14.02 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.07536, allocations: 0.541 MB / 191.8 MB, free: 13.42 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.07541, allocations: 0 / 191.8 MB, free: 13.42 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.07548, allocations: 16 kB / 191.8 MB, free: 13.41 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.07551, allocations: 8 kB / 191.8 MB, free: 13.4 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.07728, allocations: 403.7 kB / 192.2 MB, free: 13.01 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.003587/0.0809, allocations: 1.598 MB / 193.8 MB, free: 11.27 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.08258, allocations: 487.8 kB / 194.3 MB, free: 10.77 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.08267, allocations: 11.97 kB / 194.3 MB, free: 10.75 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.08272, allocations: 39.22 kB / 194.4 MB, free: 10.71 MB / 170.7 MB Notification: Performance of pre-optimization done (n=37): time 2.755e-06/0.08273, allocations: 4 kB / 194.4 MB, free: 10.7 MB / 170.7 MB Notification: Performance of matching and sorting (n=37): time 0.003165/0.08591, allocations: 0.8056 MB / 195.2 MB, free: 9.848 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002441/0.0862, allocations: 452.9 kB / 195.6 MB, free: 9.301 MB / 170.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.00109/0.0873, allocations: 0.4996 MB / 196.1 MB, free: 8.789 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.08741, allocations: 37.7 kB / 196.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.08767, allocations: 278.8 kB / 196.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.08784, allocations: 122.2 kB / 196.5 MB, free: 8.352 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.08789, allocations: 12 kB / 196.5 MB, free: 8.34 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.08805, allocations: 322.8 kB / 196.9 MB, free: 8.016 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.08888, allocations: 168.2 kB / 197 MB, free: 7.852 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009621/0.08985, allocations: 311.8 kB / 197.3 MB, free: 7.496 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.09072, allocations: 222.4 kB / 197.5 MB, free: 7.273 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.09074, allocations: 3.984 kB / 197.6 MB, free: 7.27 MB / 170.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001983/0.09274, allocations: 0.4928 MB / 198 MB, free: 6.758 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.09283, allocations: 33.7 kB / 198.1 MB, free: 6.719 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.09285, allocations: 0 / 198.1 MB, free: 6.719 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.09309, allocations: 45.69 kB / 198.1 MB, free: 6.668 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.09395, allocations: 103.9 kB / 198.2 MB, free: 6.566 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.09761, allocations: 2.775 MB / 201 MB, free: 3.523 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.09867, allocations: 67.69 kB / 201.1 MB, free: 3.457 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.09874, allocations: 12 kB / 201.1 MB, free: 3.445 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.0004896/0.09924, allocations: 200.8 kB / 201.3 MB, free: 3.242 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.0994, allocations: 55.34 kB / 201.3 MB, free: 3.188 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.09957, allocations: 56.84 kB / 201.4 MB, free: 3.125 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.09959, allocations: 8.375 kB / 201.4 MB, free: 3.117 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.0996, allocations: 3.953 kB / 201.4 MB, free: 3.113 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001855/0.1015, allocations: 0.7778 MB / 202.2 MB, free: 2.23 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.1046, allocations: 1.153 MB / 203.3 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.1047, allocations: 0 / 203.3 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009075/0.1056, allocations: 103.9 kB / 203.4 MB, free: 0.8945 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.1056, allocations: 7.953 kB / 203.4 MB, free: 0.8867 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.1057, allocations: 7.984 kB / 203.4 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.1057, allocations: 4 kB / 203.4 MB, free: 0.875 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1057, allocations: 0 / 203.4 MB, free: 0.875 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.1084, allocations: 0.741 MB / 204.2 MB, free: 120 kB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1419/0.2503, allocations: 131.1 kB / 204.3 MB, free: 24.12 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.2506, allocations: 14.23 kB / 204.3 MB, free: 24.12 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/0.2514, allocations: 47.53 kB / 204.4 MB, free: 24.12 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.2516, allocations: 23.62 kB / 204.4 MB, free: 24.12 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.2516, allocations: 10.67 kB / 204.4 MB, free: 24.12 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0006917/0.2523, allocations: 339.9 kB / 204.7 MB, free: 24.03 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2524, allocations: 4.531 kB / 204.7 MB, free: 24.03 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0007512/0.2531, allocations: 147.5 kB / 204.9 MB, free: 24.03 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.002972/0.2561, allocations: 1.296 MB / 206.2 MB, free: 23.37 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.2583, allocations: 0.6914 MB / 206.9 MB, free: 23.08 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2584, allocations: 1.5 kB / 206.9 MB, free: 23.08 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.2592, allocations: 213.8 kB / 207.1 MB, free: 23.08 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.2615, allocations: 242.4 kB / 207.3 MB, free: 23.08 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.2654, allocations: 1.526 MB / 208.8 MB, free: 22.22 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.2659, allocations: 0.846 MB / 209.7 MB, free: 21.51 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.2664, allocations: 188.1 kB / 209.9 MB, free: 21.38 MB / 170.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2664, allocations: 0 / 209.9 MB, free: 21.38 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.072, allocations: 11.22 MB / 221.1 MB, free: 15.04 MB / 170.7 MB