Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.121e-05, allocations: 7.984 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.3154, allocations: 71.25 MB / 338.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.3157, allocations: 71.97 kB / 338.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03953/0.3552, allocations: 9.755 MB / 348.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.3553, allocations: 0 / 348.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.848e-05/0.3553, allocations: 12 kB / 348.7 MB, free: 8.176 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001485/0.3568, allocations: 0.7375 MB / 349.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3569, allocations: 8.031 kB / 349.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3571, allocations: 67.25 kB / 349.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.3578, allocations: 377.8 kB / 349.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.358, allocations: 66.81 kB / 349.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.3581, allocations: 39.95 kB / 350 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.359, allocations: 458.9 kB / 350.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3591, allocations: 0 / 350.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.3591, allocations: 16 kB / 350.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3592, allocations: 8 kB / 350.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.3599, allocations: 283.1 kB / 350.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.3631, allocations: 1.331 MB / 352 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3642, allocations: 436.7 kB / 352.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.3647, allocations: 164.8 kB / 352.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.3647, allocations: 4 kB / 352.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.3648, allocations: 46.56 kB / 352.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 4.491e-06/0.3648, allocations: 0 / 352.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001177/0.366, allocations: 398.6 kB / 353.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002592/0.3663, allocations: 445 kB / 353.5 MB, free: 2.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.367, allocations: 395.2 kB / 353.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.3671, allocations: 37.7 kB / 353.9 MB, free: 2.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.3673, allocations: 270.9 kB / 354.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.3675, allocations: 130 kB / 354.3 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.3675, allocations: 8 kB / 354.3 MB, free: 2.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3677, allocations: 330.8 kB / 354.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.368, allocations: 108 kB / 354.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.3685, allocations: 250.5 kB / 355 MB, free: 1.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.3689, allocations: 167.8 kB / 355.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.671e-06/0.369, allocations: 4 kB / 355.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001105/0.3701, allocations: 416.6 kB / 355.6 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.3701, allocations: 33.69 kB / 355.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3702, allocations: 0 / 355.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.3705, allocations: 57.69 kB / 355.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.3711, allocations: 99.91 kB / 355.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1811/0.5522, allocations: 2.724 MB / 358.5 MB, free: 75.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.5529, allocations: 67.28 kB / 358.5 MB, free: 75.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.553, allocations: 12.8 kB / 358.6 MB, free: 75.22 MB / 298.7 MB 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 (40): * Single equations (assignments): 37 * 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.0001595/0.5532, allocations: 133 kB / 358.7 MB, free: 75.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5533, allocations: 56.27 kB / 358.7 MB, free: 75.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.5535, allocations: 58.64 kB / 358.8 MB, free: 75.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.045e-06/0.5535, allocations: 3.844 kB / 358.8 MB, free: 75.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.149e-06/0.5535, allocations: 1.109 kB / 358.8 MB, free: 75.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008368/0.5543, allocations: 0.678 MB / 359.5 MB, free: 74.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.5563, allocations: 0.9878 MB / 360.5 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-06/0.5563, allocations: 0.9844 kB / 360.5 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.557, allocations: 99.7 kB / 360.6 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.239e-06/0.557, allocations: 1.375 kB / 360.6 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.5571, allocations: 10.2 kB / 360.6 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5571, allocations: 1.375 kB / 360.6 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.642e-06/0.5571, allocations: 3.75 kB / 360.6 MB, free: 74.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5582, allocations: 0.5855 MB / 361.2 MB, free: 74.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5584, allocations: 138.7 kB / 361.3 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.5585, allocations: 11.28 kB / 361.3 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.559, allocations: 35.5 kB / 361.3 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.5591, allocations: 26.38 kB / 361.4 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.5591, allocations: 10.12 kB / 361.4 MB, free: 73.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004911/0.5596, allocations: 318.9 kB / 361.7 MB, free: 73.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5596, allocations: 0 / 361.7 MB, free: 73.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006319/0.5603, allocations: 138.5 kB / 361.8 MB, free: 73.84 MB / 298.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 (38): * Single equations (assignments): 38 * 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.0001833/0.5605, allocations: 128.5 kB / 362 MB, free: 73.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.5615, allocations: 0.5888 MB / 362.5 MB, free: 73.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5615, allocations: 0 / 362.5 MB, free: 73.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.5619, allocations: 150.9 kB / 362.7 MB, free: 73.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.5627, allocations: 128.9 kB / 362.8 MB, free: 73.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.5642, allocations: 0.7006 MB / 363.5 MB, free: 73.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5646, allocations: 0.8409 MB / 364.4 MB, free: 72.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.5648, allocations: 49.28 kB / 364.4 MB, free: 72.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.073e-06/0.5648, allocations: 0 / 364.4 MB, free: 72.5 MB / 298.7 MB Notification: Performance of Templates: time 0.01274/0.5775, allocations: 8.493 MB / 372.9 MB, free: 69.79 MB / 298.7 MB "Error: Could not read variable ambient1.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable ambient1.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable ambient2.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable ambient2.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.dpNomMin in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.dpNomMin from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.k in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.k from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pump.T_q in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pump.T_q from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pump.h in file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pump.h from file Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! " Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,ambient1.T,ambient1.T_port,ambient1.constantAmbientPressure,ambient1.constantAmbientTemperature,ambient1.flowPort.H_flow,ambient1.flowPort.h,ambient1.flowPort.m_flow,ambient1.flowPort.medium.cp,ambient1.flowPort.medium.cv,ambient1.flowPort.medium.lamda,ambient1.flowPort.medium.nue,ambient1.flowPort.medium.rho,ambient1.flowPort.p,ambient1.medium.cp,ambient1.medium.cv,ambient1.medium.lamda,ambient1.medium.nue,ambient1.medium.rho,ambient1.usePressureInput,ambient1.useTemperatureInput,ambient2.T,ambient2.T_port,ambient2.constantAmbientPressure,ambient2.constantAmbientTemperature,ambient2.flowPort.H_flow,ambient2.flowPort.h,ambient2.flowPort.m_flow,ambient2.flowPort.medium.cp,ambient2.flowPort.medium.cv,ambient2.flowPort.medium.lamda,ambient2.flowPort.medium.nue,ambient2.flowPort.medium.rho,ambient2.flowPort.p,ambient2.medium.cp,ambient2.medium.cv,ambient2.medium.lamda,ambient2.medium.nue,ambient2.medium.rho,ambient2.usePressureInput,ambient2.useTemperatureInput,convection.Gc,convection.Q_flow,convection.dT,convection.fluid.Q_flow,convection.fluid.T,convection.solid.Q_flow,convection.solid.T,dTCoolant,dTSource,dTtoPipe,heatCapacitor.C,heatCapacitor.T,der(heatCapacitor.T),heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,heatFlow.k,heatFlow.y,medium.cp,medium.cv,medium.lamda,medium.nue,medium.rho,pipe.Q_flow,pipe.Q_friction,pipe.T,pipe.T0,pipe.T0fixed,pipe.T_a,pipe.T_b,pipe.V_flow,pipe.V_flowLaminar,pipe.V_flowNominal,pipe.dT,der(pipe.T),pipe.dp,pipe.dpLaminar,pipe.dpNominal,pipe.flowPort_a.H_flow,pipe.flowPort_a.h,pipe.flowPort_a.m_flow,pipe.flowPort_a.medium.cp,pipe.flowPort_a.medium.cv,pipe.flowPort_a.medium.lamda,pipe.flowPort_a.medium.nue,pipe.flowPort_a.medium.rho,pipe.flowPort_a.p,pipe.flowPort_b.H_flow,pipe.flowPort_b.h,pipe.flowPort_b.m_flow,pipe.flowPort_b.medium.cp,pipe.flowPort_b.medium.cv,pipe.flowPort_b.medium.lamda,pipe.flowPort_b.medium.nue,pipe.flowPort_b.medium.rho,pipe.flowPort_b.p,pipe.frictionLoss,pipe.h_g,pipe.heatPort.Q_flow,pipe.heatPort.T,pipe.m,pipe.medium.cp,pipe.medium.cv,pipe.medium.lamda,pipe.medium.nue,pipe.medium.rho,pipe.pressureDrop,pipe.tapT,pipe.volumeFlow,prescribedHeatFlow.Q_flow,prescribedHeatFlow.T_ref,prescribedHeatFlow.alpha,prescribedHeatFlow.port.Q_flow,prescribedHeatFlow.port.T,pump.Q_flow,pump.T,pump.T0,pump.T0fixed,pump.T_a,pump.T_b,pump.V_flow,pump.constantVolumeFlow,pump.dT,pump.dp,pump.flowPort_a.H_flow,pump.flowPort_a.h,pump.flowPort_a.m_flow,pump.flowPort_a.medium.cp,pump.flowPort_a.medium.cv,pump.flowPort_a.medium.lamda,pump.flowPort_a.medium.nue,pump.flowPort_a.medium.rho,pump.flowPort_a.p,pump.flowPort_b.H_flow,pump.flowPort_b.h,pump.flowPort_b.m_flow,pump.flowPort_b.medium.cp,pump.flowPort_b.medium.cv,pump.flowPort_b.medium.lamda,pump.flowPort_b.medium.nue,pump.flowPort_b.medium.rho,pump.flowPort_b.p,pump.m,pump.medium.cp,pump.medium.cv,pump.medium.lamda,pump.medium.nue,pump.medium.rho,pump.tapT,pump.useVolumeFlowInput,pump.volumeFlow,thermalConductance.k,thermalConductance.y,time,volumeFlow.add.k1,volumeFlow.add.k2,volumeFlow.add.u1,volumeFlow.add.u2,volumeFlow.add.y,volumeFlow.duration_1,volumeFlow.duration_2,volumeFlow.height_1,volumeFlow.height_2,volumeFlow.interval,volumeFlow.offset,volumeFlow.ramp1.duration,volumeFlow.ramp1.height,volumeFlow.ramp1.offset,volumeFlow.ramp1.startTime,volumeFlow.ramp1.y,volumeFlow.ramp2.duration,volumeFlow.ramp2.height,volumeFlow.ramp2.offset,volumeFlow.ramp2.startTime,volumeFlow.ramp2.y,volumeFlow.startTime,volumeFlow.y