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 0.9954/0.9954, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002616, allocations: 8 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04993/0.05021, allocations: 25.17 MB / 183.4 MB, free: 6.008 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004104/0.05436, allocations: 2.83 MB / 186.2 MB, free: 3.168 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.05602, allocations: 0.8658 MB / 187.1 MB, free: 2.297 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.05626, allocations: 4 kB / 187.1 MB, free: 2.293 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.05649, allocations: 67.5 kB / 187.2 MB, free: 2.227 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.05704, allocations: 255.3 kB / 187.4 MB, free: 1.977 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.05734, allocations: 91.83 kB / 187.5 MB, free: 1.887 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.05811, allocations: 0.5075 MB / 188 MB, free: 1.379 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.05845, allocations: 163.6 kB / 188.2 MB, free: 1.215 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.05878, allocations: 227.2 kB / 188.4 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.05919, allocations: 274.9 kB / 188.7 MB, free: 0.7227 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 8.674e-05/0.05929, allocations: 36 kB / 188.7 MB, free: 0.6875 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.05942, allocations: 36 kB / 188.7 MB, free: 0.6523 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.05955, allocations: 99.58 kB / 188.8 MB, free: 0.5547 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.05972, allocations: 137.5 kB / 189 MB, free: 424 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.0604, allocations: 0.5063 MB / 189.5 MB, free: 15.91 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.46e-06/0.06042, allocations: 0 / 189.5 MB, free: 15.91 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.942e-06/0.06043, allocations: 4 kB / 189.5 MB, free: 15.9 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.559e-06/0.06045, allocations: 0 / 189.5 MB, free: 15.9 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.001612/0.06207, allocations: 0.8078 MB / 190.3 MB, free: 15.04 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.06213, allocations: 11.97 kB / 190.3 MB, free: 15.03 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.06229, allocations: 63.25 kB / 190.4 MB, free: 14.96 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.06314, allocations: 421.6 kB / 190.8 MB, free: 14.51 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.0634, allocations: 86.27 kB / 190.9 MB, free: 14.42 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.06349, allocations: 32 kB / 190.9 MB, free: 14.39 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.0647, allocations: 0.497 MB / 191.4 MB, free: 13.84 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.06474, allocations: 7.953 kB / 191.4 MB, free: 13.83 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.06481, allocations: 23.98 kB / 191.4 MB, free: 13.81 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.06484, allocations: 8 kB / 191.4 MB, free: 13.8 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.06615, allocations: 394.2 kB / 191.8 MB, free: 13.41 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.002818/0.06898, allocations: 1.49 MB / 193.3 MB, free: 11.79 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.07001, allocations: 401.6 kB / 193.7 MB, free: 11.38 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.07007, allocations: 11.94 kB / 193.7 MB, free: 11.36 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.07013, allocations: 47.09 kB / 193.8 MB, free: 11.31 MB / 170.7 MB Notification: Performance of pre-optimization done (n=35): time 3.338e-06/0.07015, allocations: 0 / 193.8 MB, free: 11.31 MB / 170.7 MB Notification: Performance of matching and sorting (n=35): time 0.002298/0.07245, allocations: 0.7826 MB / 194.5 MB, free: 10.48 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002821/0.07276, allocations: 453 kB / 195 MB, free: 9.93 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: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.0009173/0.07369, allocations: 479.9 kB / 195.5 MB, free: 9.453 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.07377, allocations: 37.7 kB / 195.5 MB, free: 9.41 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.07402, allocations: 266.9 kB / 195.8 MB, free: 9.148 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.07418, allocations: 126.1 kB / 195.9 MB, free: 9.023 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.07423, allocations: 12 kB / 195.9 MB, free: 9.012 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.07441, allocations: 318.8 kB / 196.2 MB, free: 8.691 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/0.07499, allocations: 164.2 kB / 196.4 MB, free: 8.531 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.07574, allocations: 306.9 kB / 196.7 MB, free: 8.18 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.07638, allocations: 214.6 kB / 196.9 MB, free: 7.965 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-06/0.07641, allocations: 0 / 196.9 MB, free: 7.965 MB / 170.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001546/0.07796, allocations: 0.4895 MB / 197.4 MB, free: 7.457 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.07803, allocations: 33.7 kB / 197.4 MB, free: 7.418 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-06/0.07805, allocations: 0 / 197.4 MB, free: 7.418 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.07827, allocations: 53.69 kB / 197.4 MB, free: 7.359 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.07887, allocations: 91.88 kB / 197.5 MB, free: 7.27 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.08226, allocations: 2.773 MB / 200.3 MB, free: 4.219 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.08294, allocations: 63.69 kB / 200.4 MB, free: 4.156 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.083, allocations: 12 kB / 200.4 MB, free: 4.145 MB / 170.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 (37): * Single equations (assignments): 34 * 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.0004295/0.08344, allocations: 192.9 kB / 200.6 MB, free: 3.949 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.0836, allocations: 51.44 kB / 200.6 MB, free: 3.898 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.08374, allocations: 56.75 kB / 200.7 MB, free: 3.844 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.928e-06/0.08376, allocations: 11.94 kB / 200.7 MB, free: 3.832 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.993e-06/0.08378, allocations: 4 kB / 200.7 MB, free: 3.828 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.08524, allocations: 0.7779 MB / 201.5 MB, free: 2.945 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.08776, allocations: 1.11 MB / 202.6 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.033e-06/0.08779, allocations: 4 kB / 202.6 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.08842, allocations: 99.88 kB / 202.7 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-06/0.08844, allocations: 0 / 202.7 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.08849, allocations: 11.98 kB / 202.7 MB, free: 1.641 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-06/0.08851, allocations: 3.984 kB / 202.7 MB, free: 1.637 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.08852, allocations: 0 / 202.7 MB, free: 1.637 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.09051, allocations: 0.7215 MB / 203.4 MB, free: 0.8984 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.09072, allocations: 128.5 kB / 203.5 MB, free: 0.7539 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.09083, allocations: 8 kB / 203.5 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.09135, allocations: 55.86 kB / 203.6 MB, free: 0.6914 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.09149, allocations: 23.97 kB / 203.6 MB, free: 0.668 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.09154, allocations: 8 kB / 203.6 MB, free: 0.6602 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0005353/0.09209, allocations: 327.1 kB / 204 MB, free: 352 kB / 170.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.09211, allocations: 4 kB / 204 MB, free: 348 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006268/0.09274, allocations: 139.8 kB / 204.1 MB, free: 208 kB / 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 (35): * Single equations (assignments): 35 * 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.0001536/0.09291, allocations: 107.2 kB / 204.2 MB, free: 92 kB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.1149/0.2078, allocations: 0.6733 MB / 204.9 MB, free: 24.51 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 7.919e-06/0.2079, allocations: 3.75 kB / 204.9 MB, free: 24.51 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.209, allocations: 201.6 kB / 205.1 MB, free: 24.51 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.2118, allocations: 239 kB / 205.3 MB, free: 24.5 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.2155, allocations: 1.178 MB / 206.5 MB, free: 23.93 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.216, allocations: 0.8379 MB / 207.3 MB, free: 23.22 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.2163, allocations: 45.03 kB / 207.4 MB, free: 23.22 MB / 170.7 MB Notification: Performance of SimCode: time 1.851e-06/0.2164, allocations: 0 / 207.4 MB, free: 23.22 MB / 170.7 MB Notification: Performance of Templates: time 0.01427/0.2307, allocations: 8.836 MB / 216.2 MB, free: 19.69 MB / 170.7 MB