Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.574/1.574, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004765, allocations: 12 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08178/0.08229, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.478, allocations: 71.32 MB / 343.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4783, allocations: 79.52 kB / 343.9 MB, free: 2.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0417/0.52, allocations: 9.782 MB / 353.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5201, allocations: 0 / 353.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.477e-05/0.5201, allocations: 12 kB / 353.7 MB, free: 10.38 MB / 282.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.002199/0.5223, allocations: 0.8259 MB / 354.6 MB, free: 9.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5224, allocations: 8.031 kB / 354.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.5226, allocations: 67.23 kB / 354.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.5235, allocations: 380.7 kB / 355 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.5236, allocations: 66.55 kB / 355.1 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.5237, allocations: 38 kB / 355.1 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.5252, allocations: 0.5041 MB / 355.6 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.5252, allocations: 3.938 kB / 355.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.5253, allocations: 18.69 kB / 355.6 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.5253, allocations: 8 kB / 355.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.5269, allocations: 384.8 kB / 356 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.5304, allocations: 1.317 MB / 357.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.5319, allocations: 466 kB / 357.8 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.83e-05/0.532, allocations: 8.078 kB / 357.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.532, allocations: 45.25 kB / 357.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.676e-06/0.532, allocations: 0 / 357.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002978/0.535, allocations: 0.7894 MB / 358.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/0.5353, allocations: 448.9 kB / 359.1 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000843/0.5362, allocations: 450.8 kB / 359.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5363, allocations: 37.39 kB / 359.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.5365, allocations: 273.8 kB / 359.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5367, allocations: 127.1 kB / 359.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.5368, allocations: 5.938 kB / 359.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5369, allocations: 333.5 kB / 360.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/0.5377, allocations: 156.2 kB / 360.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000892/0.5386, allocations: 313.9 kB / 360.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.5394, allocations: 203.6 kB / 360.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5394, allocations: 0 / 360.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001806/0.5412, allocations: 0.4926 MB / 361.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.5413, allocations: 34.8 kB / 361.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5413, allocations: 0 / 361.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.5416, allocations: 56.31 kB / 361.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.5425, allocations: 91.38 kB / 361.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.546, allocations: 2.772 MB / 364.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.5468, allocations: 70.31 kB / 364.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.5469, allocations: 11.56 kB / 364.4 MB, free: 480 kB / 282.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.0003635/0.5473, allocations: 168.6 kB / 364.6 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5474, allocations: 51.44 kB / 364.7 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.5476, allocations: 59.81 kB / 364.7 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5476, allocations: 4 kB / 364.7 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5476, allocations: 0 / 364.7 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.5494, allocations: 0.7837 MB / 365.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.5522, allocations: 1.078 MB / 366.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5523, allocations: 4 kB / 366.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.5532, allocations: 95.86 kB / 366.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.5532, allocations: 7.984 kB / 366.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.5533, allocations: 11.08 kB / 366.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.5533, allocations: 4 kB / 366.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5533, allocations: 11.88 kB / 366.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.5557, allocations: 0.7181 MB / 367.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.556, allocations: 130.1 kB / 367.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.5561, allocations: 10.56 kB / 367.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.5567, allocations: 42.8 kB / 367.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5568, allocations: 24.97 kB / 367.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.5569, allocations: 6 kB / 367.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006009/0.5575, allocations: 323.4 kB / 368 MB, free: 13.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5575, allocations: 0 / 368 MB, free: 13.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007204/0.5582, allocations: 141.5 kB / 368.1 MB, free: 13.3 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 () * 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.0002426/0.5585, allocations: 126.9 kB / 368.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.5607, allocations: 0.6949 MB / 368.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5607, allocations: 0 / 368.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007873/0.5615, allocations: 210.5 kB / 369.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5625, allocations: 123.7 kB / 369.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.5654, allocations: 1.191 MB / 370.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.566, allocations: 0.8394 MB / 371.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.5663, allocations: 43.42 kB / 371.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5663, allocations: 4 kB / 371.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Templates: time 0.01936/0.5857, allocations: 8.485 MB / 379.8 MB, free: 1.844 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