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.SimpleCooling.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: 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.051/1.051, allocations: 111.1 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 12 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06207/0.06238, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.294, allocations: 37.79 MB / 221.8 MB, free: 5.672 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.2943, allocations: 66.81 kB / 221.9 MB, free: 5.664 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03742/0.3318, allocations: 9.391 MB / 231.3 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3318, allocations: 1.422 kB / 231.3 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.692e-05/0.3319, allocations: 8 kB / 231.3 MB, free: 0.8086 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00166/0.3336, allocations: 0.7565 MB / 232 MB, free: 36 kB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3336, allocations: 16.03 kB / 232.1 MB, free: 20 kB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.3339, allocations: 59.39 kB / 232.1 MB, free: 15.96 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009348/0.3348, allocations: 365.7 kB / 232.5 MB, free: 15.61 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.335, allocations: 59.45 kB / 232.5 MB, free: 15.55 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.3352, allocations: 42.08 kB / 232.6 MB, free: 15.52 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.3364, allocations: 483.2 kB / 233 MB, free: 15.11 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3364, allocations: 352 / 233 MB, free: 15.11 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.3365, allocations: 24.06 kB / 233.1 MB, free: 15.1 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3365, allocations: 8 kB / 233.1 MB, free: 15.09 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.3376, allocations: 293.2 kB / 233.4 MB, free: 14.89 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.3412, allocations: 1.373 MB / 234.7 MB, free: 13.73 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.3431, allocations: 421.8 kB / 235.1 MB, free: 13.38 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.3432, allocations: 11.97 kB / 235.2 MB, free: 13.38 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3433, allocations: 38.28 kB / 235.2 MB, free: 13.33 MB / 186.7 MB Notification: Performance of pre-optimization done (n=33): time 3.386e-06/0.3433, allocations: 0 / 235.2 MB, free: 13.33 MB / 186.7 MB Notification: Performance of matching and sorting (n=33): time 0.002076/0.3454, allocations: 0.6183 MB / 235.8 MB, free: 12.78 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/0.3457, allocations: 452.9 kB / 236.3 MB, free: 12.24 MB / 186.7 MB [/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.001044/0.3467, allocations: 467.6 kB / 236.7 MB, free: 11.88 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.3469, allocations: 32.89 kB / 236.7 MB, free: 11.85 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3471, allocations: 275.3 kB / 237 MB, free: 11.64 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.3473, allocations: 107.9 kB / 237.1 MB, free: 11.55 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.3473, allocations: 9.875 kB / 237.1 MB, free: 11.54 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3475, allocations: 325.5 kB / 237.4 MB, free: 11.22 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.348, allocations: 109.3 kB / 237.6 MB, free: 11.15 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.3486, allocations: 257.5 kB / 237.8 MB, free: 10.9 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.3491, allocations: 174.5 kB / 238 MB, free: 10.78 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3492, allocations: 4 kB / 238 MB, free: 10.78 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00127/0.3504, allocations: 400.7 kB / 238.4 MB, free: 10.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.3505, allocations: 37.2 kB / 238.4 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3506, allocations: 3.984 kB / 238.4 MB, free: 10.43 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.3508, allocations: 55.98 kB / 238.5 MB, free: 10.38 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.3515, allocations: 63.95 kB / 238.5 MB, free: 10.32 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.3551, allocations: 2.781 MB / 241.3 MB, free: 7.461 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.3559, allocations: 50.55 kB / 241.4 MB, free: 7.418 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.3559, allocations: 11.5 kB / 241.4 MB, free: 7.41 MB / 186.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 (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 {1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.3565, allocations: 195.5 kB / 241.6 MB, free: 7.238 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.3567, allocations: 47.77 kB / 241.6 MB, free: 7.191 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.3568, allocations: 54.48 kB / 241.7 MB, free: 7.156 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3569, allocations: 7.938 kB / 241.7 MB, free: 7.148 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3569, allocations: 7.922 kB / 241.7 MB, free: 7.141 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.358, allocations: 0.6637 MB / 242.3 MB, free: 6.445 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.3605, allocations: 0.9774 MB / 243.3 MB, free: 5.609 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3606, allocations: 0 / 243.3 MB, free: 5.609 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.3612, allocations: 71.89 kB / 243.4 MB, free: 5.539 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.3613, allocations: 4 kB / 243.4 MB, free: 5.535 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.3613, allocations: 7.297 kB / 243.4 MB, free: 5.531 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3614, allocations: 0 / 243.4 MB, free: 5.531 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.3614, allocations: 4 kB / 243.4 MB, free: 5.527 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3629, allocations: 0.5419 MB / 243.9 MB, free: 5.105 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3633, allocations: 128.1 kB / 244.1 MB, free: 4.969 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.3634, allocations: 7.688 kB / 244.1 MB, free: 4.965 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.3639, allocations: 27.61 kB / 244.1 MB, free: 4.945 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.364, allocations: 15.97 kB / 244.1 MB, free: 4.93 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.364, allocations: 11.62 kB / 244.1 MB, free: 4.922 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0005983/0.3646, allocations: 320.6 kB / 244.4 MB, free: 4.688 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.797e-06/0.3646, allocations: 0 / 244.4 MB, free: 4.688 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007668/0.3654, allocations: 151.1 kB / 244.6 MB, free: 4.551 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 (33): * Single equations (assignments): 33 * 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.0002532/0.3657, allocations: 123.1 kB / 244.7 MB, free: 4.426 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.3673, allocations: 0.5808 MB / 245.3 MB, free: 3.898 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/0.3674, allocations: 4.062 kB / 245.3 MB, free: 3.895 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.3679, allocations: 138.1 kB / 245.4 MB, free: 3.793 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.3703, allocations: 240.2 kB / 245.7 MB, free: 3.602 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.3736, allocations: 1.092 MB / 246.8 MB, free: 2.539 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.3742, allocations: 0.8277 MB / 247.6 MB, free: 1.684 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.3745, allocations: 47.38 kB / 247.6 MB, free: 1.641 MB / 186.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3745, allocations: 0 / 247.6 MB, free: 1.641 MB / 186.7 MB Notification: Performance of Templates: time 0.02002/0.3945, allocations: 8.239 MB / 255.9 MB, free: 9.484 MB / 202.7 MB