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.OneMass.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 0.9766/0.9766, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.512e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04422/0.04425, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.223, allocations: 37.61 MB / 210.9 MB, free: 6.973 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.2232, allocations: 59.95 kB / 211 MB, free: 6.973 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03432/0.2576, allocations: 9.765 MB / 220.7 MB, free: 4.645 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.088e-06/0.2576, allocations: 4 kB / 220.7 MB, free: 4.641 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.14e-05/0.2576, allocations: 11.59 kB / 220.7 MB, free: 4.641 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001132/0.2588, allocations: 0.7299 MB / 221.5 MB, free: 4.066 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2588, allocations: 7.781 kB / 221.5 MB, free: 4.066 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.259, allocations: 70.19 kB / 221.5 MB, free: 4.031 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.2596, allocations: 382.1 kB / 221.9 MB, free: 3.758 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2597, allocations: 52.53 kB / 222 MB, free: 3.719 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.2598, allocations: 18.84 kB / 222 MB, free: 3.719 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006068/0.2604, allocations: 256.4 kB / 222.2 MB, free: 3.703 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.2611, allocations: 407.1 kB / 222.6 MB, free: 3.488 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2611, allocations: 0 / 222.6 MB, free: 3.488 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.2612, allocations: 7.828 kB / 222.6 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2612, allocations: 7.625 kB / 222.6 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.2634, allocations: 1.326 MB / 224 MB, free: 2.684 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.264, allocations: 351.4 kB / 224.3 MB, free: 2.551 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.2643, allocations: 135.1 kB / 224.4 MB, free: 2.539 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.2644, allocations: 14.09 kB / 224.5 MB, free: 2.535 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2644, allocations: 46.41 kB / 224.5 MB, free: 2.488 MB / 170.7 MB Notification: Performance of pre-optimization done (n=36): time 2.845e-06/0.2644, allocations: 0 / 224.5 MB, free: 2.488 MB / 170.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008522/0.2653, allocations: 359.8 kB / 224.9 MB, free: 2.375 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.2654, allocations: 449 kB / 225.3 MB, free: 1.844 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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/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/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/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.0006013/0.266, allocations: 370.8 kB / 225.7 MB, free: 1.699 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2661, allocations: 29.58 kB / 225.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2662, allocations: 285.9 kB / 226 MB, free: 1.465 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.2663, allocations: 120 kB / 226.1 MB, free: 1.375 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.2664, allocations: 0 / 226.1 MB, free: 1.375 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.2664, allocations: 326 kB / 226.4 MB, free: 1.055 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.2667, allocations: 93.95 kB / 226.5 MB, free: 1.051 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.267, allocations: 245.7 kB / 226.7 MB, free: 0.8945 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2673, allocations: 127.3 kB / 226.9 MB, free: 0.8711 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-06/0.2673, allocations: 0 / 226.9 MB, free: 0.8711 MB / 170.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008754/0.2682, allocations: 348.7 kB / 227.2 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.2683, allocations: 29.58 kB / 227.2 MB, free: 0.75 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.464e-06/0.2683, allocations: 7.938 kB / 227.2 MB, free: 0.7422 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.2686, allocations: 57.97 kB / 227.3 MB, free: 0.7188 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.2691, allocations: 97.06 kB / 227.4 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.2717, allocations: 2.618 MB / 230 MB, free: 14.21 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.2723, allocations: 54.73 kB / 230.1 MB, free: 14.19 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.2724, allocations: 11.19 kB / 230.1 MB, free: 14.19 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) type: Real pump.h:VARIABLE(unit = "J/kg" nominal = 1000000.0 protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" nominal = 1000000.0 ) 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 (38): * Single equations (assignments): 35 * 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.0002843/0.2726, allocations: 141 kB / 230.2 MB, free: 14.06 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2728, allocations: 50.31 kB / 230.3 MB, free: 14.04 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.2729, allocations: 43.47 kB / 230.3 MB, free: 14.02 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.101e-06/0.2729, allocations: 11.83 kB / 230.3 MB, free: 14.02 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-06/0.2729, allocations: 0 / 230.3 MB, free: 14.02 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007943/0.2737, allocations: 0.6483 MB / 231 MB, free: 13.45 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.2754, allocations: 0.9352 MB / 231.9 MB, free: 12.92 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-06/0.2755, allocations: 0 / 231.9 MB, free: 12.92 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.276, allocations: 100.6 kB / 232 MB, free: 12.89 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.276, allocations: 11.73 kB / 232 MB, free: 12.89 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.2761, allocations: 3.984 kB / 232 MB, free: 12.88 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.318e-06/0.2761, allocations: 0 / 232 MB, free: 12.88 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-06/0.2761, allocations: 0 / 232 MB, free: 12.88 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.2771, allocations: 0.5328 MB / 232.5 MB, free: 12.7 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.2773, allocations: 127.5 kB / 232.7 MB, free: 12.57 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.2774, allocations: 8.016 kB / 232.7 MB, free: 12.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.2778, allocations: 31.38 kB / 232.7 MB, free: 12.56 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.2779, allocations: 19.28 kB / 232.7 MB, free: 12.55 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.2779, allocations: 7.75 kB / 232.7 MB, free: 12.55 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003816/0.2783, allocations: 285.1 kB / 233 MB, free: 12.45 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.2783, allocations: 4 kB / 233 MB, free: 12.44 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005958/0.2789, allocations: 137 kB / 233.1 MB, free: 12.43 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.0002015/0.2792, allocations: 124.8 kB / 233.3 MB, free: 12.32 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.2801, allocations: 0.5343 MB / 233.8 MB, free: 12.03 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.957e-06/0.2801, allocations: 7.375 kB / 233.8 MB, free: 12.02 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.2804, allocations: 136.6 kB / 233.9 MB, free: 12.01 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.2817, allocations: 219.9 kB / 234.2 MB, free: 11.93 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.2836, allocations: 0.7162 MB / 234.9 MB, free: 11.53 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.2841, allocations: 0.8362 MB / 235.7 MB, free: 10.76 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.2843, allocations: 45.38 kB / 235.8 MB, free: 10.75 MB / 186.7 MB Notification: Performance of SimCode: time 1.525e-06/0.2844, allocations: 0 / 235.8 MB, free: 10.75 MB / 186.7 MB Notification: Performance of Templates: time 0.01498/0.2993, allocations: 8.499 MB / 244.3 MB, free: 3.852 MB / 186.7 MB