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.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.117/1.117, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002773, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0459/0.04621, allocations: 25.17 MB / 183.4 MB, free: 6.012 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003999/0.05025, allocations: 2.692 MB / 186.1 MB, free: 3.312 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.05213, allocations: 0.8308 MB / 186.9 MB, free: 2.477 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.05245, allocations: 4 kB / 186.9 MB, free: 2.473 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.0527, allocations: 75.44 kB / 187 MB, free: 2.398 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.05328, allocations: 235.4 kB / 187.2 MB, free: 2.168 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.05361, allocations: 91.83 kB / 187.3 MB, free: 2.078 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.05436, allocations: 487.8 kB / 187.8 MB, free: 1.602 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.05472, allocations: 163.6 kB / 188 MB, free: 1.434 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.05503, allocations: 207.3 kB / 188.2 MB, free: 1.23 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.05543, allocations: 259 kB / 188.4 MB, free: 0.9766 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.05553, allocations: 36 kB / 188.5 MB, free: 0.9414 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.05566, allocations: 36 kB / 188.5 MB, free: 0.9062 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.05578, allocations: 91.66 kB / 188.6 MB, free: 0.8164 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.05596, allocations: 129.5 kB / 188.7 MB, free: 0.6836 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.05663, allocations: 498.6 kB / 189.2 MB, free: 200 kB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.798e-06/0.05666, allocations: 4 kB / 189.2 MB, free: 196 kB / 154.7 MB Notification: Performance of FrontEnd: time 2.37e-06/0.05667, allocations: 0 / 189.2 MB, free: 196 kB / 154.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.05669, allocations: 0 / 189.2 MB, free: 196 kB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001495/0.05819, allocations: 0.7458 MB / 189.9 MB, free: 15.39 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.05825, allocations: 12.03 kB / 190 MB, free: 15.38 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.05842, allocations: 59.34 kB / 190 MB, free: 15.32 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.05913, allocations: 366.1 kB / 190.4 MB, free: 14.92 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.05929, allocations: 62.69 kB / 190.4 MB, free: 14.86 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/0.0594, allocations: 28 kB / 190.5 MB, free: 14.83 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.06044, allocations: 478.1 kB / 190.9 MB, free: 14.3 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.06048, allocations: 3.953 kB / 190.9 MB, free: 14.3 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.06055, allocations: 12 kB / 190.9 MB, free: 14.29 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.06058, allocations: 8 kB / 191 MB, free: 14.28 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.06144, allocations: 295.8 kB / 191.2 MB, free: 13.99 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.003207/0.06466, allocations: 1.52 MB / 192.8 MB, free: 12.33 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.06622, allocations: 451.2 kB / 193.2 MB, free: 11.87 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.06629, allocations: 8 kB / 193.2 MB, free: 11.86 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.06636, allocations: 42.56 kB / 193.3 MB, free: 11.81 MB / 170.7 MB Notification: Performance of pre-optimization done (n=32): time 3.899e-06/0.06638, allocations: 4 kB / 193.3 MB, free: 11.8 MB / 170.7 MB Notification: Performance of matching and sorting (n=32): time 0.001704/0.06809, allocations: 0.6141 MB / 193.9 MB, free: 11.14 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002826/0.06841, allocations: 441 kB / 194.3 MB, free: 10.61 MB / 170.7 MB [/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.0009131/0.06933, allocations: 473.7 kB / 194.8 MB, free: 10.14 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.06942, allocations: 37.7 kB / 194.8 MB, free: 10.09 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.06967, allocations: 266.9 kB / 195.1 MB, free: 9.832 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.06982, allocations: 106.4 kB / 195.2 MB, free: 9.727 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.06986, allocations: 8 kB / 195.2 MB, free: 9.719 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.07005, allocations: 330.8 kB / 195.5 MB, free: 9.387 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.07041, allocations: 104.3 kB / 195.6 MB, free: 9.285 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.07096, allocations: 257.6 kB / 195.9 MB, free: 8.984 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.0714, allocations: 166.8 kB / 196 MB, free: 8.816 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.152e-06/0.07142, allocations: 0 / 196 MB, free: 8.816 MB / 170.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001096/0.07253, allocations: 402.3 kB / 196.4 MB, free: 8.406 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.0726, allocations: 29.7 kB / 196.4 MB, free: 8.371 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.983e-06/0.07262, allocations: 0 / 196.4 MB, free: 8.371 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.07285, allocations: 57.62 kB / 196.5 MB, free: 8.309 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.07327, allocations: 59.97 kB / 196.6 MB, free: 8.25 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.07684, allocations: 2.78 MB / 199.3 MB, free: 5.195 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.07745, allocations: 51.62 kB / 199.4 MB, free: 5.145 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.07751, allocations: 12 kB / 199.4 MB, free: 5.133 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 (36): * Single equations (assignments): 33 * 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 {1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004249/0.07795, allocations: 186.3 kB / 199.6 MB, free: 4.941 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.0781, allocations: 51.44 kB / 199.6 MB, free: 4.891 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.07823, allocations: 48.66 kB / 199.7 MB, free: 4.84 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-06/0.07825, allocations: 0 / 199.7 MB, free: 4.84 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.391e-06/0.07827, allocations: 8 kB / 199.7 MB, free: 4.832 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.07931, allocations: 0.6619 MB / 200.3 MB, free: 4.066 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.08137, allocations: 0.9649 MB / 201.3 MB, free: 3.023 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.416e-06/0.08141, allocations: 4 kB / 201.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.08189, allocations: 63.95 kB / 201.4 MB, free: 2.957 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.08192, allocations: 7.938 kB / 201.4 MB, free: 2.949 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.08196, allocations: 4 kB / 201.4 MB, free: 2.945 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1e-05/0.08198, allocations: 7.953 kB / 201.4 MB, free: 2.938 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.366e-06/0.082, allocations: 0 / 201.4 MB, free: 2.938 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.08333, allocations: 0.5233 MB / 201.9 MB, free: 2.395 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.08357, allocations: 128.7 kB / 202 MB, free: 2.25 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.08369, allocations: 20 kB / 202.1 MB, free: 2.23 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.08414, allocations: 27.83 kB / 202.1 MB, free: 2.203 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.08422, allocations: 19.92 kB / 202.1 MB, free: 2.184 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.08426, allocations: 8 kB / 202.1 MB, free: 2.176 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0005442/0.08482, allocations: 323.1 kB / 202.4 MB, free: 1.859 MB / 170.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.08484, allocations: 0 / 202.4 MB, free: 1.859 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006371/0.08548, allocations: 131.9 kB / 202.6 MB, free: 1.73 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 (32): * Single equations (assignments): 32 * 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.0001584/0.08566, allocations: 115.1 kB / 202.7 MB, free: 1.609 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.08696, allocations: 0.575 MB / 203.2 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.793e-06/0.08699, allocations: 4.062 kB / 203.3 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.08737, allocations: 131.8 kB / 203.4 MB, free: 0.8633 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.08888, allocations: 233.7 kB / 203.6 MB, free: 0.6367 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1166/0.2055, allocations: 1.062 MB / 204.7 MB, free: 24.07 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.2059, allocations: 0.8246 MB / 205.5 MB, free: 23.36 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.2061, allocations: 46.23 kB / 205.5 MB, free: 23.36 MB / 170.7 MB Notification: Performance of SimCode: time 1.599e-06/0.2061, allocations: 0 / 205.5 MB, free: 23.36 MB / 170.7 MB Notification: Performance of Templates: time 0.01517/0.2213, allocations: 8.212 MB / 213.8 MB, free: 20.46 MB / 170.7 MB