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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.647/1.647, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.553e-05/1.564e-05, allocations: 4 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06969/0.06973, allocations: 38.76 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/0.3474, allocations: 70.59 MB / 331.9 MB, free: 1.438 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.3477, allocations: 70.66 kB / 331.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03882/0.3866, allocations: 9.653 MB / 341.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.3866, allocations: 0 / 341.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.017e-05/0.3867, allocations: 15.98 kB / 341.6 MB, free: 9.469 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.001469/0.3881, allocations: 0.7305 MB / 342.3 MB, free: 8.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3882, allocations: 8.031 kB / 342.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.3884, allocations: 73.98 kB / 342.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.3891, allocations: 385.5 kB / 342.8 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3893, allocations: 50.47 kB / 342.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.3894, allocations: 24.28 kB / 342.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006959/0.3901, allocations: 266.6 kB / 343.1 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.3909, allocations: 401.9 kB / 343.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3909, allocations: 7.984 kB / 343.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.391, allocations: 4 kB / 343.5 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.391, allocations: 8 kB / 343.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.3938, allocations: 1.227 MB / 344.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000964/0.3948, allocations: 419.8 kB / 345.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.3951, allocations: 147.3 kB / 345.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.3952, allocations: 11.42 kB / 345.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.3952, allocations: 37.56 kB / 345.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.961e-06/0.3952, allocations: 0 / 345.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.001014/0.3963, allocations: 376.2 kB / 345.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002509/0.3965, allocations: 449 kB / 346.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.3971, allocations: 346 kB / 346.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.3972, allocations: 29.7 kB / 346.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.3974, allocations: 283 kB / 346.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.3976, allocations: 126.7 kB / 346.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.3976, allocations: 0 / 346.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3978, allocations: 325.9 kB / 347.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.3981, allocations: 99.5 kB / 347.3 MB, free: 4.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.3985, allocations: 241.9 kB / 347.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3988, allocations: 127 kB / 347.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3989, allocations: 4 kB / 347.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009803/0.3999, allocations: 358.4 kB / 348.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.3999, allocations: 33.7 kB / 348.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.175e-06/0.3999, allocations: 0 / 348.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.4003, allocations: 59.09 kB / 348.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.4009, allocations: 95.38 kB / 348.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.4039, allocations: 2.632 MB / 350.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.4045, allocations: 47.7 kB / 350.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.4046, allocations: 19.86 kB / 350.9 MB, free: 0.8281 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) 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 () * 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.0002513/0.4048, allocations: 124.9 kB / 351.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.405, allocations: 47.67 kB / 351.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.4051, allocations: 49.2 kB / 351.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4051, allocations: 7.984 kB / 351.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.4052, allocations: 0 / 351.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000911/0.4061, allocations: 0.6533 MB / 351.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.4079, allocations: 0.9079 MB / 352.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.69e-06/0.4079, allocations: 0 / 352.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.4086, allocations: 99.75 kB / 352.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.184e-06/0.4086, allocations: 4 kB / 352.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.4087, allocations: 3.984 kB / 352.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.347e-06/0.4087, allocations: 4 kB / 352.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-06/0.4087, allocations: 0 / 352.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4098, allocations: 0.5597 MB / 353.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.41, allocations: 126.8 kB / 353.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.4101, allocations: 0 / 353.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.4105, allocations: 32.03 kB / 353.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.4106, allocations: 31.36 kB / 353.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.4107, allocations: 15.81 kB / 353.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000437/0.4112, allocations: 276.2 kB / 353.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4112, allocations: 0 / 353.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006415/0.4118, allocations: 127.7 kB / 354 MB, free: 14.11 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.0002124/0.412, allocations: 119.2 kB / 354.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.4132, allocations: 0.5535 MB / 354.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.98e-06/0.4132, allocations: 4 kB / 354.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.4135, allocations: 143.9 kB / 354.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.4143, allocations: 113.2 kB / 354.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4161, allocations: 0.6839 MB / 355.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.4167, allocations: 0.8352 MB / 356.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.4169, allocations: 43.42 kB / 356.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.751e-06/0.4169, allocations: 0 / 356.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01563/0.4326, allocations: 8.26 MB / 364.7 MB, free: 3.266 MB / 298.7 MB "" Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,ambient1.T,ambient1.TAmbient,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.h,ambient1.medium.cp,ambient1.medium.cv,ambient1.medium.lamda,ambient1.medium.nue,ambient1.medium.rho,ambient1.pAmbient,ambient1.usePressureInput,ambient1.useTemperatureInput,ambient2.T,ambient2.TAmbient,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.h,ambient2.medium.cp,ambient2.medium.cv,ambient2.medium.lamda,ambient2.medium.nue,ambient2.medium.rho,ambient2.pAmbient,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.T_q,pipe.V_flow,pipe.V_flowLaminar,pipe.V_flowNominal,pipe.dT,der(pipe.T),pipe.dp,pipe.dpLaminar,pipe.dpNomMin,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,pipe.h_g,pipe.heatPort.Q_flow,pipe.heatPort.T,pipe.k,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.T_q,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.h,pump.internalVolumeFlow,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