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/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.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 1.094/1.094, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 11.94 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04598/0.04628, allocations: 25.17 MB / 183.5 MB, free: 5.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.2492, allocations: 38.37 MB / 221.9 MB, free: 5.43 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.2496, allocations: 67.19 kB / 221.9 MB, free: 5.422 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04683/0.2964, allocations: 9.882 MB / 231.8 MB, free: 15.73 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.442e-06/0.2965, allocations: 0 / 231.8 MB, free: 15.73 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.945e-05/0.2965, allocations: 8 kB / 231.8 MB, free: 15.72 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001587/0.2981, allocations: 0.8072 MB / 232.6 MB, free: 14.9 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2982, allocations: 12.03 kB / 232.6 MB, free: 14.89 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.2983, allocations: 67.47 kB / 232.7 MB, free: 14.82 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.2991, allocations: 387.7 kB / 233.1 MB, free: 14.45 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.2993, allocations: 68.91 kB / 233.2 MB, free: 14.39 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.2994, allocations: 36.62 kB / 233.2 MB, free: 14.36 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3005, allocations: 0.4892 MB / 233.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3005, allocations: 352 / 233.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.3006, allocations: 23.39 kB / 233.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3006, allocations: 8 kB / 233.7 MB, free: 13.92 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3018, allocations: 381.4 kB / 234.1 MB, free: 13.64 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.3047, allocations: 1.398 MB / 235.5 MB, free: 12.46 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.3058, allocations: 440.8 kB / 235.9 MB, free: 12.1 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.3059, allocations: 23.84 kB / 235.9 MB, free: 12.08 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.306, allocations: 38.5 kB / 236 MB, free: 12.04 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 3.031e-06/0.306, allocations: 0 / 236 MB, free: 12.04 MB / 186.7 MB Notification: Performance of matching and sorting (n=36): time 0.002176/0.3082, allocations: 0.7711 MB / 236.7 MB, free: 11.36 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002759/0.3085, allocations: 448.9 kB / 237.2 MB, free: 10.82 MB / 186.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: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: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: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.0008284/0.3093, allocations: 443.9 kB / 237.6 MB, free: 10.47 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.3094, allocations: 33.52 kB / 237.7 MB, free: 10.44 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3096, allocations: 272 kB / 237.9 MB, free: 10.24 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.3098, allocations: 125.6 kB / 238 MB, free: 10.13 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.3098, allocations: 3.938 kB / 238 MB, free: 10.13 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.31, allocations: 322.8 kB / 238.4 MB, free: 9.812 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.3105, allocations: 157.7 kB / 238.5 MB, free: 9.699 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.3112, allocations: 304.5 kB / 238.8 MB, free: 9.41 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.3118, allocations: 201 kB / 239 MB, free: 9.27 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-06/0.3118, allocations: 0.6562 kB / 239 MB, free: 9.27 MB / 186.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001344/0.3131, allocations: 494.9 kB / 239.5 MB, free: 8.883 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.3132, allocations: 29.7 kB / 239.5 MB, free: 8.848 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3132, allocations: 11.94 kB / 239.5 MB, free: 8.836 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.3134, allocations: 49.2 kB / 239.6 MB, free: 8.793 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.314, allocations: 87.81 kB / 239.7 MB, free: 8.711 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.3174, allocations: 2.769 MB / 242.4 MB, free: 5.859 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.318, allocations: 70.39 kB / 242.5 MB, free: 5.797 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.3181, allocations: 11.5 kB / 242.5 MB, free: 5.789 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" 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 (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.000448/0.3186, allocations: 186.3 kB / 242.7 MB, free: 5.629 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.3187, allocations: 59.38 kB / 242.8 MB, free: 5.57 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.3189, allocations: 48.64 kB / 242.8 MB, free: 5.551 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.3189, allocations: 4 kB / 242.8 MB, free: 5.547 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.3189, allocations: 0 / 242.8 MB, free: 5.547 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/0.3203, allocations: 0.7692 MB / 243.6 MB, free: 4.762 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3228, allocations: 1.116 MB / 244.7 MB, free: 3.82 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3228, allocations: 0 / 244.7 MB, free: 3.82 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.3236, allocations: 103.8 kB / 244.8 MB, free: 3.719 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-06/0.3237, allocations: 0 / 244.8 MB, free: 3.719 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.3237, allocations: 14.67 kB / 244.8 MB, free: 3.711 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.73e-06/0.3237, allocations: 0 / 244.8 MB, free: 3.711 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3237, allocations: 0 / 244.8 MB, free: 3.711 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3256, allocations: 0.7079 MB / 245.5 MB, free: 3.152 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.3258, allocations: 127.4 kB / 245.6 MB, free: 3.016 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.3259, allocations: 14.8 kB / 245.7 MB, free: 3.008 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.3264, allocations: 42.42 kB / 245.7 MB, free: 2.973 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.3265, allocations: 27.02 kB / 245.7 MB, free: 2.949 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3265, allocations: 4 kB / 245.7 MB, free: 2.945 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005724/0.3271, allocations: 335 kB / 246.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.3271, allocations: 0 / 246.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006603/0.3278, allocations: 146.5 kB / 246.2 MB, free: 2.566 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 (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.0002094/0.328, allocations: 118.1 kB / 246.3 MB, free: 2.449 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3296, allocations: 0.6783 MB / 247 MB, free: 1.836 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.498e-06/0.3297, allocations: 4 kB / 247 MB, free: 1.832 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005627/0.3302, allocations: 197 kB / 247.2 MB, free: 1.688 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3318, allocations: 260.8 kB / 247.4 MB, free: 1.473 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.3346, allocations: 1.192 MB / 248.6 MB, free: 320 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.3353, allocations: 0.8354 MB / 249.5 MB, free: 15.45 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3355, allocations: 50.86 kB / 249.5 MB, free: 15.4 MB / 202.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3356, allocations: 0 / 249.5 MB, free: 15.4 MB / 202.7 MB Notification: Performance of Templates: time 0.01633/0.3519, allocations: 8.844 MB / 258.4 MB, free: 6.652 MB / 202.7 MB