Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 44.5 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4952, allocations: 76.66 MB / 385.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4954, allocations: 76.52 kB / 385.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03582/0.5313, allocations: 9.81 MB / 395 MB, free: 17.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.479e-06/0.5313, allocations: 0 / 395 MB, free: 17.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.214e-05/0.5314, allocations: 7.531 kB / 395 MB, free: 17.65 MB / 314.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.001529/0.5329, allocations: 0.82 MB / 395.8 MB, free: 17.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.533, allocations: 14.5 kB / 395.8 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.5331, allocations: 58.41 kB / 395.9 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.5338, allocations: 394.3 kB / 396.3 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.534, allocations: 60.56 kB / 396.3 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.534, allocations: 38.31 kB / 396.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.5351, allocations: 0.5005 MB / 396.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.5351, allocations: 4 kB / 396.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.5352, allocations: 21.78 kB / 396.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.894e-06/0.5352, allocations: 7.594 kB / 396.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5363, allocations: 388 kB / 397.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.539, allocations: 1.314 MB / 398.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.5404, allocations: 0.5045 MB / 399.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.5405, allocations: 3.812 kB / 399.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.5405, allocations: 45.66 kB / 399.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.617e-06/0.5406, allocations: 0 / 399.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002173/0.5427, allocations: 0.7984 MB / 399.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.5429, allocations: 455.4 kB / 400.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.5435, allocations: 398.1 kB / 400.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.5436, allocations: 36.45 kB / 400.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5437, allocations: 278.1 kB / 401.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.5439, allocations: 126.3 kB / 401.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.5439, allocations: 7.5 kB / 401.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.544, allocations: 328.8 kB / 401.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.5445, allocations: 162.7 kB / 401.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.5452, allocations: 294.9 kB / 402 MB, free: 14.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/0.5458, allocations: 212.6 kB / 402.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.536e-06/0.5458, allocations: 4 kB / 402.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001446/0.5472, allocations: 494.5 kB / 402.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.5473, allocations: 30.8 kB / 402.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.342e-06/0.5473, allocations: 1.844 kB / 402.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.5475, allocations: 54.28 kB / 402.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.5481, allocations: 94.09 kB / 402.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5505, allocations: 2.778 MB / 405.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.5511, allocations: 57.56 kB / 405.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.5512, allocations: 11.53 kB / 405.7 MB, free: 11.45 MB / 314.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 () * Number of clocked 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.0003037/0.5515, allocations: 180 kB / 405.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5516, allocations: 54.38 kB / 405.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.5518, allocations: 59.88 kB / 406 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.466e-06/0.5518, allocations: 7.828 kB / 406 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-06/0.5518, allocations: 0 / 406 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.553, allocations: 0.7708 MB / 406.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5552, allocations: 1.081 MB / 407.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.809e-06/0.5553, allocations: 7.891 kB / 407.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.5559, allocations: 95.64 kB / 407.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.058e-06/0.556, allocations: 0 / 407.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.556, allocations: 15.16 kB / 408 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.545e-06/0.556, allocations: 0 / 408 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-06/0.556, allocations: 0 / 408 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.5579, allocations: 0.7206 MB / 408.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.5581, allocations: 139.9 kB / 408.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5582, allocations: 11.28 kB / 408.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.5587, allocations: 36.8 kB / 408.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.5588, allocations: 26.72 kB / 408.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5589, allocations: 11.19 kB / 408.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004736/0.5593, allocations: 316.9 kB / 409.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.5594, allocations: 0 / 409.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.5601, allocations: 154 kB / 409.4 MB, free: 9.953 MB / 314.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 (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.0001971/0.5603, allocations: 125.6 kB / 409.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.5618, allocations: 0.6788 MB / 410.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.098e-06/0.5619, allocations: 0 / 410.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.5625, allocations: 208.6 kB / 410.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.5634, allocations: 128.6 kB / 410.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.5657, allocations: 1.184 MB / 411.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.566, allocations: 0.8425 MB / 412.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.5663, allocations: 42.41 kB / 412.6 MB, free: 8.156 MB / 314.7 MB Notification: Performance of SimCode: time 2.101e-06/0.5663, allocations: 3.906 kB / 412.6 MB, free: 8.156 MB / 314.7 MB Notification: Performance of Templates: time 0.01328/0.5796, allocations: 8.541 MB / 421.1 MB, free: 4.184 MB / 314.7 MB "Error: Could not read variable ambient1.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable ambient1.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable ambient2.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable ambient2.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.dpNomMin in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.dpNomMin from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.h from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pipe.k in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pipe.k from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pump.T_q in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pump.T_q from file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat failed! Error: Could not read variable pump.h in file Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat. Warning: Get data of variable pump.h from file Modelica_3.2.2_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